blob: 67ad92cfd1443ef02cb1ea0a5d4dcea114b6b67b (
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
26
27
|
#ifndef __TVSCRAPER_TVDBMIRRORS_H
#define __TVSCRAPER_TVDBMIRRORS_H
using namespace std;
// --- cTVDBMirrors -------------------------------------------------------------
class cTVDBMirrors {
private:
xmlDoc *doc;
vector<string> xmlmirrors;
vector<string> bannermirrors;
vector<string> zipmirrors;
void SetXMLDoc(string xml);
bool ReadEntry(xmlNode *node);
bool CreateMirror(string path, int typemask);
public:
cTVDBMirrors(string xml);
virtual ~cTVDBMirrors(void);
bool ParseXML(void);
string GetMirrorXML(void);
string GetMirrorBanner(void);
string GetMirrorZip(void);
};
#endif //__TVSCRAPER_TVDBMIRRORS_H
|