From a7d5cce8e2cea97d52a35a1769d0e87e84e5502a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 23 May 2018 16:11:59 +0300 Subject: we don't need MirandaPluginInfoEx() anymore. farewell, my lovely --- protocols/Discord/src/main.cpp | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'protocols/Discord/src') diff --git a/protocols/Discord/src/main.cpp b/protocols/Discord/src/main.cpp index 0b8404bf3d..e72f02b6a8 100644 --- a/protocols/Discord/src/main.cpp +++ b/protocols/Discord/src/main.cpp @@ -18,8 +18,12 @@ along with this program. If not, see . #include "stdafx.h" CHAT_MANAGER *pci; +CMPlugin g_plugin; + HWND g_hwndHeartbeat; +///////////////////////////////////////////////////////////////////////////////////////// + PLUGININFOEX pluginInfoEx = { sizeof(PLUGININFOEX), __PLUGIN_NAME, @@ -39,15 +43,6 @@ CMPlugin::CMPlugin() : SetUniqueId(DB_KEY_ID); } -extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD) -{ - return &pluginInfoEx; -} - -///////////////////////////////////////////////////////////////////////////////////////// - -CMPlugin g_plugin; - ///////////////////////////////////////////////////////////////////////////////////////// // Interface information -- cgit v1.2.3