summaryrefslogtreecommitdiff
path: root/i18n.h
diff options
context:
space:
mode:
authorThomas Günther <tom@toms-cafe.de>2009-06-21 03:04:34 +0200
committerThomas Günther <tom@toms-cafe.de>2009-06-21 03:04:34 +0200
commitea25399458d35ca25e3477200baa1b393a577b37 (patch)
tree93d9b12177384e6aff92adb36342f02291444473 /i18n.h
parentc51a331d720c7e2fb5252c6cf4c1ddd4b4b8a8a1 (diff)
downloadvdr-plugin-text2skin-ea25399458d35ca25e3477200baa1b393a577b37.tar.gz
vdr-plugin-text2skin-ea25399458d35ca25e3477200baa1b393a577b37.tar.bz2
Removed backward compatibility to VDR < 1.6.0 (closes #137)
Diffstat (limited to 'i18n.h')
-rw-r--r--i18n.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/i18n.h b/i18n.h
index 821e7c1..21b4457 100644
--- a/i18n.h
+++ b/i18n.h
@@ -9,33 +9,12 @@
#include "file.h"
#include <vdr/i18n.h>
-#if VDRVERSNUM < 10507
-#define trNOOP(s) (s)
-#define trVDR(s) tr(s)
-
-extern const tI18nPhrase Phrases[];
-
-class cText2SkinI18n: public cText2SkinFile {
-#else
class cText2SkinI18n {
-#endif
private:
std::string mIdentity;
-#if VDRVERSNUM < 10507
- tI18nPhrase *mPhrases;
- int mNumPhrases;
-
-protected:
- virtual bool Parse(const char *Text);
-#endif
public:
cText2SkinI18n(const char *Skin);
-#if VDRVERSNUM < 10507
- virtual ~cText2SkinI18n();
-
- virtual bool Load(const std::string &Filename);
-#endif
std::string Translate(const std::string &Text) { return I18nTranslate(Text.c_str(), mIdentity.c_str()); }
};