summaryrefslogtreecommitdiff
path: root/device.h
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.h
parentcd2ed6cfe750186948a090c47dba42fdaeea8a6a (diff)
downloadvdr-bb47d52f95f054db9e90f440929ea5a840456c87.tar.gz
vdr-bb47d52f95f054db9e90f440929ea5a840456c87.tar.bz2
Added missing 'const' to cDevice::HasProgramme() and cDevice::HasLock()
Diffstat (limited to 'device.h')
-rw-r--r--device.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/device.h b/device.h
index a6254517..9104cfc6 100644
--- a/device.h
+++ b/device.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.h 2.45 2013/02/01 11:54:08 kls Exp $
+ * $Id: device.h 2.46 2013/02/16 12:47:18 kls Exp $
*/
#ifndef __DEVICE_H
@@ -328,13 +328,13 @@ public:
///< after the device has been successfully tuned to the requested transponder.
///< Seconds will be silently limited to MAXOCCUPIEDTIMEOUT. Values less than
///< 0 will be silently ignored.
- virtual bool HasLock(int TimeoutMs = 0);
+ virtual bool HasLock(int TimeoutMs = 0) const;
///< Returns true if the device has a lock on the requested transponder.
///< Default is true, a specific device implementation may return false
///< to indicate that it is not ready yet.
///< If TimeoutMs is not zero, waits for the given number of milliseconds
///< before returning false.
- virtual bool HasProgramme(void);
+ virtual bool HasProgramme(void) const;
///< Returns true if the device is currently showing any programme to
///< the user, either through replaying or live.