summaryrefslogtreecommitdiff
path: root/player.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2002-06-23 18:00:00 +0200
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2002-06-23 18:00:00 +0200
commit54d069c95c546d6b12f6effc1af7a0274b7c31e4 (patch)
treea922ce346d13c6262716376a37885db31729947c /player.h
parentf06d2c27fca449148d9d8fac19d81c668744f170 (diff)
downloadvdr-patch-lnbsharing-54d069c95c546d6b12f6effc1af7a0274b7c31e4.tar.gz
vdr-patch-lnbsharing-54d069c95c546d6b12f6effc1af7a0274b7c31e4.tar.bz2
Version 1.1.4vdr-1.1.4
- Added Hungarian language texts (thanks to Istvan Koenigsberger and Guido Josten). - Activated cutting. - Activated 'Transfer Mode'. - Moved handling of the Menu key entirely into vdr.c. - Switched VDR's own player to the new cPlayer/cControl structures. - Switched handling 'Transfer Mode' to the new cPlayer/cControl structures. - The following limitations apply to this version: + The '-a' option (for Dolby Digital audio) doesn't work yet. + Switching between different language tracks doesn't work yet.
Diffstat (limited to 'player.h')
-rw-r--r--player.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/player.h b/player.h
index 1221c24..51265f3 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.1 2002/06/16 11:52:45 kls Exp $
+ * $Id: player.h 1.4 2002/06/23 12:56:38 kls Exp $
*/
#ifndef __PLAYER_H
@@ -40,12 +40,24 @@ protected:
public:
cPlayer(void);
virtual ~cPlayer();
+ bool IsAttached(void) { return device != NULL; }
};
class cControl : public cOsdObject {
+private:
+ static cControl *control;
+ bool attached;
+ bool hidden;
+protected:
+ cPlayer *player;
public:
- cControl(void);
+ 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);
};
#endif //__PLAYER_H