diff options
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/config.h b/config.h new file mode 100644 index 0000000..d24d744 --- /dev/null +++ b/config.h @@ -0,0 +1,45 @@ +/* + * config.h: TVTV plugin for the Video Disk Recorder + * + * See the README file for copyright information and how to reach the author. + * + * $Id$ + */ + +#ifndef __TVTV_CONFIG_H +#define __TVTV_CONFIG_H + +#include <vdr/interface.h> +#include <vdr/plugin.h> +#include <vdr/tools.h> +#include <vdr/status.h> + +struct cTVTVConfig +{ +public: + cTVTVConfig(void); + + int tvtv_server; + char username[30]; + char password[30]; + int updatetime; + int autoupdate; + int usegenre; + int usestation; + int show_in_mainmenu; + int useproxy; + char httpproxy[256]; +// VPS was introduced with VDR 1.3.5 +#if VDRVERSNUM >= 10305 + int usevps; +#endif +#if VDRVERSNUM >= 10344 + int usetvtvdescr; +#endif + int tvtv_bugfix; + int tvtv_bugfix_hrs; +}; + +extern cTVTVConfig TVTVConfig; + +#endif // __TVTV_CONFIG_H |