From 8a74e7495ce5ad39de4f5c25121a84d35df90c36 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 20 May 2018 15:08:48 +0300 Subject: CMPlugin to receive a reference to PLUGININFOEX --- plugins/MirandaG15/src/Miranda.cpp | 6 +++++- plugins/MirandaG15/src/StdAfx.h | 4 +--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'plugins/MirandaG15/src') diff --git a/plugins/MirandaG15/src/Miranda.cpp b/plugins/MirandaG15/src/Miranda.cpp index a153de8021..cad693ee75 100644 --- a/plugins/MirandaG15/src/Miranda.cpp +++ b/plugins/MirandaG15/src/Miranda.cpp @@ -58,9 +58,9 @@ bool g_bInitialized; // Plugin Information -int &hLangpack(g_plugin.m_hLang); CMPlugin g_plugin; CLIST_INTERFACE *pcli; +int &hLangpack(g_plugin.m_hLang); // Function Prototypes int Init(WPARAM, LPARAM); @@ -82,6 +82,10 @@ PLUGININFOEX pluginInfoEx = {0x798221e1, 0xe47a, 0x4dc8, {0x90, 0x77, 0x1e, 0x57, 0x6f, 0x9c, 0x43, 0x7}} }; +CMPlugin::CMPlugin() : + PLUGIN(nullptr, pluginInfoEx) +{} + EXTERN_C __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD) { return &pluginInfoEx; diff --git a/plugins/MirandaG15/src/StdAfx.h b/plugins/MirandaG15/src/StdAfx.h index 42620aaa32..632b5288fe 100644 --- a/plugins/MirandaG15/src/StdAfx.h +++ b/plugins/MirandaG15/src/StdAfx.h @@ -37,9 +37,7 @@ using namespace std; struct CMPlugin : public PLUGIN { - CMPlugin() : - PLUGIN(nullptr) - {} + CMPlugin(); }; #include "LCDFramework/LCDFramework.h" -- cgit v1.2.3