diff options
Diffstat (limited to 'init.cpp')
-rw-r--r-- | init.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |