summaryrefslogtreecommitdiffhomepage
path: root/config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config.cpp')
-rw-r--r--config.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/config.cpp b/config.cpp
new file mode 100644
index 0000000..a3fcf3c
--- /dev/null
+++ b/config.cpp
@@ -0,0 +1,11 @@
+#include "config.h"
+
+Config::Config(): m_dataPath{"/var/lib/whiteboard"}
+{
+ // TODO: read /etc/whiteboard.conf xml
+}
+
+std::string Config::getDataPath()
+{
+ return m_dataPath;
+}