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/Db3x_mmap/src/dbintf.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/Db3x_mmap/src/dbintf.h') diff --git a/plugins/Db3x_mmap/src/dbintf.h b/plugins/Db3x_mmap/src/dbintf.h index 9a5b690799..dc21944426 100644 --- a/plugins/Db3x_mmap/src/dbintf.h +++ b/plugins/Db3x_mmap/src/dbintf.h @@ -183,7 +183,7 @@ struct DBCachedContact : public DBCachedContactBase struct CDb3Mmap : public MIDatabase, public MIDatabaseChecker, public MZeroedObject { - CDb3Mmap(const TCHAR *tszFileName, int mode); + CDb3Mmap(const wchar_t *tszFileName, int mode); ~CDb3Mmap(); int Load(bool bSkipInit); @@ -193,14 +193,14 @@ struct CDb3Mmap : public MIDatabase, public MIDatabaseChecker, public MZeroedObj void ToggleEncryption(void); void StoreKey(void); - void SetPassword(const TCHAR *ptszPassword); + void SetPassword(const wchar_t *ptszPassword); void UpdateMenuItem(void); int PrepareCheck(int*); - __forceinline LPTSTR GetMenuTitle() const { return m_bUsesPassword ? LPGENT("Change/remove password") : LPGENT("Set password"); } + __forceinline LPTSTR GetMenuTitle() const { return m_bUsesPassword ? LPGENW("Change/remove password") : LPGENW("Set password"); } - void DatabaseCorruption(TCHAR *text); + void DatabaseCorruption(wchar_t *text); void WriteSignature(DBSignature&); __forceinline HANDLE getFile() const { return m_hDbFile; } @@ -282,7 +282,7 @@ public: // Check functions int WorkFinalTasks(int); protected: - TCHAR* m_tszProfileName; + wchar_t* m_tszProfileName; HANDLE m_hDbFile; DBHeader m_dbHeader; DWORD m_ChunkSize; -- cgit v1.2.3