diff options
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.h 1.131 2002/10/05 09:58:58 kls Exp $ + * $Id: config.h 1.134 2002/10/13 10:03:09 kls Exp $ */ #ifndef __CONFIG_H @@ -20,7 +20,7 @@ #include "eit.h" #include "tools.h" -#define VDRVERSION "1.1.12" +#define VDRVERSION "1.1.13" #define MAXPRIORITY 99 #define MAXLIFETIME 99 @@ -87,13 +87,15 @@ class cCommand : public cListObject { private: char *title; char *command; + bool confirm; static char *result; public: cCommand(void); virtual ~cCommand(); bool Parse(const char *s); const char *Title(void) { return title; } - const char *Execute(void); + bool Confirm(void) { return confirm; } + const char *Execute(const char *Parameters = NULL); }; typedef uint32_t in_addr_t; //XXX from /usr/include/netinet/in.h (apparently this is not defined on systems with glibc < 2.2) @@ -222,6 +224,7 @@ public: extern cTimers Timers; extern cCommands Commands; +extern cCommands RecordingCommands; extern cSVDRPhosts SVDRPhosts; extern cCaDefinitions CaDefinitions; |