diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-05-11 09:01:51 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-05-11 09:01:51 +0200 |
commit | 7a0054abbd50149874823cae3f234b00fd87ca70 (patch) | |
tree | 160768042c922b61ffc95b0e9838b4ff929666b6 /device.h | |
parent | 823945204cbf8e70c36ceab03ed6be37e5345338 (diff) | |
download | vdr-7a0054abbd50149874823cae3f234b00fd87ca70.tar.gz vdr-7a0054abbd50149874823cae3f234b00fd87ca70.tar.bz2 |
Implemented cDevice::ActualDevice()
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 5 |
1 files changed, 4 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.32 2003/05/03 13:35:55 kls Exp $ + * $Id: device.h 1.33 2003/05/11 08:50:04 kls Exp $ */ #ifndef __DEVICE_H @@ -75,6 +75,9 @@ public: ///< \return true if this was possible. static cDevice *PrimaryDevice(void) { return primaryDevice; } ///< Returns the primary device. + static cDevice *ActualDevice(void); + ///< Returns the actual receiving device in case of Transfer Mode, or the + ///< primary device otherwise. static cDevice *GetDevice(int Index); ///< Gets the device with the given Index. ///< \param Index must be in the range 0..numDevices-1. |