summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorAndreas Mair <amair.sob@googlemail.com>2007-02-14 12:24:25 +0100
committerAndreas Mair <amair.sob@googlemail.com>2007-02-14 12:24:25 +0100
commit2ced4d35c533969fdb0ee6fa963a2fef26c50b79 (patch)
treeb49facd42724fda2ad7c294479373d8f0f08a527 /config.c
downloadvdr-plugin-skinenigmang-2ced4d35c533969fdb0ee6fa963a2fef26c50b79.tar.gz
vdr-plugin-skinenigmang-2ced4d35c533969fdb0ee6fa963a2fef26c50b79.tar.bz2
2007-02-14: Version 0.0.1v0.0.1
- Initial release.
Diffstat (limited to 'config.c')
-rw-r--r--config.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/config.c b/config.c
new file mode 100644
index 0000000..98d5f1e
--- /dev/null
+++ b/config.c
@@ -0,0 +1,32 @@
+/*
+ * config.c: 'EnigmaNG' skin for the Video Disk Recorder
+ *
+ * See the README file for copyright information and how to reach the author.
+ *
+ */
+
+#include <stdlib.h>
+#include "common.h"
+#include "config.h"
+
+cEnigmaConfig EnigmaConfig;
+
+cEnigmaConfig::cEnigmaConfig() : showAuxInfo(1), showLogo(1), showVps(1), showListSymbols(1),
+ showSymbols(1), showProgressbar(1), cacheSize(50),
+ useChannelId(0), showInfo(1), showRemaining(0), showMarker(1)
+{
+ memset(logoDir, 0, sizeof(logoDir));
+}
+
+cEnigmaConfig::~cEnigmaConfig()
+{
+}
+
+void cEnigmaConfig::SetLogoDir(const char *logodirP)
+{
+ if (logodirP)
+ {
+ debug("cEnigmaConfig::SetLogoDir(%s)\n", logodirP);
+ strncpy(logoDir, logodirP, sizeof(logoDir));
+ }
+}