diff options
Diffstat (limited to 'client/device.h')
-rw-r--r-- | client/device.h | 6 |
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; |