summaryrefslogtreecommitdiff
path: root/epgsearchtools.h
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger@gmx.de>2010-02-01 18:21:01 +0100
committerChristian Wieninger <cwieninger@gmx.de>2010-02-01 18:21:01 +0100
commit8474ee1d7b137774dba43ecc1be23e86ae0fbb0a (patch)
tree74f6ff23bef916a33a9808de7f00f7e3598c7ead /epgsearchtools.h
parent89d6f5b1e1a9887e5cf873fc351ff464f44203fe (diff)
downloadvdr-plugin-epgsearch-8474ee1d7b137774dba43ecc1be23e86ae0fbb0a.tar.gz
vdr-plugin-epgsearch-8474ee1d7b137774dba43ecc1be23e86ae0fbb0a.tar.bz2
support for vdr-1.7.12
Diffstat (limited to 'epgsearchtools.h')
-rw-r--r--epgsearchtools.h20
1 files changed, 20 insertions, 0 deletions
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<char,ignorecase_traits> 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<cCommand> {};
+#endif
+
#endif