summaryrefslogtreecommitdiff
path: root/protocols/Discord/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-23 16:11:59 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-23 16:11:59 +0300
commita7d5cce8e2cea97d52a35a1769d0e87e84e5502a (patch)
tree328aa85baa74ea929faa4c09b5e4c49b0cada896 /protocols/Discord/src
parent7249e4f451c89d778ce0f211eb0730e6fa3adc04 (diff)
we don't need MirandaPluginInfoEx() anymore. farewell, my lovely
Diffstat (limited to 'protocols/Discord/src')
-rw-r--r--protocols/Discord/src/main.cpp13
1 files changed, 4 insertions, 9 deletions
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 <http://www.gnu.org/licenses/>.
#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