summaryrefslogtreecommitdiff
path: root/player.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-06-23 12:59:58 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-06-23 12:59:58 +0200
commit26981fd7b148ee943d8032b46f83a7409e02e3be (patch)
tree08393b0336d2a39d891859b4663d0f9996470b16 /player.h
parentbd26fdf362d7daf420090b4f811bdb1fad45ea24 (diff)
downloadvdr-26981fd7b148ee943d8032b46f83a7409e02e3be.tar.gz
vdr-26981fd7b148ee943d8032b46f83a7409e02e3be.tar.bz2
Switched handling 'Transfer Mode' to the new cPlayer/cControl structures
Diffstat (limited to 'player.h')
-rw-r--r--player.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/player.h b/player.h
index ce0cb441..51265f32 100644
--- a/player.h
+++ b/player.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: player.h 1.3 2002/06/23 11:20:23 kls Exp $
+ * $Id: player.h 1.4 2002/06/23 12:56:38 kls Exp $
*/
#ifndef __PLAYER_H
@@ -47,16 +47,17 @@ class cControl : public cOsdObject {
private:
static cControl *control;
bool attached;
+ bool hidden;
protected:
cPlayer *player;
public:
- cControl(cPlayer *Player);
+ cControl(cPlayer *Player, bool Hidden = false);
virtual ~cControl();
virtual void Hide(void) = 0;
static void Launch(cControl *Control);
static void Attach(void);
static void Shutdown(void);
- static cControl *Control(void) { return control; }
+ static cControl *Control(void);
};
#endif //__PLAYER_H