summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorFrank Schmirler <vdr@schmirler.de>2013-02-18 12:43:02 +0100
committerFrank Schmirler <vdr@schmirler.de>2013-02-18 12:43:02 +0100
commit10db11acd9a9785443182da1ec032c1d83db271a (patch)
tree8f85b5c1ef62cff80d27f1e4dd16121347d7f00b /client
parentf58086a83acb6801372985bf98980a35ae960be7 (diff)
downloadvdr-plugin-streamdev-10db11acd9a9785443182da1ec032c1d83db271a.tar.gz
vdr-plugin-streamdev-10db11acd9a9785443182da1ec032c1d83db271a.tar.bz2
API changes of VDR 1.7.38 (thanks to mal@vdr-developer)
Diffstat (limited to 'client')
-rw-r--r--client/device.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/device.h b/client/device.h
index 71e42ed..1edf956 100644
--- a/client/device.h
+++ b/client/device.h
@@ -28,7 +28,11 @@ private:
protected:
virtual bool SetChannelDevice(const cChannel *Channel, bool LiveView);
- virtual bool HasLock(int TimeoutMs)
+#if APIVERSNUM >= 10738
+ virtual bool HasLock(int TimeoutMs) const
+#else
+ virtual bool HasLock(int TimeoutMs)
+#endif
{
//printf("HasLock is %d\n", (ClientSocket.DataSocket(siLive) != NULL));
//return ClientSocket.DataSocket(siLive) != NULL;