diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-18 21:56:03 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-18 21:56:03 +0300 |
commit | cb4d31922f0690f5a3c79526245c963bfd118864 (patch) | |
tree | a6826371092617844c19772e73bf4e5756400140 /plugins/SimpleAR/src/Main.cpp | |
parent | 37a022d37e79dbe9892f376ef7c3b6b8878c4aff (diff) |
Icon_Register(g_plugin.getInst() => g_plugin.registerIcon
Icon_RegisterT(g_plugin.getInst() => g_plugin.registerIconW
Diffstat (limited to 'plugins/SimpleAR/src/Main.cpp')
-rw-r--r-- | plugins/SimpleAR/src/Main.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/plugins/SimpleAR/src/Main.cpp b/plugins/SimpleAR/src/Main.cpp index 56064ab583..98e99e3200 100644 --- a/plugins/SimpleAR/src/Main.cpp +++ b/plugins/SimpleAR/src/Main.cpp @@ -238,10 +238,10 @@ INT addEvent(WPARAM hContact, LPARAM hDBEvent) /////////////////////////////////////////////////////////////////////////////////////////
-IconItemT iconList[] =
+IconItem iconList[] =
{
- { LPGENW("Disable Auto&reply"), "Disable Auto&reply", IDI_OFF },
- { LPGENW("Enable Auto&reply"), "Enable Auto&reply", IDI_ON }
+ { LPGEN("Disable Auto&reply"), "Disable Auto&reply", IDI_OFF },
+ { LPGEN("Enable Auto&reply"), "Enable Auto&reply", IDI_ON }
};
extern "C" int __declspec(dllexport)Load(void)
@@ -271,8 +271,7 @@ extern "C" int __declspec(dllexport)Load(void) HookEvent(ME_DB_EVENT_ADDED, addEvent);
HookEvent(ME_SYSTEM_MODULESLOADED, CheckDefaults);
- Icon_RegisterT(g_plugin.getInst(), L"Simple Auto Replier", iconList, _countof(iconList));
-
+ g_plugin.registerIcon("Simple Auto Replier", iconList);
return 0;
}
|