summaryrefslogtreecommitdiff
path: root/epgsearchconf.h
blob: d531978cb01f2905d6335f2b021e80773f110916 (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
#ifndef __NOPACITY_EPGSEARCHCONFIG_H
#define __NOPACITY_EPGSEARCHCONFIG_H

#define EPGSEARCHCATS 7
#define EPGSEARCHTOKENS 17
#define MAXITEMTABS 6

class cNopacityEPGSearchConfig {
	private:
		bool ReplaceSchedule;
		bool ShowChannelNr;
		bool ShowProgress;
		std::string *SplitEpgSearchMenuLine(std::string line);
		void SetTokens(std::string *values, eEPGModes mode);
		void toLowerCase(std::string &str);
	public:
		cNopacityEPGSearchConfig(void);
		virtual ~cNopacityEPGSearchConfig();
		bool CheckEPGSearchAvailable(void);
		bool ReplaceScheduleActive(void) {return ReplaceSchedule;};
		bool LoadEpgSearchConf(void);
		bool LoadEpgSearchMenuConf(void);
		void SetDefaultEPGSearchConf(void);
		void SetDefaultVDRConf(void);
		void SetTimerConfilictCont(void);
		bool UserSet[4];
		cString User[4];
		int epgSearchConfig[EPGSEARCHCATS][EPGSEARCHTOKENS];
};

#endif //__NOPACITY_EPGSEARCHCONFIG_H