diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-08-03 14:18:08 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-08-03 14:18:08 +0200 |
commit | bff17fb1d0e39583e44ba93ea214d7434ecef2ce (patch) | |
tree | df3c64f93c4a572feca8de742f2300bfa0f687ee /menu.h | |
parent | 1962940c39c1951bd107f63d2e071df58ba0b125 (diff) | |
download | vdr-bff17fb1d0e39583e44ba93ea214d7434ecef2ce.tar.gz vdr-bff17fb1d0e39583e44ba93ea214d7434ecef2ce.tar.bz2 |
Added support for replaying DVDs
Diffstat (limited to 'menu.h')
-rw-r--r-- | menu.h | 19 |
1 files changed, 17 insertions, 2 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.20 2001/07/28 13:59:29 kls Exp $ + * $Id: menu.h 1.21 2001/08/02 14:53:29 kls Exp $ */ #ifndef _MENU_H @@ -19,11 +19,13 @@ class cMenuMain : public cOsdMenu { private: time_t lastActivity; + int digit; + const char *hk(const char *s); public: cMenuMain(bool Replaying); virtual eOSState ProcessKey(eKeys Key); }; - + class cDisplayChannel : public cOsdBase { private: bool withInfo, group; @@ -39,6 +41,16 @@ public: virtual eOSState ProcessKey(eKeys Key); }; +class cMenuDVD : public cOsdMenu { +private: + cDVD *dvd;//XXX member really necessary??? + eOSState Play(void); + eOSState Eject(void); +public: + cMenuDVD(void); + virtual eOSState ProcessKey(eKeys Key); + }; + class cMenuRecordings : public cOsdMenu { private: cRecordings Recordings; @@ -88,6 +100,8 @@ private: void Show(int Seconds = 0); void Hide(void); static char *fileName; + static cDVD *dvd;//XXX member really necessary??? + static int titleid;//XXX static char *title; bool ShowProgress(bool Initial); void MarkToggle(void); @@ -101,6 +115,7 @@ public: virtual eOSState ProcessKey(eKeys Key); bool Visible(void) { return visible; } static void SetRecording(const char *FileName, const char *Title); + static void SetDVD(cDVD *DVD, int Title);//XXX static const char *LastReplayed(void); static void ClearLastReplayed(const char *FileName); }; |