summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Popup/src/stdafx.h')
-rw-r--r--plugins/Popup/src/stdafx.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/plugins/Popup/src/stdafx.h b/plugins/Popup/src/stdafx.h
index 0902fa6e77..ea91428de0 100644
--- a/plugins/Popup/src/stdafx.h
+++ b/plugins/Popup/src/stdafx.h
@@ -60,7 +60,6 @@ https://miranda-ng.org/distr/
#include <malloc.h>
#include <Uxtheme.h>
-#define __NO_CMPLUGIN_NEEDED
#include <newpluginapi.h>
#include <win2k.h>
#include <m_clistint.h>
@@ -97,6 +96,19 @@ https://miranda-ng.org/distr/
#include <m_toptoolbar.h>
#include <m_hpp.h>
+#define PU_MODULCLASS "PopupCLASS" // temp DB modul for this plugin
+#define MODULNAME "Popup"
+#define MODULNAME_LONG L"Popup Plus"
+#define MODULNAME_PLU "Popups"
+#define MODULNAME_PLUW L"Popups"
+
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULNAME)
+ {}
+};
+
#include "resource.h"
#include "defs.h"
#include "version.h"
@@ -128,12 +140,6 @@ https://miranda-ng.org/distr/
#include "avatars_gif.h"
#include "popup_gdiplus.h"
-#define PU_MODULCLASS "PopupCLASS" // temp DB modul for this plugin
-#define MODULNAME "Popup"
-#define MODULNAME_LONG L"Popup Plus"
-#define MODULNAME_PLU "Popups"
-#define MODULNAME_PLUW L"Popups"
-
INT_PTR svcEnableDisableMenuCommand(WPARAM, LPARAM);
#endif //HEADERS_H