From c1c799117e7076046182e12d71d06e2c9444e9be Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 8 Nov 2011 10:26:04 +0100 Subject: changed all wstring/wchar_t to string/char --- src/base/stats.hpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/base/stats.hpp') diff --git a/src/base/stats.hpp b/src/base/stats.hpp index d6bb48ad..b3068024 100644 --- a/src/base/stats.hpp +++ b/src/base/stats.hpp @@ -69,7 +69,7 @@ namespace usdx /** * TODO */ - static int get_count(std::wstring query); + static int get_count(std::string query); public: /** @@ -111,27 +111,27 @@ namespace usdx class StatResultBestScores : public Stats { private: - std::wstring singer; + std::string singer; unsigned short score; unsigned short difficulty; - std::wstring song_artist; - std::wstring song_title; + std::string song_artist; + std::string song_title; time_t date; StatResultBestScores *next; StatResultBestScores( - wchar_t *singer, + char *singer, unsigned short score, unsigned short difficulty, - wchar_t* song_artist, - wchar_t* song_title, + char* song_artist, + char* song_title, time_t date); public: /** * TODO */ - StatResultBestScores(wchar_t* song_artist, wchar_t* song_title); + StatResultBestScores(char* song_artist, char* song_title); ~StatResultBestScores(void); @@ -145,12 +145,12 @@ namespace usdx class StatResultBestSingers : public Stats { private: - std::wstring singer; + std::string singer; unsigned short average_score; StatResultBestSingers *next; - StatResultBestSingers(wchar_t *singer, unsigned short average_score); + StatResultBestSingers(char *singer, unsigned short average_score); public: ~StatResultBestSingers(void); @@ -164,13 +164,13 @@ namespace usdx class StatResultMostSungSong : public Stats { private: - std::wstring song_artist; - std::wstring song_title; + std::string song_artist; + std::string song_title; unsigned short times_sung; StatResultMostSungSong *next; - StatResultMostSungSong(wchar_t* song_artist, wchar_t* song_title, unsigned short times_sung); + StatResultMostSungSong(char* song_artist, char* song_title, unsigned short times_sung); public: ~StatResultMostSungSong(void); @@ -184,12 +184,12 @@ namespace usdx class StatResultMostSungBand : public Stats { private: - std::wstring song_artist; + std::string song_artist; unsigned short times_sung; StatResultMostSungBand *next; - StatResultMostSungBand(wchar_t* song_artist, unsigned short times_sung); + StatResultMostSungBand(char* song_artist, unsigned short times_sung); public: ~StatResultMostSungBand(void); -- cgit v1.2.3