From 377d84e3a4c8d4457eb6d95debd4113d4a80d31c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 8 Apr 2013 15:48:19 +0000 Subject: - dynamic MirVer monitor; - core reordering git-svn-id: http://svn.miranda-ng.org/main/trunk@4392 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/FingerprintNG/src/main.cpp | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'plugins/FingerprintNG/src/main.cpp') diff --git a/plugins/FingerprintNG/src/main.cpp b/plugins/FingerprintNG/src/main.cpp index 3d62e30240..ce92350c51 100644 --- a/plugins/FingerprintNG/src/main.cpp +++ b/plugins/FingerprintNG/src/main.cpp @@ -58,28 +58,11 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda return &pluginInfoEx; } -static int OnPreShutdown(WPARAM wParam, LPARAM lParam) -{ - if (ServiceExists(MS_MSG_REMOVEICON)) { - StatusIconData sid = { sizeof(sid) }; - sid.szModule = MODULENAME; - CallService(MS_MSG_REMOVEICON, 0, (LPARAM)&sid); - } - - return 0; -} - extern "C" int __declspec(dllexport) Load(void) { mir_getLP(&pluginInfoEx); - HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded); - HookEvent(ME_SYSTEM_PRESHUTDOWN, OnPreShutdown); - - CreateServiceFunction(MS_FP_SAMECLIENTS, ServiceSameClientsA); - CreateServiceFunction(MS_FP_GETCLIENTICON, ServiceGetClientIconA); - CreateServiceFunction(MS_FP_SAMECLIENTSW, ServiceSameClientsW); - CreateServiceFunction(MS_FP_GETCLIENTICONW, ServiceGetClientIconW); + InitFingerModule(); return 0; } -- cgit v1.2.3