diff options
Diffstat (limited to 'plugins/MirFox/src/common.h')
-rw-r--r-- | plugins/MirFox/src/common.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/plugins/MirFox/src/common.h b/plugins/MirFox/src/common.h index aa36678281..95b80f9861 100644 --- a/plugins/MirFox/src/common.h +++ b/plugins/MirFox/src/common.h @@ -2,12 +2,10 @@ #include "MirFoxCommons_pch.h"
-
#pragma comment(lib, "comctl32.lib")
#include <commctrl.h>
// Miranda headers
-#define __NO_CMPLUGIN_NEEDED
#include <win2k.h>
#include <newpluginapi.h>
#include <m_system.h>
@@ -21,12 +19,15 @@ #include <m_extraicons.h>
#include <m_protocols.h>
+#define PLUGIN_DB_ID "MirFox"
+#define PLUGIN_OPTIONS_NAME "MirFox"
-#define PLUGIN_DB_ID "MirFox"
-#define PLUGIN_OPTIONS_NAME "MirFox"
-
-
-
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(PLUGIN_DB_ID)
+ {}
+};
//for MirandaUtils.h and MirfoxData.h and MirfoxMiranda.h
#include "MirFoxCommons_logger.h"
|