summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-05-03 13:42:37 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-05-03 13:42:37 +0200
commit3fc00d2211c732b2b9ecdead946bb9d3a0d9c621 (patch)
tree25895faeeaaf0b6736d69ee4c05f02110a888329 /device.h
parent201364cd8a874a9496212509877a72a7a53c5367 (diff)
downloadvdr-3fc00d2211c732b2b9ecdead946bb9d3a0d9c621.tar.gz
vdr-3fc00d2211c732b2b9ecdead946bb9d3a0d9c621.tar.bz2
Restoring the current channel in case a recording has switched the transponder
Diffstat (limited to 'device.h')
-rw-r--r--device.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/device.h b/device.h
index 38e8028d..d2cc4f83 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.31 2003/05/02 08:21:05 kls Exp $
+ * $Id: device.h 1.32 2003/05/03 13:35:55 kls Exp $
*/
#ifndef __DEVICE_H
@@ -181,6 +181,9 @@ protected:
public:
static int CurrentChannel(void) { return primaryDevice ? currentChannel : 0; }
///< Returns the number of the current channel on the primary device.
+ virtual bool HasProgramme(void);
+ ///< Returns true if the device is currently showing any programme to
+ ///< the user, either through replaying or live.
// PID handle facilities
@@ -300,7 +303,6 @@ public:
private:
cPlayer *player;
- bool playerDetached;
protected:
virtual bool CanReplay(void) const;
///< Returns true if this device can currently start a replay session.
@@ -349,8 +351,6 @@ public:
///< Attaches the given player to this device.
void Detach(cPlayer *Player);
///< Detaches the given player from this device.
- bool PlayerDetached(void);
- ///< Returns true if a player has been detached and resets the 'playerDetached' flag.
// Receiver facilities