summaryrefslogtreecommitdiff
path: root/subprojects/battleNetApi/include/apiUrl.hpp
diff options
context:
space:
mode:
authorAotrix <[email protected]>2025-11-09 18:14:41 +0100
committerAotrix <[email protected]>2025-11-09 18:14:41 +0100
commitea390f7ccf1abda93ebb80faa2bd8a79eb13c8c9 (patch)
tree4cb32e0ef223b2427a1fed79a3626c77b7eec39d /subprojects/battleNetApi/include/apiUrl.hpp
parent7c7c8b4aafe91f49a3448b822dd604253545307d (diff)
added ApiUrl class
Diffstat (limited to 'subprojects/battleNetApi/include/apiUrl.hpp')
-rw-r--r--subprojects/battleNetApi/include/apiUrl.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/subprojects/battleNetApi/include/apiUrl.hpp b/subprojects/battleNetApi/include/apiUrl.hpp
new file mode 100644
index 0000000..cefce0b
--- /dev/null
+++ b/subprojects/battleNetApi/include/apiUrl.hpp
@@ -0,0 +1,15 @@
+#pragma once
+#include <string>
+#include <unordered_map>
+
+class ApiUrl {
+ public:
+ ApiUrl(const std::string iContentType);
+ void setLocale(const std::string iLocale);
+ void setGameMode(const std::string iGameMode);
+ std::string operator()();
+
+ private:
+ std::string mContentType;
+ std::unordered_map<std::string, std::string> aParameters;
+};