summaryrefslogtreecommitdiff
path: root/plugins/SkypeStatusChange/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SkypeStatusChange/src/stdafx.h')
-rw-r--r--plugins/SkypeStatusChange/src/stdafx.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/plugins/SkypeStatusChange/src/stdafx.h b/plugins/SkypeStatusChange/src/stdafx.h
index efe7b97572..d143849cc9 100644
--- a/plugins/SkypeStatusChange/src/stdafx.h
+++ b/plugins/SkypeStatusChange/src/stdafx.h
@@ -5,7 +5,6 @@
#include <assert.h>
#include <commctrl.h>
-#define __NO_CMPLUGIN_NEEDED
#include <newpluginapi.h>
#include <m_database.h>
#include <m_protocols.h>
@@ -18,6 +17,13 @@
#define MODULENAME "Change Skype Status"
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULENAME)
+ {}
+};
+
class COptions
{
enum
@@ -163,7 +169,3 @@ struct CMirandaStatus2SkypeStatus
};
extern const CMirandaStatus2SkypeStatus g_aStatusCode[10];
-
-/////////////////////////////////////////////////////////////////////////////////////////
-
-extern HINSTANCE g_hModule; \ No newline at end of file