summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-02-16 13:06:16 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2013-02-16 13:06:16 +0100
commitbb47d52f95f054db9e90f440929ea5a840456c87 (patch)
treea440216e6c394907041be51249ad5382769f0b69 /device.c
parentcd2ed6cfe750186948a090c47dba42fdaeea8a6a (diff)
downloadvdr-bb47d52f95f054db9e90f440929ea5a840456c87.tar.gz
vdr-bb47d52f95f054db9e90f440929ea5a840456c87.tar.bz2
Added missing 'const' to cDevice::HasProgramme() and cDevice::HasLock()
Diffstat (limited to 'device.c')
-rw-r--r--device.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/device.c b/device.c
index af416411..31f7aded 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c 2.71 2013/02/01 12:00:09 kls Exp $
+ * $Id: device.c 2.72 2013/02/16 13:05:06 kls Exp $
*/
#include "device.h"
@@ -845,12 +845,12 @@ bool cDevice::SetChannelDevice(const cChannel *Channel, bool LiveView)
return false;
}
-bool cDevice::HasLock(int TimeoutMs)
+bool cDevice::HasLock(int TimeoutMs) const
{
return true;
}
-bool cDevice::HasProgramme(void)
+bool cDevice::HasProgramme(void) const
{
return Replaying() || pidHandles[ptAudio].pid || pidHandles[ptVideo].pid;
}