summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
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));
+ }
+}