summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clistmod.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-04-23 08:32:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-04-23 08:32:10 +0000
commite13abbf0f5a4bcef939e4e32e06a7e8e74e72465 (patch)
tree6620ea1f00a5506a1175344106014b00c1206c90 /plugins/Clist_modern/src/modern_clistmod.cpp
parent78a92aad0e3c2941b11b3115d9fd7aae44e5fc37 (diff)
- clist_modern switched to the core wildcmp[i] functions
- fixed chinese in skin options git-svn-id: http://svn.miranda-ng.org/main/trunk@4512 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clistmod.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clistmod.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/plugins/Clist_modern/src/modern_clistmod.cpp b/plugins/Clist_modern/src/modern_clistmod.cpp
index fdc095d935..52989a59bc 100644
--- a/plugins/Clist_modern/src/modern_clistmod.cpp
+++ b/plugins/Clist_modern/src/modern_clistmod.cpp
@@ -36,11 +36,6 @@ pfnMyGetMonitorInfo MyGetMonitorInfo = NULL;
int OnLoadLangpack(WPARAM, LPARAM);
-static HANDLE hookSystemShutdown_CListMod = NULL;
-HANDLE hookOptInitialise_CList = NULL,
- hookOptInitialise_Skin = NULL,
- hookContactAdded_CListSettings = NULL;
-
int CListMod_HideWindow(HWND hwndContactList, int mode);
void GroupMenus_Init(void);
@@ -227,15 +222,15 @@ INT_PTR SvcApplySkin(WPARAM wParam, LPARAM lParam);
HRESULT CluiLoadModule()
{
InitDisplayNameCache();
- hookSystemShutdown_CListMod = HookEvent(ME_SYSTEM_SHUTDOWN,CListMod_ContactListShutdownProc);
- hookOptInitialise_CList = HookEvent(ME_OPT_INITIALISE,CListOptInit);
- hookOptInitialise_Skin = HookEvent(ME_OPT_INITIALISE,SkinOptInit);
+ HookEvent(ME_SYSTEM_SHUTDOWN,CListMod_ContactListShutdownProc);
+ HookEvent(ME_OPT_INITIALISE,CListOptInit);
+ HookEvent(ME_OPT_INITIALISE,SkinOptInit);
CreateServiceFunction("ModernSkinSel/Active", SvcActiveSkin);
CreateServiceFunction("ModernSkinSel/Preview", SvcPreviewSkin);
CreateServiceFunction("ModernSkinSel/Apply", SvcApplySkin);
- hookContactAdded_CListSettings = HookEvent(ME_DB_CONTACT_ADDED,ContactAdded);
+ HookEvent(ME_DB_CONTACT_ADDED,ContactAdded);
CreateServiceFunction(MS_CLIST_TRAYICONPROCESSMESSAGE,cli_TrayIconProcessMessage);
CreateServiceFunction(MS_CLIST_PAUSEAUTOHIDE,TrayIconPauseAutoHide);
CreateServiceFunction(MS_CLIST_CONTACTCHANGEGROUP,ContactChangeGroup);