#include "../include/Room.hpp" namespace dchat { static std::shared_ptr currentRoom = nullptr; static std::shared_ptr rooms = nullptr; std::shared_ptr getCurrentRoom() { return currentRoom; } void setCurrentRoom(std::shared_ptr room) { currentRoom = room; } std::shared_ptr getRooms() { return rooms; } void setRooms(std::shared_ptr _rooms) { rooms = _rooms; } }