aboutsummaryrefslogtreecommitdiff
path: root/include/Conf.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2017-12-08 00:49:15 +0100
committerdec05eba <dec05eba@protonmail.com>2017-12-08 00:50:04 +0100
commitbf24f6fc48b4eebb06cdcd7029d1d31d4c6028dd (patch)
treeb9cb68dc44e002586a1e09aeb60bb42f75258758 /include/Conf.hpp
parent3fc89b69ff3fc937a0cde32c2fae9ce3b3cf1ebc (diff)
Added loading of project file and file validations
Next up: parse project.conf file
Diffstat (limited to 'include/Conf.hpp')
-rw-r--r--include/Conf.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/Conf.hpp b/include/Conf.hpp
new file mode 100644
index 0000000..2b38e95
--- /dev/null
+++ b/include/Conf.hpp
@@ -0,0 +1,12 @@
+#ifndef SIBS_CONF_HPP
+#define SIBS_CONF_HPP
+
+#include "Result.hpp"
+#include <string>
+
+namespace sibs
+{
+ Result<std::string> readConf(const char *filepath);
+}
+
+#endif //SIBS_CONF_HPP