summaryrefslogtreecommitdiff
path: root/epgsearchconf.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2012-12-05 20:50:15 +0100
committerlouis <louis.braun@gmx.de>2012-12-05 20:50:15 +0100
commit85b83b42ae87dff1ce984a88779d03698978460b (patch)
tree84d3522d3ec7a25b4cc982baa62067b208236b14 /epgsearchconf.h
parentbfe8fcb2626206e320dcae906476b0aa334f9954 (diff)
downloadskin-nopacity-85b83b42ae87dff1ce984a88779d03698978460b.tar.gz
skin-nopacity-85b83b42ae87dff1ce984a88779d03698978460b.tar.bz2
changed epgsearch handling
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