summaryrefslogtreecommitdiff
path: root/setup.h
blob: bf683ff94b6a53fa094b7bfe60a41af2545b328c (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/**
 * based on setup.h,v 1.1.1.1 2006/02/26 14:11:02 lordjaxom
 *
 * version by Midas
 *
 */

#ifndef VDR_BLOCK_SETUP_H
#define VDR_BLOCK_SETUP_H

#include <vdr/menuitems.h>

#include "event.h"
#include "config.h"

class cMenuSetupBlock : public cMenuSetupPage {
private:
  cEventsBlock mEventsData;  
  cSetupBlock  mSetupData;
  const char *DetectionMethods[2];
  const char *FuzzyFallsback[2];

protected:
  virtual void Store(void);
  virtual eOSState ProcessKey(eKeys Key);

  void Set(void);
  void SetHelpKeys(void);

  eOSState Edit(void);
  eOSState New(void);
  eOSState Delete(void);
  eOSState SetListProperty(void);

public:
  cMenuSetupBlock();
};

class cMenuSetupEditBlock : public cOsdMenu {
private:
  cEventBlock *mEvent;
  cEventBlock  mData;

protected:
  eOSState ProcessKey(eKeys Key);

public:
  cMenuSetupEditBlock(cEventBlock *Event);
};

#endif // VDR_BLOCK_SETUP_H