-
Notifications
You must be signed in to change notification settings - Fork 1
/
plgconfig.h
51 lines (39 loc) · 1.09 KB
/
plgconfig.h
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
* plgconfig.h:
*
* See the README file for copyright information and how to reach the author.
*
* $Id: plgconfig.h
*/
#ifndef __SCRAPER2VDR_CONFIG_H
#define __SCRAPER2VDR_CONFIG_H
#include <string.h>
#include <vdr/plugin.h>
#include "lib/config.h"
using namespace std;
//***************************************************************************
// Config
//***************************************************************************
struct cScraper2VdrConfig : public cEpgConfig
{
public:
cScraper2VdrConfig();
bool SetupParse(const char *Name, const char *Value);
void SetImageDir(cString dir);
void SetDefaultImageDir();
void SetMode(string mode);
int mainMenuEntry;
bool headless;
bool imgDirSet;
string imageDir;
string recScrapInfoName;
int thumbHeight;
int useFixPosterSize;
int fixPosterWidth;
int fixPosterHeight;
int fixSeasonPosterWidth;
int fixSeasonPosterHeight;
int maxPosterDistortion;
};
extern cScraper2VdrConfig scraper2VdrConfig;
#endif // __SCRAPER2VDR_CONFIG_H