summaryrefslogtreecommitdiff
path: root/setup.h
blob: 22c35b53cbdf8f3f4633eb474e327bff604406af (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
/*
 * setup.h: A plugin for the Video Disk Recorder
 *
 * See the README file for copyright information and how to reach the author.
 *
 * $Id$
 */

#ifndef __setup_h_
#define __setup_h_

#include <vdr/plugin.h>
#include <vdr/menuitems.h>
#include "global.h"

class cMenuSetupInfosatepg : public cMenuSetupPage
{
private:
  cGlobalInfosatepg *global;
  //int newChannel;
  int newWaitTime;
  int newWakeupTime;
  int newEventTimeDiff;
  int newFrequency;
  char newPolarization;
  int newSrate;
  int newPid;
  int newNoWakeup;
  int newNoDeferredShutdown;
  int chanCurrent;
protected:
  virtual void Store(void);
private:
  cOsdItem *NewTitle(const char *s);
  eOSState Edit(void);
public:
  cMenuSetupInfosatepg(cGlobalInfosatepg *Global);
  virtual eOSState ProcessKey(eKeys Key);
};

class cMenuSetupChannelMenu : public cMenuSetupPage
{
private:
  cGlobalInfosatepg *global;
  int newDays;
  int newChannelUse;
  int index;
  cChannel *channel;
protected:
  virtual void Store(void);
public:
  cMenuSetupChannelMenu(cGlobalInfosatepg *Global, int Index);
  virtual eOSState ProcessKey(eKeys Key);
};

#endif