summaryrefslogtreecommitdiff
path: root/menu.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-09-22 14:23:55 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-09-22 14:23:55 +0200
commit9f1046221d2fd6f8b4b2713174eccb7fe535e6d3 (patch)
treea047af3caec6d6ea5ce9da5ca91431584f9cd2cb /menu.h
parent8223bd1f188e9bd61aa70f275d0512770e2d051f (diff)
downloadvdr-9f1046221d2fd6f8b4b2713174eccb7fe535e6d3.tar.gz
vdr-9f1046221d2fd6f8b4b2713174eccb7fe535e6d3.tar.bz2
New command line option '-r'
Diffstat (limited to 'menu.h')
-rw-r--r--menu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/menu.h b/menu.h
index bb31c72a..53924c9c 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.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);