summaryrefslogtreecommitdiff
path: root/i18n.h
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2007-07-22 17:22:00 (GMT)
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2007-07-22 17:22:00 (GMT)
commite53dae90e2454400d57d815086c762684cf846b9 (patch)
tree90d735e7f79bc4c00029eacc647fe6c4c021d4bc /i18n.h
parent213b98b4f18076c8b9e42b6868beaa3a640ae4e6 (diff)
downloadvdr-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.h18
1 files changed, 7 insertions, 11 deletions
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 <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();