diff options
| author | Aotrix <[email protected]> | 2025-11-09 18:14:41 +0100 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2025-11-09 18:14:41 +0100 |
| commit | ea390f7ccf1abda93ebb80faa2bd8a79eb13c8c9 (patch) | |
| tree | 4cb32e0ef223b2427a1fed79a3626c77b7eec39d /subprojects/battleNetApi/include/apiUrl.hpp | |
| parent | 7c7c8b4aafe91f49a3448b822dd604253545307d (diff) | |
added ApiUrl class
Diffstat (limited to 'subprojects/battleNetApi/include/apiUrl.hpp')
| -rw-r--r-- | subprojects/battleNetApi/include/apiUrl.hpp | 15 |
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; +}; |
