#pragma once #include #include "data/StateManager/StateManager.hpp" #include "data/utilities/Observer.hpp" #include "data/utilities/helpers.hpp" #include "data/config/project_config.hpp" class MDNSHandler : public IObserver { private: StateManager *stateManager; ProjectConfig *configManager; public: MDNSHandler(StateManager *stateManager, ProjectConfig *configManager) : stateManager(stateManager), configManager(configManager) {} void startMDNS(); void update(ObserverEvent::Event event); };