summaryrefslogtreecommitdiff
path: root/epgsearchtools.h
diff options
context:
space:
mode:
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