summaryrefslogtreecommitdiff
path: root/web/src/config.hpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-05-19 00:58:08 +0500
committerilotterytea <iltsu@alright.party>2024-05-19 00:58:08 +0500
commitfeede6c8024147d0b2f12c18d7dca622a797645b (patch)
tree4e353f8fc1bb396a2a2cf640e9f33775538abb02 /web/src/config.hpp
parent8539ae8ed393371270ac269d0f0069f1b25f6f6f (diff)
feat: config
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);
+}