From 1fc8e65dd319abf0bac6ce753bb87ecbabd8b177 Mon Sep 17 00:00:00 2001 From: Mataes Date: Wed, 16 May 2018 21:12:31 +0300 Subject: Flags, CrashDumper, CryptoPP, CSList, Db_autobackups, DbEditorPP: cmplugin adaptation --- plugins/CSList/src/stdafx.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'plugins/CSList/src/stdafx.h') diff --git a/plugins/CSList/src/stdafx.h b/plugins/CSList/src/stdafx.h index 6dbe1bfcbd..810409e9fa 100644 --- a/plugins/CSList/src/stdafx.h +++ b/plugins/CSList/src/stdafx.h @@ -35,8 +35,6 @@ Offers List of your Custom Statuses. #include -#define __NO_CMPLUGIN_NEEDED - #include #include #include @@ -59,6 +57,13 @@ Offers List of your Custom Statuses. #define MODULENAME LPGENW("Custom Status List") #define MODNAME "CSList" +struct CMPlugin : public PLUGIN +{ + CMPlugin() : + PLUGIN(MODNAME) + {} +}; + // ====[ LIMITS ]============================================================= #define EXTRASTATUS_TITLE_LIMIT 64 // limit of chars for extra status title @@ -396,7 +401,6 @@ INT_PTR __cdecl showList(WPARAM, LPARAM, LPARAM); void addProtoStatusMenuItem(char *protoName); // other functions -void IitIcoLib(); void RegisterHotkeys(char buf[200], wchar_t* accName, int Number); void SetStatus(WORD code, StatusItem* item, char *protoName); @@ -404,7 +408,6 @@ void SetStatus(WORD code, StatusItem* item, char *protoName); INT_PTR CALLBACK CSWindowProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam); INT_PTR CALLBACK CSAMWindowProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam); -INT_PTR CALLBACK CSRNWindowProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam); INT_PTR CALLBACK CSOptionsProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam); #endif /* __CSLIST_H */ -- cgit v1.2.3