New command line option '-r'

This commit is contained in:
Klaus Schmidinger
2001-09-22 14:23:55 +02:00
parent 8223bd1f18
commit 9f1046221d
5 changed files with 43 additions and 4 deletions

5
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.28 2001/09/14 15:09:49 kls Exp $
* $Id: menu.h 1.29 2001/09/22 14:02:37 kls Exp $
*/
#ifndef _MENU_H
@@ -71,14 +71,17 @@ public:
class cRecordControl {
private:
static const char *userCommand;
cDvbApi *dvbApi;
cTimer *timer;
const cEventInfo *eventInfo;
char *instantId;
bool GetEventInfo(void);
void InvokeUserCommand(bool Before);
public:
cRecordControl(cDvbApi *DvbApi, cTimer *Timer = NULL);
virtual ~cRecordControl();
static void SetUserCommand(const char *UserCommand) { userCommand = UserCommand; }
bool Process(time_t t);
bool Uses(cDvbApi *DvbApi) { return DvbApi == dvbApi; }
void Stop(bool KeepInstant = false);