summaryrefslogtreecommitdiffhomepage
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/config.h b/config.h
index 523b54d..ab95dd5 100644
--- a/config.h
+++ b/config.h
@@ -1,11 +1,15 @@
+#pragma once
+
#include <string>
+const std::string default_config_filename{"/etc/whiteboard.conf"};
+
class Config
{
private:
std::string m_dataPath;
public:
- Config();
- std::string getDataPath();
+ Config(const std::string& config_filename = default_config_filename);
+ std::string getDataPath() const;
};