summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-08-11 13:39:00 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-08-11 13:39:00 +0200
commit2f684611d488fb3b05680b8d40e1a4d0b3e124fc (patch)
tree7e892dca56efc3f584190e799e6c01bf4c621304 /device.h
parent9a1a16f3d42b2f48b26eb3daef3a195fc0f2a13e (diff)
downloadvdr-2f684611d488fb3b05680b8d40e1a4d0b3e124fc.tar.gz
vdr-2f684611d488fb3b05680b8d40e1a4d0b3e124fc.tar.bz2
Temporarily made cDevice::ProvidesCa() virtual
Diffstat (limited to 'device.h')
-rw-r--r--device.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/device.h b/device.h
index 4610988d..770cdef1 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 1.5 2002/08/04 14:02:19 kls Exp $
+ * $Id: device.h 1.6 2002/08/11 13:38:13 kls Exp $
*/
#ifndef __DEVICE_H
@@ -97,7 +97,9 @@ public:
bool IsPrimaryDevice(void) const { return this == primaryDevice; }
int CardIndex(void) const { return cardIndex; }
// Returns the card index of this device (0 ... MAXDEVICES - 1).
- int ProvidesCa(int Ca);
+ virtual int ProvidesCa(int Ca);
+ //XXX TODO temporarily made this function virtual - until a general
+ //XXX mechanism has been implemented
// Checks whether this device provides the given value in its
// caCaps. Returns 0 if the value is not provided, 1 if only this
// value is provided, and > 1 if this and other values are provided.