summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-04-17 20:00:05 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-04-17 20:00:05 +0300
commit366b12a36bf052025bce085d2859486e0318231c (patch)
tree7f6aee056041cd2892ed120a74aacc8206969351 /src/mir_app
parent59a8c98ac4f4b208a27eed43cc860c8e5a9c799b (diff)
db_event_delivered + ME_DB_EVENT_DELIVERED = helper & hookable event to catch event's delivery to a server
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 6207dedeab..f3b445a4fa 100644
--- a/src/mir_app/src/db_intf.cpp
+++ b/src/mir_app/src/db_intf.cpp
@@ -72,6 +72,7 @@ MIR_APP_EXPORT HANDLE
g_hevEventAdded, // ME_DB_EVENT_ADDED
g_hevEventEdited, // ME_DB_EVENT_EDITED
g_hevEventDeleted, // ME_DB_EVENT_DELETED
+ g_hevEventDelivered, // ME_DB_EVENT_DELIVERED
g_hevEventFiltered;
int LoadDbintfModule()
@@ -85,6 +86,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_hevEventDelivered = CreateHookableEvent(ME_DB_EVENT_DELIVERED);
g_hevEventFiltered = CreateHookableEvent(ME_DB_EVENT_FILTER_ADD);
while (!_waccess(L"libmdbx.mir", 0)) {
diff --git a/src/mir_app/src/mir_app.def b/src/mir_app/src/mir_app.def
index f2511af7d7..d557bce2dd 100644
--- a/src/mir_app/src/mir_app.def
+++ b/src/mir_app/src/mir_app.def
@@ -969,3 +969,4 @@ _Netlib_DownloadFile@20 @1099 NONAME
?MarkEventRead@CSrmmBaseDialog@@QAEXABVEventInfo@DB@@@Z @1105 NONAME
?getEvent@EventInfo@DB@@QBEIXZ @1106 NONAME
?GetPreviewPath@PROTO_INTERFACE@@QBE?AV?$CMStringT@_WV?$ChTraitsCRT@_W@@@@XZ @1107 NONAME
+g_hevEventDelivered @1108 NONAME
diff --git a/src/mir_app/src/mir_app64.def b/src/mir_app/src/mir_app64.def
index 9fbb61bf87..575e6f63f0 100644
--- a/src/mir_app/src/mir_app64.def
+++ b/src/mir_app/src/mir_app64.def
@@ -969,3 +969,4 @@ Netlib_DownloadFile @1093 NONAME
?MarkEventRead@CSrmmBaseDialog@@QEAAXAEBVEventInfo@DB@@@Z @1099 NONAME
?getEvent@EventInfo@DB@@QEBAIXZ @1100 NONAME
?GetPreviewPath@PROTO_INTERFACE@@QEBA?AV?$CMStringT@_WV?$ChTraitsCRT@_W@@@@XZ @1101 NONAME
+g_hevEventDelivered @1102 NONAME