summaryrefslogtreecommitdiff
path: root/mymenucommands.h
blob: 1ab84d9474a0e9a4ee14bc486de469e672a14e9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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);
};