From 6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Jul 2016 09:20:25 +0000 Subject: 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 --- plugins/New_GPG/src/utilities.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/New_GPG/src/utilities.h') diff --git a/plugins/New_GPG/src/utilities.h b/plugins/New_GPG/src/utilities.h index 2042864468..d677ff400d 100644 --- a/plugins/New_GPG/src/utilities.h +++ b/plugins/New_GPG/src/utilities.h @@ -16,11 +16,11 @@ #ifndef UTILITIES_H #define UTILITIES_H -TCHAR* __stdcall UniGetContactSettingUtf(MCONTACT hContact, const char *szModule,const char* szSetting, TCHAR* szDef); +wchar_t* __stdcall UniGetContactSettingUtf(MCONTACT hContact, const char *szModule,const char* szSetting, wchar_t* szDef); char* __stdcall UniGetContactSettingUtf(MCONTACT hContact, const char *szModule,const char* szSetting, char* szDef); -void GetFilePath(TCHAR *WindowTittle, char *szSetting, TCHAR *szExt, TCHAR *szExtDesc); -TCHAR *GetFilePath(TCHAR *WindowTittle, TCHAR *szExt, TCHAR *szExtDesc, bool save_file = false); -void GetFolderPath(TCHAR *WindowTittle, char *szSetting); +void GetFilePath(wchar_t *WindowTittle, char *szSetting, wchar_t *szExt, wchar_t *szExtDesc); +wchar_t *GetFilePath(wchar_t *WindowTittle, wchar_t *szExt, wchar_t *szExtDesc, bool save_file = false); +void GetFolderPath(wchar_t *WindowTittle, char *szSetting); void storeOutput(HANDLE ahandle, string *output); @@ -29,7 +29,7 @@ void setClistIcon(MCONTACT); void send_encrypted_msgs_thread(void*); -int ComboBoxAddStringUtf(HWND hCombo, const TCHAR *szString, DWORD data); +int ComboBoxAddStringUtf(HWND hCombo, const wchar_t *szString, DWORD data); bool isContactSecured(MCONTACT hContact); bool isContactHaveKey(MCONTACT hContact); bool isTabsrmmUsed(); -- cgit v1.2.3