summaryrefslogtreecommitdiff
path: root/menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'menu.h')
-rw-r--r--menu.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/menu.h b/menu.h
index 1613aa4e..62a3868a 100644
--- a/menu.h
+++ b/menu.h
@@ -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;