From 77f4101fcb296de31f4856376d2f93b2794fcc02 Mon Sep 17 00:00:00 2001 From: etobi Date: Sun, 10 Mar 2013 02:19:57 +0100 Subject: Refactoring: Moved storage related classes into their own files --- rootdir.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 rootdir.c (limited to 'rootdir.c') 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; +} -- cgit v1.2.3