Instant recording can now be stopped via the menu

This commit is contained in:
Klaus Schmidinger
2000-04-30 11:15:16 +02:00
parent 49ce70fdb3
commit f7ac74ede4
5 changed files with 41 additions and 17 deletions

7
menu.h
View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: menu.h 1.7 2000/04/29 17:54:55 kls Exp $
* $Id: menu.h 1.8 2000/04/30 10:58:49 kls Exp $
*/
#ifndef _MENU_H
@@ -14,17 +14,20 @@
class cMenuMain : public cOsdMenu {
public:
cMenuMain(void);
cMenuMain(bool Recording);
virtual eOSState ProcessKey(eKeys Key);
};
class cRecordControl : public cOsdBase {
private:
cTimer *timer;
bool isInstant;
public:
cRecordControl(cTimer *Timer = NULL);
virtual ~cRecordControl();
virtual eOSState ProcessKey(eKeys Key);
void Stop(bool KeepInstant = false);
bool IsInstant(void) { return isInstant; }
};
class cReplayControl : public cOsdBase {