summaryrefslogtreecommitdiff
path: root/epgsearchconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'epgsearchconf.h')
-rw-r--r--epgsearchconf.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/epgsearchconf.h b/epgsearchconf.h
new file mode 100644
index 0000000..f6a027a
--- /dev/null
+++ b/epgsearchconf.h
@@ -0,0 +1,31 @@
+#ifndef __NOPACITY_EPGSEARCHCONFIG_H
+#define __NOPACITY_EPGSEARCHCONFIG_H
+
+#define EPGSEARCHCATS 7
+#define EPGSEARCHTOKENS 17
+
+class cNopacityEPGSearchConfig {
+ private:
+ bool ReplaceSchedule;
+ bool ShowChannelNr;
+ bool ShowProgress;
+ int MaxTabs;
+ 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 \ No newline at end of file