summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-01-03 17:30:25 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-01-03 17:30:25 +0300
commit6305aa8169ad23a08f7349cc982e2cd997d02ad0 (patch)
tree97a86bbc68fb56d9df6ae5482a95d83a6129e473 /protocols/ICQ-WIM/src/main.cpp
parentd52ef64e120376c9f8ec9985667c73f0e144a285 (diff)
ICQ-WIM to use shared system window & its timers
Diffstat (limited to 'protocols/ICQ-WIM/src/main.cpp')
-rw-r--r--protocols/ICQ-WIM/src/main.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/protocols/ICQ-WIM/src/main.cpp b/protocols/ICQ-WIM/src/main.cpp
index 9c66166a60..0cf2cd2674 100644
--- a/protocols/ICQ-WIM/src/main.cpp
+++ b/protocols/ICQ-WIM/src/main.cpp
@@ -22,8 +22,6 @@
bool g_bSecureIM, g_bMessageState;
-HWND g_hwndHeartbeat;
-
IconItem iconList[] =
{
{ LPGEN("E-mail"), "icq_email", IDI_INBOX },
@@ -95,8 +93,6 @@ int CMPlugin::Load()
// register the second instance of this plugin as MRA
g_pluginMra.Register();
- g_hwndHeartbeat = CreateWindowEx(0, L"STATIC", nullptr, 0, 0, 0, 0, 0, nullptr, nullptr, nullptr, nullptr);
-
registerIcon("Protocols/ICQ", iconList, "ICQ");
HookEvent(ME_SYSTEM_MODULELOAD, ModuleLoad);
@@ -104,9 +100,3 @@ int CMPlugin::Load()
HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
return 0;
}
-
-int CMPlugin::Unload()
-{
- DestroyWindow(g_hwndHeartbeat);
- return 0;
-}