summaryrefslogtreecommitdiff
path: root/mymenucommands.h
diff options
context:
space:
mode:
Diffstat (limited to 'mymenucommands.h')
-rw-r--r--mymenucommands.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/mymenucommands.h b/mymenucommands.h
index 3834c85..7ba3f01 100644
--- a/mymenucommands.h
+++ b/mymenucommands.h
@@ -1,11 +1,25 @@
class myMenuCommands:public cOsdMenu
{
private:
+#if VDRVERSNUM >= 10713
+ cList<cNestedItem> *commands;
+ cString parameters;
+ cString title;
+ cString command;
+ bool confirm;
+ char *result;
+ bool Parse(const char *s);
+#else
cCommands *commands;
char *parameters;
+#endif
eOSState Execute(void);
public:
+#if VDRVERSNUM >= 10713
+ myMenuCommands(const char *Title, cList<cNestedItem> *Commands, const char *Parameters = NULL);
+#else
myMenuCommands(const char *Title, cCommands *Commands, const char *Parameters = NULL);
+#endif
virtual ~myMenuCommands();
virtual eOSState ProcessKey(eKeys Key);
};