blob: 9c406592819c929395a87aa67ee08ede5e447714 (
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
|
#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;
vector<string> ignorePath;
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);
bool IgnorePath(string path);
void Dump(void);
};
#endif //__TVSCRAPER_OVERRIDES_H
|