summaryrefslogtreecommitdiff
path: root/plugins/Clist_blind/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_blind/src/stdafx.h')
-rw-r--r--plugins/Clist_blind/src/stdafx.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/plugins/Clist_blind/src/stdafx.h b/plugins/Clist_blind/src/stdafx.h
index c60d913fc9..e6d70346c9 100644
--- a/plugins/Clist_blind/src/stdafx.h
+++ b/plugins/Clist_blind/src/stdafx.h
@@ -28,8 +28,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <vssym32.h>
#include <Uxtheme.h>
-#define __NO_CMPLUGIN_NEEDED
-
#include <newpluginapi.h>
#include <m_clistint.h>
#include <m_database.h>
@@ -41,6 +39,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "resource.h"
#include "version.h"
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>("CList")
+ {}
+};
+
struct ClcContact : public ClcContactBase {};
struct ClcData : public ClcDataBase
@@ -50,7 +55,6 @@ struct ClcData : public ClcDataBase
};
// shared vars
-extern HINSTANCE g_hInst;
extern CLIST_INTERFACE coreCli;
extern int g_bSortByStatus, g_bSortByProto;