From 10db11acd9a9785443182da1ec032c1d83db271a Mon Sep 17 00:00:00 2001 From: Frank Schmirler Date: Mon, 18 Feb 2013 12:43:02 +0100 Subject: [PATCH] API changes of VDR 1.7.38 (thanks to mal@vdr-developer) --- HISTORY | 1 + client/device.h | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index b00ff4a..15639d0 100644 --- a/HISTORY +++ b/HISTORY @@ -1,6 +1,7 @@ VDR Plugin 'streamdev' Revision History --------------------------------------- +- API changes of VDR 1.7.38 (thanks to mal@vdr-developer) - Added simple recordings menu in HTTP server - Restructured menuHTTP classes - Added RSS format for HTTP menus 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;