summaryrefslogtreecommitdiff
path: root/plugins/NewXstatusNotify/src/xstatus.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-26 09:20:25 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-26 09:20:25 +0000
commit6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac (patch)
tree2e8bb660c908b54914abd562af8aafa4a486c846 /plugins/NewXstatusNotify/src/xstatus.h
parenta61c8728b379057fe7f0a0d86fe0b037598229dd (diff)
less TCHARs:
- TCHAR is replaced with wchar_t everywhere; - LPGENT replaced with either LPGENW or LPGEN; - fixes for ANSI plugins that improperly used _t functions; - TCHAR *t removed from MAllStrings; - ptszGroup, ptszTitle & ptszTab in OPTIONSDIALOGPAGE replaced with pwsz* git-svn-id: http://svn.miranda-ng.org/main/trunk@17133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewXstatusNotify/src/xstatus.h')
-rw-r--r--plugins/NewXstatusNotify/src/xstatus.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/NewXstatusNotify/src/xstatus.h b/plugins/NewXstatusNotify/src/xstatus.h
index 1c82461245..403400caba 100644
--- a/plugins/NewXstatusNotify/src/xstatus.h
+++ b/plugins/NewXstatusNotify/src/xstatus.h
@@ -88,8 +88,8 @@ typedef struct tagXSTATUSCHANGE
char *szProto;
int type;
int action;
- TCHAR *stzTitle;
- TCHAR *stzText;
+ wchar_t *stzTitle;
+ wchar_t *stzText;
} XSTATUSCHANGE;
typedef struct tagDBEVENT
@@ -101,12 +101,12 @@ typedef struct tagDBEVENT
typedef struct tagPROTOTEMPLATE
{
char *ProtoName;
- TCHAR ProtoTemplateMsg[MAX_PATH];
- TCHAR ProtoTemplateRemoved[MAX_PATH];
+ wchar_t ProtoTemplateMsg[MAX_PATH];
+ wchar_t ProtoTemplateRemoved[MAX_PATH];
} PROTOTEMPLATE;
-TCHAR *GetDefaultXstatusName(int statusID, char *szProto, TCHAR *buff, int bufflen);
-XSTATUSCHANGE *NewXSC(MCONTACT hContact, char *szProto, int xstatusType, int action, TCHAR *stzTitle, TCHAR *stzText);
+wchar_t *GetDefaultXstatusName(int statusID, char *szProto, wchar_t *buff, int bufflen);
+XSTATUSCHANGE *NewXSC(MCONTACT hContact, char *szProto, int xstatusType, int action, wchar_t *stzTitle, wchar_t *stzText);
void ExtraStatusChanged(XSTATUSCHANGE *xsc);
void FreeXSC(XSTATUSCHANGE *xsc);
int OnWindowEvent(WPARAM wParam, LPARAM lParam);