summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorvideo src <videosrc@vdr.muc.bieringer.de>2008-12-20 08:50:04 +0100
committervideo src <videosrc@vdr.muc.bieringer.de>2008-12-20 08:50:04 +0100
commit21fd75ff07fe1f3655a758603571b03f18737157 (patch)
treefeda8b931a103cde74f86694fe14f744a5bd9375 /config.h
parent8850eea8baddb579346d6977a2980f8f587687e4 (diff)
downloadvdr-plugin-tvtv-21fd75ff07fe1f3655a758603571b03f18737157.tar.gz
vdr-plugin-tvtv-21fd75ff07fe1f3655a758603571b03f18737157.tar.bz2
Import of last official release 0.3.3
Diffstat (limited to 'config.h')
-rw-r--r--config.h45
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