summaryrefslogtreecommitdiffhomepage
path: root/config.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2022-11-07 20:00:55 +0100
committerRoland Reichwein <mail@reichwein.it>2022-11-07 20:00:55 +0100
commit15b3424c72fb3af3eb47e00eeee27730e8fa0b75 (patch)
tree0eb01c8a82290f67e0b4e457d03515407b23f866 /config.cpp
parent40ecc6cf11a0fbfaa5a7fb65cf93ecf3edf8dc8e (diff)
Added textarea, config (WIP)
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;
+}