summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Faure <jbfaure@libreoffice.org>2017-03-27 22:08:26 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2017-03-29 17:32:04 +0000
commit87f0803d1dfb0244ea2a473b55e87f6f2f1e8670 (patch)
treee0164056801de41311d94a10fbed5a541fe7990e
parent10fc6e968827d6ce0cbe8517d7e39e2435ef4680 (diff)
tdf#105843 : restore Application Start and Stop events
Change-Id: Ifc99fcf84182edb49cac741f7bb10a1b239d5703 Reviewed-on: https://gerrit.libreoffice.org/35779 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit 7c0054f1b7c3c475bff7a5adfdea0feaecf20748) Reviewed-on: https://gerrit.libreoffice.org/35812 Reviewed-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit 98399c291239e309769fe9a1099655343b21ccd2) Reviewed-on: https://gerrit.libreoffice.org/35835 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Reviewed-by: Jean-Baptiste Faure <jbfaure@libreoffice.org> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
-rw-r--r--include/unotools/eventcfg.hxx2
-rw-r--r--unotools/source/config/eventcfg.cxx2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/unotools/eventcfg.hxx b/include/unotools/eventcfg.hxx
index 03ccdd4181d2..51f54ccd4dda 100644
--- a/include/unotools/eventcfg.hxx
+++ b/include/unotools/eventcfg.hxx
@@ -31,6 +31,8 @@
enum class GlobalEventId
{
+ STARTAPP,
+ CLOSEAPP,
DOCCREATED,
CREATEDOC,
LOADFINISHED,
diff --git a/unotools/source/config/eventcfg.cxx b/unotools/source/config/eventcfg.cxx
index f9e846ea2bf6..fe14059ab05f 100644
--- a/unotools/source/config/eventcfg.cxx
+++ b/unotools/source/config/eventcfg.cxx
@@ -46,6 +46,8 @@ using namespace ::com::sun::star;
static o3tl::enumarray<GlobalEventId, const char*> pEventAsciiNames =
{
+"OnStartApp",
+"OnCloseApp",
"OnCreate",
"OnNew",
"OnLoadFinished",