summaryrefslogtreecommitdiffstats
path: root/lib/Utils/Settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Utils/Settings.h')
-rw-r--r--lib/Utils/Settings.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/Utils/Settings.h b/lib/Utils/Settings.h
new file mode 100644
index 00000000..ec30a27a
--- /dev/null
+++ b/lib/Utils/Settings.h
@@ -0,0 +1,13 @@
+#ifndef SETTINGSFUNC_H_
+#define SETTINGSFUNC_H_
+
+#include "Settings.h"
+#include <string>
+#include <map>
+
+typedef std::map<std::string, std::string> map_settings_t;
+
+void load_settings(const std::string& path, map_settings_t& settings);
+void save_settings(const std::string& path, const map_settings_t& settings);
+
+#endif /* SETTINGSFUNC_H_ */