diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-26 09:20:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-26 09:20:25 +0000 |
commit | 6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac (patch) | |
tree | 2e8bb660c908b54914abd562af8aafa4a486c846 /plugins/AVS/src/stdafx.h | |
parent | a61c8728b379057fe7f0a0d86fe0b037598229dd (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/AVS/src/stdafx.h')
-rw-r--r-- | plugins/AVS/src/stdafx.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/AVS/src/stdafx.h b/plugins/AVS/src/stdafx.h index adf9f0db73..0a5beda25a 100644 --- a/plugins/AVS/src/stdafx.h +++ b/plugins/AVS/src/stdafx.h @@ -85,7 +85,7 @@ struct protoPicCacheEntry : public avatarCacheEntry, public MZeroedObject void clear();
char* szProtoname;
- TCHAR* tszAccName;
+ wchar_t* tszAccName;
};
extern OBJLIST<protoPicCacheEntry> g_ProtoPictures, g_MyAvatars;
@@ -109,7 +109,7 @@ extern FI_INTERFACE *fei; void mir_sleep(int time);
extern bool g_shutDown;
-extern TCHAR g_szDataPath[]; // user datae path (read at startup only)
+extern wchar_t g_szDataPath[]; // user datae path (read at startup only)
extern BOOL g_AvatarHistoryAvail;
extern HWND hwndSetMyAvatar;
@@ -120,11 +120,11 @@ extern HANDLE hGlobalAvatarFolder; extern HANDLE hLoaderEvent, hShutdownEvent;
extern HANDLE hEventChanged, hEventContactAvatarChanged, hMyAvatarChanged;
-int GetFileHash(TCHAR* filename);
-DWORD GetFileSize(TCHAR *szFilename);
+int GetFileHash(wchar_t* filename);
+DWORD GetFileSize(wchar_t *szFilename);
void MakePathRelative(MCONTACT hContact);
-void MakePathRelative(MCONTACT hContact, TCHAR *dest);
-void MyPathToAbsolute(const TCHAR *ptszPath, TCHAR *ptszDest);
+void MakePathRelative(MCONTACT hContact, wchar_t *dest);
+void MyPathToAbsolute(const wchar_t *ptszPath, wchar_t *ptszDest);
HBITMAP LoadPNG(struct avatarCacheEntry *ace, char *szFilename);
|