summaryrefslogtreecommitdiff
path: root/plugins/TooltipNotify/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TooltipNotify/src/stdafx.h')
-rw-r--r--plugins/TooltipNotify/src/stdafx.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/plugins/TooltipNotify/src/stdafx.h b/plugins/TooltipNotify/src/stdafx.h
index d8b6960fde..bfe460cfcd 100644
--- a/plugins/TooltipNotify/src/stdafx.h
+++ b/plugins/TooltipNotify/src/stdafx.h
@@ -13,7 +13,6 @@
#include <algorithm>
#include <vector>
-#define __NO_CMPLUGIN_NEEDED
#include <newpluginapi.h>
#include <m_clistint.h>
#include <m_skin.h>
@@ -28,6 +27,13 @@
#define MODULENAME "TooltipNotify"
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULENAME)
+ {}
+};
+
#include "version.h"
#include "TooltipNotify.h"
#include "DbHelpers.h"
@@ -35,5 +41,3 @@
#include "Settings.h"
#include "resource.h"
#include "Utils.h"
-
-extern HINSTANCE g_hInstDLL; \ No newline at end of file