summaryrefslogtreecommitdiff
path: root/battleNetApi/include/tokenPool.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'battleNetApi/include/tokenPool.hpp')
-rw-r--r--battleNetApi/include/tokenPool.hpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/battleNetApi/include/tokenPool.hpp b/battleNetApi/include/tokenPool.hpp
deleted file mode 100644
index 0b1e4cc..0000000
--- a/battleNetApi/include/tokenPool.hpp
+++ /dev/null
@@ -1,20 +0,0 @@
-#pragma once
-
-#include <queue>
-#include <token.hpp>
-
-static std::queue<Token> aTokenContainer;
-
-class TokenPool {
- private:
- TokenPool() = delete;
- TokenPool(const TokenPool &) = delete;
- TokenPool(TokenPool &&) = delete;
- TokenPool &operator=(const TokenPool &) = delete;
- TokenPool &operator=(TokenPool &&) = delete;
-
- public:
- static void feedTokenSource(const std::span<std::string> &iJsonPaths);
- static void feedTokenSource(const std::string &iJsonPath);
- static std::optional<Token> availableToken();
-};