summaryrefslogtreecommitdiff
path: root/plugins/AddContactPlus/src/stdafx.h
diff options
context:
space:
mode:
authorMataes <mataes2007@gmail.com>2018-05-15 22:28:12 +0300
committerMataes <mataes2007@gmail.com>2018-05-15 22:28:12 +0300
commit996fd46c8ef926f413b9860709cd891c20926141 (patch)
tree2dec8f6f87c32cccd0efec5e07d99b6d02c465c1 /plugins/AddContactPlus/src/stdafx.h
parentb1266b79e51534a5d5673639e49a8fdbbb747026 (diff)
AddContact: cmplugin adaptation
Diffstat (limited to 'plugins/AddContactPlus/src/stdafx.h')
-rw-r--r--plugins/AddContactPlus/src/stdafx.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/plugins/AddContactPlus/src/stdafx.h b/plugins/AddContactPlus/src/stdafx.h
index b1e2da7dfd..8626486757 100644
--- a/plugins/AddContactPlus/src/stdafx.h
+++ b/plugins/AddContactPlus/src/stdafx.h
@@ -23,8 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <windows.h>
#include <commctrl.h>
-
-#define __NO_CMPLUGIN_NEEDED
+#include <limits.h>
#include <win2k.h>
#include <newpluginapi.h>
@@ -45,8 +44,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "resource.h"
#include "version.h"
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>("AddContact")
+ {}
+};
+
#define ICON_ADD "AddContactPlus_Icon"
INT_PTR CALLBACK AddContactDlgProc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM lparam);
-extern HINSTANCE hInst;
extern HWND hAddDlg;