diff options
Diffstat (limited to 'plugins/StopSpamPlus/src/stopspam.cpp')
-rw-r--r-- | plugins/StopSpamPlus/src/stopspam.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/plugins/StopSpamPlus/src/stopspam.cpp b/plugins/StopSpamPlus/src/stopspam.cpp index 7352177744..7ea8d973a6 100644 --- a/plugins/StopSpamPlus/src/stopspam.cpp +++ b/plugins/StopSpamPlus/src/stopspam.cpp @@ -1,6 +1,8 @@ #include "stdafx.h"
int hLangpack;
+CMPlugin g_plugin;
+CLIST_INTERFACE *pcli;
/////////////////////////////////////////////////////////////////////////////////////////
// returns plugin's extended information
@@ -18,19 +20,12 @@ PLUGININFOEX pluginInfoEx = { { 0x553811ee, 0xdeb6, 0x48b8, { 0x89, 0x2, 0xa8, 0xa0, 0xc, 0x1f, 0xd6, 0x79 } }
};
-CLIST_INTERFACE *pcli;
-HINSTANCE hInst;
-
extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD)
{
return &pluginInfoEx;
}
-BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD, LPVOID)
-{
- hInst = hinstDLL;
- return TRUE;
-}
+/////////////////////////////////////////////////////////////////////////////////////////
extern "C" int __declspec(dllexport) Load(void)
{
@@ -58,6 +53,8 @@ extern "C" int __declspec(dllexport) Load(void) return 0;
}
+/////////////////////////////////////////////////////////////////////////////////////////
+
extern "C" int __declspec(dllexport) Unload(void)
{
return 0;
|