From 996fd46c8ef926f413b9860709cd891c20926141 Mon Sep 17 00:00:00 2001 From: Mataes Date: Tue, 15 May 2018 22:28:12 +0300 Subject: AddContact: cmplugin adaptation --- plugins/AddContactPlus/src/stdafx.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'plugins/AddContactPlus/src/stdafx.h') 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 #include - -#define __NO_CMPLUGIN_NEEDED +#include #include #include @@ -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() : + PLUGIN("AddContact") + {} +}; + #define ICON_ADD "AddContactPlus_Icon" INT_PTR CALLBACK AddContactDlgProc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM lparam); -extern HINSTANCE hInst; extern HWND hAddDlg; -- cgit v1.2.3