summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber.cpp
diff options
context:
space:
mode:
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);