diff options
Diffstat (limited to 'plugins/AvatarHistory/src/stdafx.h')
-rw-r--r-- | plugins/AvatarHistory/src/stdafx.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/plugins/AvatarHistory/src/stdafx.h b/plugins/AvatarHistory/src/stdafx.h index 28b882b8d9..d865398e6e 100644 --- a/plugins/AvatarHistory/src/stdafx.h +++ b/plugins/AvatarHistory/src/stdafx.h @@ -6,8 +6,6 @@ #include <ShObjIdl.h>
#include <ShlGuid.h>
-#define __NO_CMPLUGIN_NEEDED
-
#include <newpluginapi.h>
#include <m_clist.h>
#include <m_skin.h>
@@ -35,7 +33,6 @@ #include "popup.h"
// Globals
-extern HINSTANCE hInst;
extern HGENMENU hMenu;
extern DWORD mirVer;
extern MWindowList hAvatarWindowsList;
@@ -45,6 +42,13 @@ extern wchar_t basedir[]; #define MODULE_NAME "AvatarHistory"
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULE_NAME)
+ {}
+};
+
#define AVH_DEF_POPUPFG 0
#define AVH_DEF_POPUPBG 0x2DB6FF
#define AVH_DEF_AVPOPUPS 0
|