From 15b3424c72fb3af3eb47e00eeee27730e8fa0b75 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Mon, 7 Nov 2022 20:00:55 +0100 Subject: Added textarea, config (WIP) --- config.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 config.cpp (limited to 'config.cpp') 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; +} -- cgit v1.2.3