diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-08 15:48:19 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-08 15:48:19 +0000 |
commit | 377d84e3a4c8d4457eb6d95debd4113d4a80d31c (patch) | |
tree | 9a1a086be4213a39118d9fc71abea8c87b1ed22b /plugins/FingerprintNG/src/main.cpp | |
parent | 631745c2072032eed7d0600442e966e35e4a8355 (diff) |
- dynamic MirVer monitor;
- core reordering
git-svn-id: http://svn.miranda-ng.org/main/trunk@4392 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FingerprintNG/src/main.cpp')
-rw-r--r-- | plugins/FingerprintNG/src/main.cpp | 19 |
1 files changed, 1 insertions, 18 deletions
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;
}
|