From 5fc2852c72efc4e6a7c85c93921156c0ce41ba27 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 8 Feb 2019 14:42:46 +0300 Subject: attemt to make MRA accounts full synonym of ICQ --- protocols/ICQ-WIM/src/main.cpp | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'protocols/ICQ-WIM/src/main.cpp') diff --git a/protocols/ICQ-WIM/src/main.cpp b/protocols/ICQ-WIM/src/main.cpp index 2a5cd298f2..a27e2f3fa8 100644 --- a/protocols/ICQ-WIM/src/main.cpp +++ b/protocols/ICQ-WIM/src/main.cpp @@ -38,11 +38,9 @@ static PLUGININFOEX pluginInfoEx = { { 0xEFB2355B, 0x82B3, 0x4759, { 0xb7, 0xd8, 0x95, 0xf8, 0xe9, 0x50, 0x62, 0x91 } } // {EFB2355B-82B3-4759-B7D8-95F8E9506291} }; -CMPlugin::CMPlugin() : - ACCPROTOPLUGIN(MODULENAME, pluginInfoEx) -{ - SetUniqueId(DB_KEY_ID); -} +CMPlugin g_plugin; + +///////////////////////////////////////////////////////////////////////////////////////// struct CMPluginMra : public ACCPROTOPLUGIN { @@ -55,11 +53,16 @@ static g_pluginMra; ///////////////////////////////////////////////////////////////////////////////////////// -extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_PROTOCOL, MIID_LAST }; +CMPlugin::CMPlugin() : + ACCPROTOPLUGIN(MODULENAME, pluginInfoEx) +{ + g_pluginMra.setInst(m_hInst); + SetUniqueId(DB_KEY_ID); +} ///////////////////////////////////////////////////////////////////////////////////////// -CMPlugin g_plugin; +extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_PROTOCOL, MIID_LAST }; ///////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3