diff options
author | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2007-07-22 17:22:00 +0000 |
---|---|---|
committer | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2007-07-22 17:22:00 +0000 |
commit | e53dae90e2454400d57d815086c762684cf846b9 (patch) | |
tree | 90d735e7f79bc4c00029eacc647fe6c4c021d4bc /i18n.h | |
parent | 213b98b4f18076c8b9e42b6868beaa3a640ae4e6 (diff) | |
download | vdr-plugin-live-e53dae90e2454400d57d815086c762684cf846b9.tar.gz vdr-plugin-live-e53dae90e2454400d57d815086c762684cf846b9.tar.bz2 |
- Some changes to enhance W3C XHTML strict compatibility.
- Timer are called with epgid instead channelid and eventid.
Diffstat (limited to 'i18n.h')
-rw-r--r-- | i18n.h | 18 |
1 files changed, 7 insertions, 11 deletions
@@ -1,6 +1,7 @@ #ifndef VDR_LIVE_I18N_H #define VDR_LIVE_I18N_H +#include <string> #include <vdr/config.h> #include <vdr/i18n.h> @@ -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(); |