diff options
author | Frank Schmirler <vdr@schmirler.de> | 2011-12-09 09:05:09 +0100 |
---|---|---|
committer | Frank Schmirler <vdr@schmirler.de> | 2011-12-09 09:05:09 +0100 |
commit | 3440072e7e87bd1cb1c5ef579e9b4467d6499892 (patch) | |
tree | 723b208b46ef3db68ae5abefbe8f903b6200afc3 /client | |
parent | 59c6558ce3e26ecc8eec00a4ea1279f6fdfc0805 (diff) | |
download | vdr-plugin-streamdev-3440072e7e87bd1cb1c5ef579e9b4467d6499892.tar.gz vdr-plugin-streamdev-3440072e7e87bd1cb1c5ef579e9b4467d6499892.tar.bz2 |
API change of VDR 1.7.22
Diffstat (limited to 'client')
-rw-r--r-- | client/device.c | 4 | ||||
-rw-r--r-- | client/device.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/client/device.c b/client/device.c index 2935db2..5d81727 100644 --- a/client/device.c +++ b/client/device.c @@ -70,7 +70,11 @@ bool cStreamdevDevice::ProvidesTransponder(const cChannel *Channel) const return true; } +#if APIVERSNUM >= 10722 +bool cStreamdevDevice::IsTunedToTransponder(const cChannel *Channel) const +#else bool cStreamdevDevice::IsTunedToTransponder(const cChannel *Channel) +#endif { bool res = false; if (ClientSocket.DataSocket(siLive) != NULL diff --git a/client/device.h b/client/device.h index 6c64df0..fe8568f 100644 --- a/client/device.h +++ b/client/device.h @@ -61,7 +61,11 @@ public: #if APIVERSNUM >= 10719 virtual bool AvoidRecording(void) const { return true; } #endif +#if APIVERSNUM >= 10722 + virtual bool IsTunedToTransponder(const cChannel *Channel) const; +#else virtual bool IsTunedToTransponder(const cChannel *Channel); +#endif virtual int SignalStrength(void) const; virtual int SignalQuality(void) const; |