summaryrefslogtreecommitdiff
path: root/init.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-07-18 18:05:52 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-07-18 18:05:52 +0300
commit5017949ed6a24c623c895b02673d2ff5272fc7bf (patch)
tree883ddf8095bec612ae566aa72cf591511d96dced /init.cpp
parent8ef72578611917675179230aec4a6956463ef39a (diff)
modified: globals.h
modified: init.cpp modified: ui.cpp
Diffstat (limited to 'init.cpp')
-rw-r--r--init.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.cpp b/init.cpp
index 4016b8a..1cfdc3c 100644
--- a/init.cpp
+++ b/init.cpp
@@ -18,7 +18,7 @@
HINSTANCE hInst;
-static HANDLE hAccountsChanges, hDbContactAdded;
+static HANDLE hAccountsChanges, hDbContactAdded, hTabsrmmButtonPressed;
PLUGINLINK *pluginLink;
static int OnModulesLoaded(WPARAM wParam,LPARAM lParam);
extern char *date();
@@ -92,6 +92,7 @@ extern int JuickOptInit(WPARAM wParam,LPARAM lParam);
extern int GetJabberInterface(WPARAM, LPARAM);
extern int HandleDbNewContact(WPARAM w, LPARAM l);
extern int HandleDbContactDeleted(WPARAM w, LPARAM l);
+extern int HandleTabsrmmButtonPressed(WPARAM l, LPARAM w);
extern void FindJuickAccounts();
extern int CreateButtons();
static int OnModulesLoaded(WPARAM wParam,LPARAM lParam)
@@ -101,6 +102,7 @@ static int OnModulesLoaded(WPARAM wParam,LPARAM lParam)
hAccountsChanges = HookEvent(ME_PROTO_ACCLISTCHANGED, GetJabberInterface);
hDbContactAdded = HookEvent(ME_DB_CONTACT_ADDED, HandleDbNewContact);
hDbContactAdded = HookEvent(ME_DB_CONTACT_DELETED, HandleDbContactDeleted);
+ hTabsrmmButtonPressed = HookEvent(ME_MSG_BUTTONPRESSED, HandleTabsrmmButtonPressed);
FindJuickAccounts();
CreateButtons();
return 0;