vdr-plugin-scraper2vdr/config.h
2014-04-12 17:10:43 +02:00

32 lines
774 B
C++

#ifndef __SCRAPER2VDR_CONFIG_H
#define __SCRAPER2VDR_CONFIG_H
#include <string>
#include <vdr/plugin.h>
using namespace std;
class cScraper2VdrConfig {
private:
public:
cScraper2VdrConfig();
~cScraper2VdrConfig();
bool SetupParse(const char *Name, const char *Value);
void SetUuid(cPlugin *plug);
void SetImageDir(cString dir);
void SetDefaultImageDir(void);
void SetMode(string mode);
int mainMenuEntry;
bool headless;
string uuid;
bool imgDirSet;
string imageDir;
string mysqlHost;
int mysqlPort;
string mysqlDBName;
string mysqlDBUser;
string mysqlDBPass;
string recScrapInfoName;
};
#endif //__SCRAPER2VDR_CONFIG_H