summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/ICQ-WIM/src/main.cpp')
-rw-r--r--protocols/ICQ-WIM/src/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/ICQ-WIM/src/main.cpp b/protocols/ICQ-WIM/src/main.cpp
index a27e2f3fa8..cd55059b6c 100644
--- a/protocols/ICQ-WIM/src/main.cpp
+++ b/protocols/ICQ-WIM/src/main.cpp
@@ -24,6 +24,12 @@ bool g_bPopupService, g_bMessageState;
HWND g_hwndHeartbeat;
+IconItem iconList[] =
+{
+ { LPGEN("Email"), "icq_email", IDI_INBOX },
+ { LPGEN("Email notification"), "icq_email_notif", IDI_MAIL_NOTIFY }
+};
+
/////////////////////////////////////////////////////////////////////////////////////////
static PLUGININFOEX pluginInfoEx = {
@@ -124,6 +130,8 @@ int CMPlugin::Load()
{
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);
HookEvent(ME_SYSTEM_MODULEUNLOAD, ModuleLoad);
HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);