From 11e70d8c4e224d80015fffe0378c53abee5fd824 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 17 May 2018 19:41:35 +0300 Subject: Popup, PManagerEx, QuickContacts, RemovePersonalSettings, Restart, SeenPlugin, SendSS, ShlExt, SimpleAR, SimpleStatusMsg, SkypeStatusChange, SmileyAdd, SMS => CMPlugin --- plugins/SeenPlugin/src/stdafx.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'plugins/SeenPlugin/src/stdafx.h') diff --git a/plugins/SeenPlugin/src/stdafx.h b/plugins/SeenPlugin/src/stdafx.h index f3affdc167..9d91ee93ad 100644 --- a/plugins/SeenPlugin/src/stdafx.h +++ b/plugins/SeenPlugin/src/stdafx.h @@ -31,7 +31,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include -#define __NO_CMPLUGIN_NEEDED #include #include #include @@ -55,13 +54,20 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "resource.h" #include "version.h" -WCHAR *any_to_IdleNotidleUnknown(MCONTACT hContact, const char *module_name, const char *setting_name, WCHAR *buff, int bufflen); -WCHAR *any_to_Idle(MCONTACT hContact, const char *module_name, const char *setting_name, WCHAR *buff, int bufflen); +wchar_t *any_to_IdleNotidleUnknown(MCONTACT hContact, const char *module_name, const char *setting_name, wchar_t *buff, int bufflen); +wchar_t *any_to_Idle(MCONTACT hContact, const char *module_name, const char *setting_name, wchar_t *buff, int bufflen); #define NUM100NANOSEC 116444736000000000 #define S_MOD "SeenModule" +struct CMPlugin : public PLUGIN +{ + CMPlugin() : + PLUGIN(S_MOD) + {} +}; + //#define UM_CHECKHOOKS (WM_USER+1) #define debug(a) MessageBox(NULL,a,L"Debug",MB_OK) @@ -105,7 +111,6 @@ int UserinfoInit(WPARAM,LPARAM); void InitMenuitem(void); int UpdateValues(WPARAM, LPARAM); int ModeChange(WPARAM,LPARAM); -void SetOffline(void); int ModeChange_mo(WPARAM,LPARAM); int CheckIfOnline(void); void ShowHistory(MCONTACT hContact, BYTE isAlert); @@ -120,7 +125,6 @@ struct logthread_info WORD currStatus; }; -extern HINSTANCE hInstance; extern DWORD StatusColors15bits[]; extern BOOL includeIdle; extern HANDLE ehmissed, ehuserinfo, ehmissed_proto; -- cgit v1.2.3