diff options
Diffstat (limited to 'overrides.h')
-rw-r--r-- | overrides.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/overrides.h b/overrides.h new file mode 100644 index 0000000..23ea229 --- /dev/null +++ b/overrides.h @@ -0,0 +1,23 @@ +#ifndef __TVSCRAPER_OVERRIDES_H +#define __TVSCRAPER_OVERRIDES_H + +using namespace std; + +// --- cOverRides -------------------------------------------------------- + +class cOverRides { +private: + vector<string> ignores; + map<string,scrapType> searchTypes; + map<string,string> substitutes; + void ReadConfigLine(string line); +public: + cOverRides(void); + virtual ~cOverRides(void); + void ReadConfig(string confDir); + bool Ignore(string title); + string Substitute(string title); + scrapType Type(string title); + void Dump(void); +}; +#endif //__TVSCRAPER_OVERRIDES_H
\ No newline at end of file |