From 6f7b994684032060f0a2d7af82f4f3572293b8d6 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Thu, 12 Jun 2025 21:41:41 +0800 Subject: internal!: organized internal structure, using cmake now --- src/IOManager.hpp | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 src/IOManager.hpp (limited to 'src/IOManager.hpp') diff --git a/src/IOManager.hpp b/src/IOManager.hpp deleted file mode 100644 index 670e597..0000000 --- a/src/IOManager.hpp +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once - -#include "chatManager.hpp" -#include "format.hpp" -#include - -class CIOManager { - public: - CIOManager(); - ~CIOManager(); - - struct SLog { - eFormatType type; - std::string log; - }; - struct SIO { - // once a time - std::optional msg = std::nullopt; - std::optional log = std::nullopt; - std::optional> custom = std::nullopt; - }; - - const std::vector &getIO() const; - void addLog(const SLog &log); - void addMessage(const CChatManager::SMessage &msg); - void addCustom(const std::pair &custom); - - private: - std::vector m_vIO; - - friend class CChatManager; -}; -inline std::unique_ptr g_pIOManager; -- cgit v1.2.3