From 4ab93d52285bf072cea05ceac5333a1587c9980b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 7 May 2024 12:55:09 +0300 Subject: ME_DB_EVENT_SETJSON - separate event fired when only the JSON part of event is changed --- src/mir_app/src/db_intf.cpp | 2 ++ src/mir_app/src/mir_app.def | 1 + src/mir_app/src/mir_app64.def | 1 + 3 files changed, 4 insertions(+) (limited to 'src') 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 -- cgit v1.2.3