diff options
author | Thomas Günther <tom@toms-cafe.de> | 2009-06-21 03:04:34 +0200 |
---|---|---|
committer | Thomas Günther <tom@toms-cafe.de> | 2009-06-21 03:04:34 +0200 |
commit | ea25399458d35ca25e3477200baa1b393a577b37 (patch) | |
tree | 93d9b12177384e6aff92adb36342f02291444473 /loader.c | |
parent | c51a331d720c7e2fb5252c6cf4c1ddd4b4b8a8a1 (diff) | |
download | vdr-plugin-text2skin-ea25399458d35ca25e3477200baa1b393a577b37.tar.gz vdr-plugin-text2skin-ea25399458d35ca25e3477200baa1b393a577b37.tar.bz2 |
Removed backward compatibility to VDR < 1.6.0 (closes #137)
Diffstat (limited to 'loader.c')
-rw-r--r-- | loader.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -34,18 +34,7 @@ void cText2SkinLoader::Start(void) { } void cText2SkinLoader::Load(const char *Skin) { -#if VDRVERSNUM >= 10507 cText2SkinI18n *translations = new cText2SkinI18n(Skin); -#else - cText2SkinI18n *translations = NULL; - std::string transfile = SkinPath() + "/" + Skin + "/" + Skin + ".trans"; - if (access(transfile.c_str(), F_OK) == 0) { - translations = new cText2SkinI18n(Skin); - if (!translations->Load(transfile)) - DELETENULL(translations); - } -#endif - cText2SkinTheme *theme = new cText2SkinTheme(Skin); std::string themefile = SkinPath() + "/" + Skin + "/" + Skin + ".colors"; theme->Load(themefile); @@ -111,10 +100,8 @@ cSkinDisplayMessage *cText2SkinLoader::DisplayMessage(void) return new cText2SkinDisplayMessage(this); } -#if VDRVERSNUM >= 10318 cSkinDisplayTracks *cText2SkinLoader::DisplayTracks(const char *Title, int NumTracks, const char * const *Tracks) { return new cText2SkinDisplayTracks(this, Title, NumTracks, Tracks); } -#endif |