summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-02-08 14:42:46 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-02-08 14:42:46 +0300
commit5fc2852c72efc4e6a7c85c93921156c0ce41ba27 (patch)
treee8962706c51afdaaf350929ec0db02f876de1394 /protocols/ICQ-WIM/src/main.cpp
parent9e3fe90d27add4dbca66c534e3a557502192d9bc (diff)
attemt to make MRA accounts full synonym of ICQ
Diffstat (limited to 'protocols/ICQ-WIM/src/main.cpp')
-rw-r--r--protocols/ICQ-WIM/src/main.cpp17
1 files changed, 10 insertions, 7 deletions
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<CIcqProto>(MODULENAME, pluginInfoEx)
-{
- SetUniqueId(DB_KEY_ID);
-}
+CMPlugin g_plugin;
+
+/////////////////////////////////////////////////////////////////////////////////////////
struct CMPluginMra : public ACCPROTOPLUGIN<CIcqProto>
{
@@ -55,11 +53,16 @@ static g_pluginMra;
/////////////////////////////////////////////////////////////////////////////////////////
-extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_PROTOCOL, MIID_LAST };
+CMPlugin::CMPlugin() :
+ ACCPROTOPLUGIN<CIcqProto>(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 };
/////////////////////////////////////////////////////////////////////////////////////////