summaryrefslogtreecommitdiff
path: root/setupeepg.c
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2012-05-18 07:19:41 (GMT)
committerDimitar Petrovski <dimeptr@gmail.com>2012-05-18 07:19:41 (GMT)
commit5745ef4a6bfeede40fe69067f51e714718243045 (patch)
tree4a7cf8c7b2194fd187b2e46300f1e1e3c653b692 /setupeepg.c
parent46f6510bb78a19f862bd3c1ffff6ac322ca6d6b4 (diff)
downloadvdr-plugin-eepg-5745ef4a6bfeede40fe69067f51e714718243045.tar.gz
vdr-plugin-eepg-5745ef4a6bfeede40fe69067f51e714718243045.tar.bz2
move cSetupEEPG to separate files
Diffstat (limited to 'setupeepg.c')
-rw-r--r--setupeepg.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/setupeepg.c b/setupeepg.c
new file mode 100644
index 0000000..3738227
--- /dev/null
+++ b/setupeepg.c
@@ -0,0 +1,36 @@
+/*
+ * setupeepg.c
+ *
+ * Created on: 08.5.2012
+ * Author: d.petrovski
+ */
+
+#include <stddef.h>
+#include "setupeepg.h"
+
+// --- cSetupEEPG -------------------------------------------------------
+
+cSetupEEPG* cSetupEEPG::_setupEEPG = NULL;
+
+cSetupEEPG::cSetupEEPG (void)
+{
+ OptPat = 1;
+ OrderInfo = 1;
+ RatingInfo = 1;
+ FixEpg = 0;
+ DisplayMessage = 1;
+ ProcessEIT = 0;
+#ifdef DEBUG
+ LogLevel = 0;
+#endif
+
+}
+
+cSetupEEPG* cSetupEEPG::getInstance()
+{
+ if (!_setupEEPG)
+ _setupEEPG = new cSetupEEPG();
+
+ return _setupEEPG;
+}
+