summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-10-07 16:21:46 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-10-07 16:21:46 +0200
commit10a7cf33d67b138a31df0564e3fc9267beafe366 (patch)
treef3f0e9a259da1f9a85680554c599eb4404aefff4 /device.h
parent186ee74748ccbd2e917026fc71988f8bdd70d2ef (diff)
downloadvdr-10a7cf33d67b138a31df0564e3fc9267beafe366.tar.gz
vdr-10a7cf33d67b138a31df0564e3fc9267beafe366.tar.bz2
Added cDevice::DeviceNumber()
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 9dcf16ce..6d79bce4 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.21 2002/10/05 15:18:13 kls Exp $
+ * $Id: device.h 1.22 2002/10/06 15:59:08 kls Exp $
*/
#ifndef __DEVICE_H
@@ -111,6 +111,8 @@ 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 DeviceNumber(void) const;
+ // Returns number of this device (0 ... MAXDEVICES - 1).
int ProvidesCa(int Ca) const;
// Checks whether this device provides the given value in its
// caCaps. Returns 0 if the value is not provided, 1 if only this