summaryrefslogtreecommitdiff
path: root/imageserver.h
blob: aa8f4cf321f31cf7c3c0a69552e222d5cee6788f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using namespace std;

// --- cImageServer --------------------------------------------------------

class cImageServer {
private:
    cTVScraperDB *db;
    cOverRides *overrides;
public:
    cImageServer(cTVScraperDB *db, cOverRides *overrides);
    virtual ~cImageServer(void);
    scrapType GetScrapType(const cEvent *event);
    int GetID(int eventID, scrapType type, bool isRecording);
    cTvMedia GetPosterOrBanner(int id, scrapType type);
    cTvMedia GetPoster(int id, scrapType type);
    cTvMedia GetBanner(int id);
    vector<cTvMedia> GetPosters(int id, scrapType type);
    vector<cTvMedia> GetSeriesFanarts(int id);
    cTvMedia GetMovieFanart(int id);
    vector<cActor> GetActors(int id, scrapType type);
    string GetDescription(int id, scrapType type);
};