summaryrefslogtreecommitdiff
path: root/web/src/config.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/config.hpp')
-rw-r--r--web/src/config.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/web/src/config.hpp b/web/src/config.hpp
new file mode 100644
index 0000000..11f8b04
--- /dev/null
+++ b/web/src/config.hpp
@@ -0,0 +1,12 @@
+#pragma once
+
+#include <optional>
+#include <string>
+namespace botweb {
+ struct Configuration {
+ std::string contact_name = "some guy", contact_url = "#";
+ };
+
+ std::optional<Configuration> parse_configuration_from_file(
+ const std::string &file_path);
+}