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/Folders/src/folderItem.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins/Folders/src/folderItem.h') diff --git a/plugins/Folders/src/folderItem.h b/plugins/Folders/src/folderItem.h index 03b88f86e5..ad02db6d12 100644 --- a/plugins/Folders/src/folderItem.h +++ b/plugins/Folders/src/folderItem.h @@ -32,30 +32,30 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. class CFolderItem { char *m_szSection, *m_szName; - TCHAR *m_tszFormat, *m_tszOldFormat, *m_tszUserName; + wchar_t *m_tszFormat, *m_tszOldFormat, *m_tszUserName; - void GetDataFromDatabase(const TCHAR *szNotFound); + void GetDataFromDatabase(const wchar_t *szNotFound); void WriteDataToDatabase(); int FolderCreateDirectory(int showFolder = 0); int FolderDeleteOldDirectory(int showFolder = 0); public: - CFolderItem(const char *sectionName, const char *name, const TCHAR *format, const TCHAR *userName); + CFolderItem(const char *sectionName, const char *name, const wchar_t *format, const wchar_t *userName); virtual ~CFolderItem(); CMString Expand(); void Save(); int IsEqual(const CFolderItem *other); - int IsEqual(const char *section, const TCHAR *name); - int IsEqualTranslated(const char *trSection, const TCHAR *trName); + int IsEqual(const char *section, const wchar_t *name); + int IsEqualTranslated(const char *trSection, const wchar_t *trName); int operator ==(const CFolderItem *other); __inline const char* GetSection() const { return m_szSection; } __inline const char* GetName() const { return m_szName; } - __inline const TCHAR* GetUserName() const { return m_tszUserName; } - __inline const TCHAR* GetFormat() const { return m_tszFormat; } - void SetFormat(const TCHAR *newFormat); + __inline const wchar_t* GetUserName() const { return m_tszUserName; } + __inline const wchar_t* GetFormat() const { return m_tszFormat; } + void SetFormat(const wchar_t *newFormat); }; typedef CFolderItem *PFolderItem; -- cgit v1.2.3