diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-10-07 16:21:46 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-10-07 16:21:46 +0200 |
commit | 10a7cf33d67b138a31df0564e3fc9267beafe366 (patch) | |
tree | f3f0e9a259da1f9a85680554c599eb4404aefff4 /device.h | |
parent | 186ee74748ccbd2e917026fc71988f8bdd70d2ef (diff) | |
download | vdr-10a7cf33d67b138a31df0564e3fc9267beafe366.tar.gz vdr-10a7cf33d67b138a31df0564e3fc9267beafe366.tar.bz2 |
Added cDevice::DeviceNumber()
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |