summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-01-01 15:15:36 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2010-01-01 15:15:36 +0100
commit491c6d0a859c98b7da69b5b4a01be0133fdfdc1c (patch)
tree768f3a576dcc6b5507fa9e70bffba4414576e22b /device.h
parent39f1ba7e0320832d44558045a10ad95f221acf30 (diff)
downloadvdr-491c6d0a859c98b7da69b5b4a01be0133fdfdc1c.tar.gz
vdr-491c6d0a859c98b7da69b5b4a01be0133fdfdc1c.tar.bz2
Fixed stopping subtitle display when switching the primary device
Diffstat (limited to 'device.h')
-rw-r--r--device.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/device.h b/device.h
index f1b63488..897de2af 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.18 2009/12/25 15:09:18 kls Exp $
+ * $Id: device.h 2.19 2010/01/01 15:04:27 kls Exp $
*/
#ifndef __DEVICE_H
@@ -176,6 +176,8 @@ protected:
///< anything the device needs to set up when it becomes the primary
///< device (On = true) or to shut down when it no longer is the primary
///< device (On = false), it should do so in this function.
+ ///< A derived class must call the MakePrimaryDevice() function of its
+ ///< base class.
public:
bool IsPrimaryDevice(void) const { return this == primaryDevice; }
int CardIndex(void) const { return cardIndex; }