diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-17 19:41:35 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-17 19:41:35 +0300 |
commit | 11e70d8c4e224d80015fffe0378c53abee5fd824 (patch) | |
tree | 8b21511f57aad4a9aaaa9391450cf5b83146a2f8 /plugins/SeenPlugin/src/stdafx.h | |
parent | 0c12fe889baeced3e7d8c3f2558d10f563a43612 (diff) |
Popup, PManagerEx, QuickContacts, RemovePersonalSettings, Restart, SeenPlugin, SendSS, ShlExt, SimpleAR, SimpleStatusMsg, SkypeStatusChange, SmileyAdd, SMS => CMPlugin
Diffstat (limited to 'plugins/SeenPlugin/src/stdafx.h')
-rw-r--r-- | plugins/SeenPlugin/src/stdafx.h | 14 |
1 files changed, 9 insertions, 5 deletions
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 <malloc.h>
#include <time.h>
-#define __NO_CMPLUGIN_NEEDED
#include <win2k.h>
#include <newpluginapi.h>
#include <m_database.h>
@@ -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>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(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;
|