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/FTPFileYM/src/utils.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/FTPFileYM/src/utils.h')
-rw-r--r-- | plugins/FTPFileYM/src/utils.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/FTPFileYM/src/utils.h b/plugins/FTPFileYM/src/utils.h index 7c83869ade..de5fd9d911 100644 --- a/plugins/FTPFileYM/src/utils.h +++ b/plugins/FTPFileYM/src/utils.h @@ -27,21 +27,21 @@ private: static INT_PTR CALLBACK DlgProcSetFileName(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
public:
- static int msgBox(TCHAR *szMsg, UINT uType);
+ static int msgBox(wchar_t *szMsg, UINT uType);
static int msgBoxA(char *szMsg, UINT uType);
static int getDeleteTimeMin();
static HICON loadIconEx(const char *szName);
static HANDLE getIconHandle(const char *szName);
- static TCHAR *getFileNameFromPath(TCHAR *stzPath);
- static TCHAR *getTextFragment(TCHAR *stzText, size_t length, TCHAR *buff);
- static char *makeSafeString(TCHAR *input, char *output);
+ static wchar_t *getFileNameFromPath(wchar_t *stzPath);
+ static wchar_t *getTextFragment(wchar_t *stzText, size_t length, wchar_t *buff);
+ static char *makeSafeString(wchar_t *input, char *output);
static void createFileDownloadLink(char *szUrl, char *fileName, char *buff, int buffSize);
static void copyToClipboard(char *szText);
static void curlSetOpt(CURL *hCurl, ServerList::FTP *ftp, char *url, struct curl_slist *headerList, char *errorBuff);
- static bool setFileNameDlg(TCHAR *nameBuff);
+ static bool setFileNameDlg(wchar_t *nameBuff);
static bool setFileNameDlgA(char *nameBuff);
};
|