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/job_generic.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/job_generic.h')
-rw-r--r-- | plugins/FTPFileYM/src/job_generic.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/FTPFileYM/src/job_generic.h b/plugins/FTPFileYM/src/job_generic.h index beeb1b606f..ffc370958d 100644 --- a/plugins/FTPFileYM/src/job_generic.h +++ b/plugins/FTPFileYM/src/job_generic.h @@ -43,8 +43,8 @@ private: int openFileDialog();
int openFolderDialog();
void getFilesFromOpenDialog();
- int getFilesFromFolder(TCHAR *stzFolder);
- void addFile(TCHAR *fileName);
+ int getFilesFromFolder(wchar_t *stzFolder);
+ void addFile(wchar_t *fileName);
public:
enum EMode
@@ -69,15 +69,15 @@ public: MCONTACT m_hContact;
int m_iFtpNum, m_fileID;
ServerList::FTP *m_ftp;
- TCHAR m_tszFilePath[1024];
- TCHAR m_tszFileName[64];
+ wchar_t m_tszFilePath[1024];
+ wchar_t m_tszFileName[64];
char m_szSafeFileName[64];
EMode m_mode;
EStatus m_status;
UploadDialog::Tab *m_tab;
- vector<TCHAR *> m_files;
- TCHAR* operator[] (int i) const { return m_files[i];}
+ vector<wchar_t *> m_files;
+ wchar_t* operator[] (int i) const { return m_files[i];}
GenericJob(MCONTACT hContact, int m_iFtpNum, EMode mode);
GenericJob(GenericJob *job);
@@ -93,7 +93,7 @@ public: bool isConnecting();
bool isCanceled();
- TCHAR *getStatusString();
+ wchar_t *getStatusString();
virtual void start() = 0;
virtual void pause() = 0;
|