summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-05-07 12:55:09 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-05-07 12:55:09 +0300
commit4ab93d52285bf072cea05ceac5333a1587c9980b (patch)
treef2a81f667f407a553eefed75a6490abe9b17a731 /src/mir_app
parent3cac3160302a2936d04c87c1f7f03fc400449778 (diff)
ME_DB_EVENT_SETJSON - separate event fired when only the JSON part of event is changed
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/db_intf.cpp2
-rw-r--r--src/mir_app/src/mir_app.def1
-rw-r--r--src/mir_app/src/mir_app64.def1
3 files changed, 4 insertions, 0 deletions
diff --git a/src/mir_app/src/db_intf.cpp b/src/mir_app/src/db_intf.cpp
index f3b445a4fa..082eea3fe6 100644
--- a/src/mir_app/src/db_intf.cpp
+++ b/src/mir_app/src/db_intf.cpp
@@ -71,6 +71,7 @@ MIR_APP_EXPORT HANDLE
g_hevMarkedRead, // ME_DB_EVENT_MARKED_READ
g_hevEventAdded, // ME_DB_EVENT_ADDED
g_hevEventEdited, // ME_DB_EVENT_EDITED
+ g_hevEventSetJson, // ME_DB_EVENT_SETJSON
g_hevEventDeleted, // ME_DB_EVENT_DELETED
g_hevEventDelivered, // ME_DB_EVENT_DELIVERED
g_hevEventFiltered;
@@ -86,6 +87,7 @@ int LoadDbintfModule()
g_hevEventAdded = CreateHookableEvent(ME_DB_EVENT_ADDED);
g_hevEventEdited = CreateHookableEvent(ME_DB_EVENT_EDITED);
g_hevEventDeleted = CreateHookableEvent(ME_DB_EVENT_DELETED);
+ g_hevEventSetJson = CreateHookableEvent(ME_DB_EVENT_SETJSON);
g_hevEventDelivered = CreateHookableEvent(ME_DB_EVENT_DELIVERED);
g_hevEventFiltered = CreateHookableEvent(ME_DB_EVENT_FILTER_ADD);
diff --git a/src/mir_app/src/mir_app.def b/src/mir_app/src/mir_app.def
index d557bce2dd..33fdcbda22 100644
--- a/src/mir_app/src/mir_app.def
+++ b/src/mir_app/src/mir_app.def
@@ -970,3 +970,4 @@ _Netlib_DownloadFile@20 @1099 NONAME
?getEvent@EventInfo@DB@@QBEIXZ @1106 NONAME
?GetPreviewPath@PROTO_INTERFACE@@QBE?AV?$CMStringT@_WV?$ChTraitsCRT@_W@@@@XZ @1107 NONAME
g_hevEventDelivered @1108 NONAME
+g_hevEventSetJson @1109 NONAME
diff --git a/src/mir_app/src/mir_app64.def b/src/mir_app/src/mir_app64.def
index 575e6f63f0..567e6bc7c0 100644
--- a/src/mir_app/src/mir_app64.def
+++ b/src/mir_app/src/mir_app64.def
@@ -970,3 +970,4 @@ Netlib_DownloadFile @1093 NONAME
?getEvent@EventInfo@DB@@QEBAIXZ @1100 NONAME
?GetPreviewPath@PROTO_INTERFACE@@QEBA?AV?$CMStringT@_WV?$ChTraitsCRT@_W@@@@XZ @1101 NONAME
g_hevEventDelivered @1102 NONAME
+g_hevEventSetJson @1103 NONAME