summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/device.c4
-rw-r--r--client/device.h4
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;