From 8474ee1d7b137774dba43ecc1be23e86ae0fbb0a Mon Sep 17 00:00:00 2001 From: Christian Wieninger Date: Mon, 1 Feb 2010 18:21:01 +0100 Subject: support for vdr-1.7.12 --- epgsearchtools.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'epgsearchtools.h') diff --git a/epgsearchtools.h b/epgsearchtools.h index 17733ad..93f0aff 100644 --- a/epgsearchtools.h +++ b/epgsearchtools.h @@ -258,4 +258,24 @@ typedef std::basic_string icstring; // --- eTimerMod ------------------------------------------------------------- enum eTimerMod { tmNoChange=0, tmStartStop=1, tmFile=2, tmAuxEventID=4 }; +#if VDRVERSNUM >= 10712 +// --- cCommands ------------------------------------------------------------------- +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); + }; + +class cCommands : public cConfig {}; +#endif + #endif -- cgit v1.2.3