From 3440072e7e87bd1cb1c5ef579e9b4467d6499892 Mon Sep 17 00:00:00 2001 From: Frank Schmirler Date: Fri, 9 Dec 2011 09:05:09 +0100 Subject: API change of VDR 1.7.22 --- client/device.c | 4 ++++ client/device.h | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'client') 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; -- cgit v1.2.3