From e53dae90e2454400d57d815086c762684cf846b9 Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Sun, 22 Jul 2007 17:22:00 +0000 Subject: - Some changes to enhance W3C XHTML strict compatibility. - Timer are called with epgid instead channelid and eventid. --- i18n.h | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'i18n.h') diff --git a/i18n.h b/i18n.h index 25ba0a3..14478af 100644 --- a/i18n.h +++ b/i18n.h @@ -1,6 +1,7 @@ #ifndef VDR_LIVE_I18N_H #define VDR_LIVE_I18N_H +#include #include #include @@ -10,19 +11,14 @@ class I18n { friend I18n& LiveI18n(); - char const* m_encoding; + private: + std::string m_encoding; - I18n( I18n const& ); // don't copy - I18n() : m_encoding( -#if VDRVERSNUM >= 10503 - cCharSetConv::SystemCharacterTable() ? cCharSetConv::SystemCharacterTable() : "UTF-8" -#else - I18nCharSets()[::Setup.OSDLanguage] -#endif - ) {} + I18n( I18n const& ); // don't copy + I18n(); -public: - char const* CharacterEncoding() const { return m_encoding; } + public: + std::string const& CharacterEncoding() const { return m_encoding; } }; I18n& LiveI18n(); -- cgit v1.2.3