summaryrefslogtreecommitdiff
path: root/src/IOManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/IOManager.cpp')
-rw-r--r--src/IOManager.cpp34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/IOManager.cpp b/src/IOManager.cpp
deleted file mode 100644
index eb648e5..0000000
--- a/src/IOManager.cpp
+++ /dev/null
@@ -1,34 +0,0 @@
-#include "IOManager.hpp"
-#include "inputManager.hpp"
-#include "log.hpp"
-
-CIOManager::CIOManager() {
- log(LOG, "IOManager: initialized");
-}
-
-CIOManager::~CIOManager() {
- m_vIO.clear();
- log(SYS, "IOManager: bye");
-}
-
-const std::vector<CIOManager::SIO> &CIOManager::getIO() const {
- return m_vIO;
-}
-
-void CIOManager::addLog(const SLog &log) {
- m_vIO.push_back({.log = log});
- if (g_pInputManager)
- g_pInputManager->updateIO();
-}
-
-void CIOManager::addMessage(const CChatManager::SMessage &msg) {
- m_vIO.push_back({.msg = msg});
- if (g_pInputManager)
- g_pInputManager->updateIO();
-}
-
-void CIOManager::addCustom(const std::pair<std::string, std::string> &custom) {
- m_vIO.push_back({.custom = custom});
- if (g_pInputManager)
- g_pInputManager->updateIO();
-}