From e2a48d8701f91b8e24fbe9e99e91eb72a87bb749 Mon Sep 17 00:00:00 2001 From: horchi Date: Sun, 5 Mar 2017 16:39:28 +0100 Subject: git init --- scraper/thetvdbscraper/tvdbmirrors.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 scraper/thetvdbscraper/tvdbmirrors.h (limited to 'scraper/thetvdbscraper/tvdbmirrors.h') diff --git a/scraper/thetvdbscraper/tvdbmirrors.h b/scraper/thetvdbscraper/tvdbmirrors.h new file mode 100644 index 0000000..cf7dc62 --- /dev/null +++ b/scraper/thetvdbscraper/tvdbmirrors.h @@ -0,0 +1,32 @@ +#ifndef __TVSCRAPER_TVDBMIRRORS_H +#define __TVSCRAPER_TVDBMIRRORS_H + +#include +#include +#include +#include +#include +#include + +using namespace std; + +// --- cTVDBMirrors ------------------------------------------------------------- + +class cTVDBMirrors { +private: + vector xmlmirrors; + vector bannermirrors; + vector zipmirrors; + bool ReadEntry(xmlDoc *doc, xmlNode *node); + bool CreateMirror(string path, int typemask); +public: + cTVDBMirrors(void); + virtual ~cTVDBMirrors(void); + bool ParseXML(string xml); + string GetMirrorXML(void); + string GetMirrorBanner(void); + string GetMirrorZip(void); +}; + + +#endif //__TVSCRAPER_TVDBMIRRORS_H -- cgit v1.2.3