File: setup.h

package info (click to toggle)
vdr-plugin-remoteosd 0.1.1-5
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 184 kB
  • sloc: ansic: 1,052; makefile: 69; sh: 17
file content (44 lines) | stat: -rw-r--r-- 865 bytes parent folder | download | duplicates (5)
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
/*
 * setup.h: Settings
 *
 * See the README file for copyright information and how to reach the author.
 */

#ifndef _REMOTEOSD_SETUP__H
#define _REMOTEOSD_SETUP__H

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

#define MAX_IP_LENGTH 16

struct cRemoteOsdSetup {
	int hideMainMenuEntry;
	int replaceSchedule;
	int replaceTimers;
	char serverIp[MAX_IP_LENGTH];
	int serverPort;
	int tuneServer;
	int maxItems;
	char remoteTheme[MaxThemeName];

	cRemoteOsdSetup& operator=(const cRemoteOsdSetup &Setup);
	cRemoteOsdSetup();
};

extern cRemoteOsdSetup RemoteOsdSetup;

class cRemoteOsdMenuSetup: public cMenuSetupPage {
	private:
		cRemoteOsdSetup	setupTmp;
		cThemes		themes;
		int		themeIndex;
		const char **	themeList;
	protected:
		virtual void Store(void);
	public:
		cRemoteOsdMenuSetup();
		virtual ~cRemoteOsdMenuSetup();
};

#endif //_REMOTEOSD_SETUP__H