summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-01-31 12:59:50 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2010-01-31 12:59:50 +0100
commit86291b620532968421d9ad46a5276e1e9761570c (patch)
treee24fe972bf60a4e575c39b0e5ca43bc36fe52b64 /config.h
parent08899602322175a6cb080951c2ad0dcbf71446fa (diff)
downloadvdr-86291b620532968421d9ad46a5276e1e9761570c.tar.gz
vdr-86291b620532968421d9ad46a5276e1e9761570c.tar.bz2
The files "commands.conf" and "reccmd.conf" can now contain nested lists of commands1.7.12
Diffstat (limited to 'config.h')
-rw-r--r--config.h23
1 files changed, 3 insertions, 20 deletions
diff --git a/config.h b/config.h
index 37e11a41..be1d7bde 100644
--- a/config.h
+++ b/config.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.h 2.20 2010/01/17 15:08:32 kls Exp $
+ * $Id: config.h 2.21 2010/01/31 11:14:02 kls Exp $
*/
#ifndef __CONFIG_H
@@ -48,21 +48,6 @@
#define MaxSkinName 16
#define MaxThemeName 16
-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; }
- 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)
class cSVDRPhost : public cListObject {
@@ -187,8 +172,6 @@ public:
bool Save(void);
};
-class cCommands : public cConfig<cCommand> {};
-
class cSVDRPhosts : public cConfig<cSVDRPhost> {
public:
bool LocalhostOnly(void);
@@ -196,8 +179,8 @@ public:
};
extern cNestedItemList Folders;
-extern cCommands Commands;
-extern cCommands RecordingCommands;
+extern cNestedItemList Commands;
+extern cNestedItemList RecordingCommands;
extern cSVDRPhosts SVDRPhosts;
class cSetupLine : public cListObject {