summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/config.h b/config.h
new file mode 100644
index 0000000..88cce72
--- /dev/null
+++ b/config.h
@@ -0,0 +1,24 @@
+#ifndef __TVSCRAPER_CONFIG_H
+#define __TVSCRAPER_CONFIG_H
+
+using namespace std;
+
+class cTVScraperConfig {
+ private:
+ string baseDir;
+ vector<string> channels;
+ public:
+ cTVScraperConfig();
+ ~cTVScraperConfig();
+ int enableDebug;
+ void SetBaseDir(string dir) { baseDir = dir; };
+ string GetBaseDir(void) { return baseDir; };
+ void ClearChannels(void);
+ void AddChannel(string channelID);
+ bool ChannelActive(int channelNum);
+ bool SetupParse(const char *Name, const char *Value);
+ vector<string> GetChannels(void) { return channels; };
+ void PrintChannels(void);
+};
+
+#endif //__TVSCRAPER_CONFIG_H \ No newline at end of file