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

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

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