summaryrefslogtreecommitdiff
path: root/config.h
blob: 6019020a19b6f24efba463e1712b73092ab12d61 (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
60
/*
 * config.h
 *
 * See the README file for copyright information and how to reach the author.
 *
 * $Id: config.h,v 1.7 2004/11/23 14:21:24 schmitzj Exp $
 *
 */

#ifndef TVONSCREEN_CONFIG_H
#define TVONSCREEN_CONFIG_H

#include <vdr/config.h>
#include <vdr/menuitems.h>

class tvonscreenConfig
{
public:

	tvonscreenConfig(void);
	~tvonscreenConfig();
	bool SetupParse(const char *Name, const char *Value);
	bool ProcessArgs(int argc, char *argv[]);
	const char *CommandLineHelp(void);

//  char showChannels[];
	int showLogos;
	int XLfonts;
	int noInfoLine;
	int showChannels;
	int bwlogos;
	int colorworkaround;
	int usertime1;
	int usertime2;
	int usertime3;
	int thenshownextday;
	int showsearchinitiator;

	char *logos;
	char *vdradminfile;
};

extern tvonscreenConfig tvonscreenCfg;

class tvonscreenConfigPage : public cMenuSetupPage
{
private:
	tvonscreenConfig m_NewConfig;
	
protected:
	virtual void Store(void);

public:
	tvonscreenConfigPage(void);
	virtual ~tvonscreenConfigPage();
};

#endif