summaryrefslogtreecommitdiff
path: root/include/m_protocols.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-29 16:24:08 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-29 16:24:08 +0000
commite4709ec279fe4e531d33154c3b833a715cf56fbc (patch)
tree4f4183bc7486783e0fd6f6c10f5ce370c01468a8 /include/m_protocols.h
parentc70673812db722c68caef569e2c299f5462b9c13 (diff)
removing TCHAR + WCHAR from headers
git-svn-id: http://svn.miranda-ng.org/main/trunk@17146 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_protocols.h')
-rw-r--r--include/m_protocols.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/m_protocols.h b/include/m_protocols.h
index cc19e7e8b1..90f7558f45 100644
--- a/include/m_protocols.h
+++ b/include/m_protocols.h
@@ -114,8 +114,8 @@ typedef struct tagPROTOFILETRANSFERSTATUS
union {
char **pszFiles;
- TCHAR **ptszFiles;
- WCHAR **pwszFiles;
+ wchar_t **ptszFiles;
+ wchar_t **pwszFiles;
};
int totalFiles;
@@ -125,14 +125,14 @@ typedef struct tagPROTOFILETRANSFERSTATUS
union {
char *szWorkingDir;
- TCHAR *tszWorkingDir;
- WCHAR *wszWorkingDir;
+ wchar_t *tszWorkingDir;
+ wchar_t *wszWorkingDir;
};
union {
char *szCurrentFile;
- TCHAR *tszCurrentFile;
- WCHAR *wszCurrentFile;
+ wchar_t *tszCurrentFile;
+ wchar_t *wszCurrentFile;
};
unsigned __int64 currentFileSize;
@@ -161,7 +161,7 @@ typedef struct tagPROTOFILETRANSFERSTATUS
#define PROTOTYPE_OTHER 10000 // avoid using this if at all possible
// initializes an empty account
-typedef struct PROTO_INTERFACE* (*pfnInitProto)(const char* szModuleName, const TCHAR* szUserName);
+typedef struct PROTO_INTERFACE* (*pfnInitProto)(const char* szModuleName, const wchar_t* szUserName);
// deallocates an account instance
typedef int (*pfnUninitProto)(PROTO_INTERFACE*);
@@ -270,7 +270,7 @@ typedef struct tagACCOUNT
{
int cbSize; // sizeof this structure
char* szModuleName; // unique physical account name (matches database module name)
- TCHAR* tszAccountName; // user-defined account name
+ wchar_t* tszAccountName; // user-defined account name
char* szProtoName; // physical protocol name
bool bIsEnabled; // is account enabled?
bool bIsVisible; // is account visible?
@@ -305,7 +305,7 @@ typedef struct tagACC_CREATE
{
const char *pszBaseProto;
const char *pszInternal;
- const TCHAR *ptszAccountName;
+ const wchar_t *ptszAccountName;
} ACC_CREATE;
__forceinline PROTOACCOUNT* ProtoCreateAccount(ACC_CREATE *pAccountDef)
@@ -411,7 +411,7 @@ ProtoBroadcastAck(), listeners must hook ME_PROTO_ACK, note that lParam = ACKDAT
typedef struct {
MCONTACT hContact; // this might have to be set by the caller too
int format; // PA_FORMAT_*
- WCHAR filename[MAX_PATH]; // full path to filename which contains the avatar
+ wchar_t filename[MAX_PATH]; // full path to filename which contains the avatar
} PROTO_AVATAR_INFORMATION;
#define GAIF_FORCE 1 // force an update of the avatar if there is none