From ea25399458d35ca25e3477200baa1b393a577b37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=BCnther?= Date: Sun, 21 Jun 2009 03:04:34 +0200 Subject: Removed backward compatibility to VDR < 1.6.0 (closes #137) --- loader.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'loader.c') diff --git a/loader.c b/loader.c index c8888c5..5084faf 100644 --- a/loader.c +++ b/loader.c @@ -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 -- cgit v1.2.3