summaryrefslogtreecommitdiff
path: root/loader.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader.c')
-rw-r--r--loader.c13
1 files changed, 0 insertions, 13 deletions
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