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/HistoryStats/src/settingstree.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'plugins/HistoryStats/src/settingstree.h') diff --git a/plugins/HistoryStats/src/settingstree.h b/plugins/HistoryStats/src/settingstree.h index c96261390b..f8c471e340 100644 --- a/plugins/HistoryStats/src/settingstree.h +++ b/plugins/HistoryStats/src/settingstree.h @@ -30,20 +30,20 @@ public: void fromString(const ext::string& config); ext::string toString() const; - void setKey(const TCHAR* key); + void setKey(const wchar_t* key); const ext::string& getKey() const { return m_CurKey; } - bool readBool(const TCHAR* setting, bool errorValue) const; - int readInt(const TCHAR* setting, int errorValue) const; - int readIntRanged(const TCHAR* setting, int errorValue, int minValue, int maxValue) const; - ext::string readStr(const TCHAR* setting, const TCHAR* errorValue) const; + bool readBool(const wchar_t* setting, bool errorValue) const; + int readInt(const wchar_t* setting, int errorValue) const; + int readIntRanged(const wchar_t* setting, int errorValue, int minValue, int maxValue) const; + ext::string readStr(const wchar_t* setting, const wchar_t* errorValue) const; - void writeBool(const TCHAR* setting, bool value); - void writeInt(const TCHAR* setting, int value); - void writeStr(const TCHAR* setting, const TCHAR* value); + void writeBool(const wchar_t* setting, bool value); + void writeInt(const wchar_t* setting, int value); + void writeStr(const wchar_t* setting, const wchar_t* value); - bool hasSetting(const TCHAR* setting) const; - bool delSetting(const TCHAR* setting); + bool hasSetting(const wchar_t* setting) const; + bool delSetting(const wchar_t* setting); }; #endif // HISTORYSTATS_GUARD_SETTINGSTREE_H \ No newline at end of file -- cgit v1.2.3