summaryrefslogtreecommitdiff
path: root/mymenusetup.h
blob: 7861155364eeebf23576972674b79217d15882db (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
52
53
54
55
56
57
58
59
#include <vdr/menu.h>

#if VDRVERSNUM >= 10713
extern cNestedItemList RecordingDirCommands;
#else
extern cCommands RecordingDirCommands;
#endif


class mySetup
{
 public:
  mySetup();
  int ShowRecDate;
  int ShowRecTime;
  int ShowRecLength;
  int ShowRecRating;
  int HideMainMenuEntry;
  int ReplaceOrgRecMenu;
  int PatchNew;
  int ShowOnlyRecs;
  int ShowNewRecs;
  int DescendSorting;
  int GoLastReplayed;
  int ReturnToPlugin;
  int LimitBandwidth;
  int UseVDRsRecInfoMenu;
  int PatchFont;
  int FileSystemFreeMB;
  int UseCutterQueue;
};

extern mySetup mysetup;

class myMenuSetup:public cMenuSetupPage
{
 private:
  const char *sortingtypetexts[2];
  int showrecdate;
  int showrectime;
  int showreclength;
  int showrecrating;
  int hidemainmenuentry;
  int replaceorgrecmenu;
  int patchnew;
  int shownewrecs;
  int descendsorting;
  int golastreplayed;
  int returntoplugin;
  int limitbandwidth;
  int usevdrsrecinfomenu;
  int patchfont;
  int filesystemfreemb;
  int usecutterqueue;
 protected:
  virtual void Store();
 public:
  myMenuSetup();
};