summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-04-19 20:35:05 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-04-19 20:35:05 +0300
commit60f23bc1bdd2036987da18b3231da17b7a049299 (patch)
tree5d26de6e0d6117ed51a2e562520bd0aa0efc99c8 /protocols/JabberG/src/jabber.cpp
parent86a8b98128703f60973cfa2a22e3517dc59b86c4 (diff)
quick-n-dirty way to signalize that a file is loaded
Diffstat (limited to 'protocols/JabberG/src/jabber.cpp')
-rw-r--r--protocols/JabberG/src/jabber.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber.cpp b/protocols/JabberG/src/jabber.cpp
index e65d2688cc..84cbfe2c4e 100644
--- a/protocols/JabberG/src/jabber.cpp
+++ b/protocols/JabberG/src/jabber.cpp
@@ -36,6 +36,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#pragma comment(lib, "Secur32.lib")
HMODULE hMsftedit;
+HANDLE g_hevEventEdited;
CMPlugin g_plugin;
@@ -122,11 +123,13 @@ static int OnModulesLoaded(WPARAM, LPARAM)
int CMPlugin::Load()
{
#ifdef _WIN64
- bPlatform = true;
+ bPlatform = true;
#else
- bPlatform = false;
+ bPlatform = false;
#endif
+ g_hevEventEdited = CreateHookableEvent(ME_DB_EVENT_EDITED);
+
Miranda_GetVersionText(szCoreVersion, _countof(szCoreVersion));
CallService(MS_UTILS_GETCOUNTRYLIST, (WPARAM)&g_cbCountries, (LPARAM)&g_countries);