diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2007-10-12 14:52:30 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2007-10-12 14:52:30 +0200 |
commit | 0c8cda9bd007bba5b6dbae5fabc4d741d1a3ac4c (patch) | |
tree | a22c8317f28226d78095534c9c5b1f7119265415 /menu.h | |
parent | 3a4b7f065ce64a81214cc837841378f979086481 (diff) | |
download | vdr-0c8cda9bd007bba5b6dbae5fabc4d741d1a3ac4c.tar.gz vdr-0c8cda9bd007bba5b6dbae5fabc4d741d1a3ac4c.tar.bz2 |
Implemented handling DVB subtitles
Diffstat (limited to 'menu.h')
-rw-r--r-- | menu.h | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.h 1.88 2007/08/12 10:35:42 kls Exp $ + * $Id: menu.h 1.89 2007/09/26 14:35:57 kls Exp $ */ #ifndef __MENU_H @@ -128,6 +128,24 @@ public: eOSState ProcessKey(eKeys Key); }; +class cDisplaySubtitleTracks : public cOsdObject { +private: + cSkinDisplayTracks *displayTracks; + cTimeMs timeout; + eTrackType types[ttMaxTrackTypes]; + char *descriptions[ttMaxTrackTypes + 1]; // list is NULL terminated + int numTracks, track; + static cDisplaySubtitleTracks *currentDisplayTracks; + virtual void Show(void); + cDisplaySubtitleTracks(void); +public: + virtual ~cDisplaySubtitleTracks(); + static bool IsOpen(void) { return currentDisplayTracks != NULL; } + static cDisplaySubtitleTracks *Create(void); + static void Process(eKeys Key); + eOSState ProcessKey(eKeys Key); + }; + cOsdObject *CamControl(void); class cMenuRecordingItem; |