diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-09-22 14:23:55 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-09-22 14:23:55 +0200 |
commit | 9f1046221d2fd6f8b4b2713174eccb7fe535e6d3 (patch) | |
tree | a047af3caec6d6ea5ce9da5ca91431584f9cd2cb /menu.h | |
parent | 8223bd1f188e9bd61aa70f275d0512770e2d051f (diff) | |
download | vdr-9f1046221d2fd6f8b4b2713174eccb7fe535e6d3.tar.gz vdr-9f1046221d2fd6f8b4b2713174eccb7fe535e6d3.tar.bz2 |
New command line option '-r'
Diffstat (limited to 'menu.h')
-rw-r--r-- | menu.h | 5 |
1 files changed, 4 insertions, 1 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.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); |