mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Implemented handling DVB subtitles
This commit is contained in:
20
menu.h
20
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;
|
||||
|
Reference in New Issue
Block a user