diff options
author | etobi <git@e-tobi.net> | 2012-05-16 21:47:29 +0200 |
---|---|---|
committer | etobi <git@e-tobi.net> | 2012-05-16 22:34:18 +0200 |
commit | 97b9a19e1a9947eaff462815b907ea7050dfa9d7 (patch) | |
tree | a545cf9ce61aee0ffdc28914349f14b942bc170d /osdpip.c | |
parent | fb0a8d6c538547a0311dea8287a0acedce6d9d42 (diff) | |
download | vdr-plugin-osdpip-97b9a19e1a9947eaff462815b907ea7050dfa9d7.tar.gz vdr-plugin-osdpip-97b9a19e1a9947eaff462815b907ea7050dfa9d7.tar.bz2 |
Adapted for VDR 1.7.27 (Closes #981, #964, #902) and dropped VDR 1.6 support
Diffstat (limited to 'osdpip.c')
-rw-r--r-- | osdpip.c | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -23,13 +23,10 @@ #include "decoder.h" #include "osd.h" #include "setup.h" -#if (APIVERSNUM < 10507) -#include "i18n.h" -#endif #include <vdr/plugin.h> -static const char *VERSION = "0.1.1"; +static const char *VERSION = "0.1.2"; static const char *DESCRIPTION = trNOOP("OSD Picture-in-Picture"); static const char *MAINMENUENTRY = trNOOP("Picture-in-Picture"); @@ -83,9 +80,6 @@ bool cPluginOsdpip::Initialize(void) bool cPluginOsdpip::Start(void) { -#if (APIVERSNUM < 10507) - RegisterI18n(Phrases); -#endif return true; } @@ -101,11 +95,7 @@ cOsdObject *cPluginOsdpip::MainMenuAction(void) chan = cDevice::CurrentChannel() != 0 ? Channels.GetByNumber(cDevice::CurrentChannel()) : NULL; if (chan != NULL) { -#if (APIVERSNUM < 10500) - dev = cDevice::GetDevice(chan, 1); -#else dev = cDevice::GetDevice(chan, 1, false); -#endif if (dev) return new cOsdPipObject(dev, chan); } |