diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-01-20 14:05:28 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-01-20 14:05:28 +0100 |
commit | fd839aae7b0a443db6f0eab59fcc93f03aafd0ba (patch) | |
tree | c4930ee8c1ae7e29937ed396f6778153bb47474c /menu.h | |
parent | e1ab9c1dacad9f2b3ba3a083b2b8b388289c4b72 (diff) | |
download | vdr-fd839aae7b0a443db6f0eab59fcc93f03aafd0ba.tar.gz vdr-fd839aae7b0a443db6f0eab59fcc93f03aafd0ba.tar.bz2 |
The 'Recordings' menu now displays a hierarchical structure
Diffstat (limited to 'menu.h')
-rw-r--r-- | menu.h | 15 |
1 files changed, 12 insertions, 3 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.34 2001/10/28 15:21:04 kls Exp $ + * $Id: menu.h 1.35 2002/01/20 13:38:34 kls Exp $ */ #ifndef _MENU_H @@ -55,15 +55,24 @@ public: }; #endif //DVDSUPPORT +class cMenuRecordingItem; + class cMenuRecordings : public cOsdMenu { private: - cRecordings Recordings; + static cRecordings Recordings; + char *base; + int level; + static int helpKeys; + void SetHelpKeys(void); + cRecording *GetRecording(cMenuRecordingItem *Item); + bool Open(bool OpenSubMenus = false); eOSState Play(void); eOSState Rewind(void); eOSState Del(void); eOSState Summary(void); public: - cMenuRecordings(void); + cMenuRecordings(const char *Base = NULL, int Level = 0, bool OpenSubMenus = false); + ~cMenuRecordings(); virtual eOSState ProcessKey(eKeys Key); }; |