diff options
Diffstat (limited to 'player.h')
-rw-r--r-- | player.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |