summaryrefslogtreecommitdiff
path: root/rootdir.c
diff options
context:
space:
mode:
authoretobi <git@e-tobi.net>2013-03-10 02:19:57 +0100
committeretobi <git@e-tobi.net>2013-03-10 17:15:21 +0100
commit77f4101fcb296de31f4856376d2f93b2794fcc02 (patch)
treea1f0947c7789f408ef73f016da1487e32424435d /rootdir.c
parent1dbdedfbbbd4fde5da95fdc07b0547517665c09e (diff)
downloadvdr-plugin-osdteletext-77f4101fcb296de31f4856376d2f93b2794fcc02.tar.gz
vdr-plugin-osdteletext-77f4101fcb296de31f4856376d2f93b2794fcc02.tar.bz2
Refactoring: Moved storage related classes into their own files
Diffstat (limited to 'rootdir.c')
-rw-r--r--rootdir.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/rootdir.c b/rootdir.c
new file mode 100644
index 0000000..7076e0d
--- /dev/null
+++ b/rootdir.c
@@ -0,0 +1,21 @@
+/*************************************************************** -*- c++ -*-
+ * Copyright (c) 2003,2004 by Marcel Wiesweg *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+#include "rootdir.h"
+
+const char *RootDir::root = "/var/cache/vdr/vtx";
+
+void RootDir::setRootDir(const char *newRoot) {
+ root=newRoot;
+}
+
+const char *RootDir::getRootDir() {
+ return root;
+}