From a379eb714f7f5ef9a12efbe7588bb3509faba056 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 8 Oct 2000 18:00:00 +0200 Subject: Version 0.66 - Remote control data is now received in a separate thread, which makes things a lot smoother. - Repeat and release of remote control keys is now explicitly distinguished. - In replay mode the search forward/back and skip functions now have two modes: Pressing the key shortly and releasing it starts the function, and pressing it again stops it. Pressing and holding down the key starts the function and releasing the key stops it. - The '@' character that marks an "instant recording" can now be turned off in the "Setup" menu (thanks to Matthias Schniedermeyer). - Pressing the "Back" button while replaying now stops replaying and brings up the "Recordings" menu (suggested by Carsten Koch). This can be used to easily delete a recording after watching it, or to switch to a different recording. - The "Recordings" menu now places the cursor on the last replayed recording, if that file still exists. - The "Blue" button in the "Main" menu can now be used to "Resume" a previously stopped replay session (suggested by Martin Hammerschmid). - The low and high LNB frequencies can now be changed in the "Setup" menu. --- menu.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'menu.h') diff --git a/menu.h b/menu.h index 8b4f82e..c36427f 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.10 2000/09/10 14:42:20 kls Exp $ + * $Id: menu.h 1.12 2000/10/08 15:21:52 kls Exp $ */ #ifndef _MENU_H @@ -14,6 +14,7 @@ #include "dvbapi.h" #include "osd.h" +#include "recording.h" class cMenuMain : public cOsdMenu { private: @@ -34,6 +35,17 @@ public: virtual eOSState ProcessKey(eKeys Key); }; +class cMenuRecordings : public cOsdMenu { +private: + cRecordings Recordings; + eOSState Play(void); + eOSState Del(void); + eOSState Summary(void); +public: + cMenuRecordings(void); + virtual eOSState ProcessKey(eKeys Key); + }; + class cRecordControl { private: cDvbApi *dvbApi; @@ -72,6 +84,8 @@ public: virtual eOSState ProcessKey(eKeys Key); bool Visible(void) { return visible; } static void SetRecording(const char *FileName, const char *Title); + static const char *LastReplayed(void); + static void ClearLastReplayed(const char *FileName); }; #endif //_MENU_H -- cgit v1.2.3