summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-05-11 09:01:51 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-05-11 09:01:51 +0200
commit7a0054abbd50149874823cae3f234b00fd87ca70 (patch)
tree160768042c922b61ffc95b0e9838b4ff929666b6 /device.h
parent823945204cbf8e70c36ceab03ed6be37e5345338 (diff)
downloadvdr-7a0054abbd50149874823cae3f234b00fd87ca70.tar.gz
vdr-7a0054abbd50149874823cae3f234b00fd87ca70.tar.bz2
Implemented cDevice::ActualDevice()
Diffstat (limited to 'device.h')
-rw-r--r--device.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/device.h b/device.h
index d2cc4f83..a41312a2 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.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.