summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CloudFile/src/main.cpp')
-rw-r--r--plugins/CloudFile/src/main.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/plugins/CloudFile/src/main.cpp b/plugins/CloudFile/src/main.cpp
index e9c8a6fdd2..147d477771 100644
--- a/plugins/CloudFile/src/main.cpp
+++ b/plugins/CloudFile/src/main.cpp
@@ -1,7 +1,6 @@
#include "stdafx.h"
int hLangpack;
-HINSTANCE g_hInstance;
PLUGININFOEX pluginInfo =
{
@@ -22,6 +21,14 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD)
return &pluginInfo;
}
+/////////////////////////////////////////////////////////////////////////////////////////
+
+CMPlugin g_plugin;
+
+extern "C" _pfnCrtInit _pRawDllMain = &CMPlugin::RawDllMain;
+
+/////////////////////////////////////////////////////////////////////////////////////////
+
extern "C" int __declspec(dllexport) Load(void)
{
mir_getLP(&pluginInfo);
@@ -34,6 +41,8 @@ extern "C" int __declspec(dllexport) Load(void)
return 0;
}
+/////////////////////////////////////////////////////////////////////////////////////////
+
extern "C" int __declspec(dllexport) Unload(void)
{
return 0;