mirror of
https://github.com/EyeTrackVR/OpenIris.git
synced 2025-11-04 15:39:42 +08:00
18 lines
602 B
C++
18 lines
602 B
C++
#pragma once
|
|
#include <ESPmDNS.h>
|
|
#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<ProgramStates::DeviceStates::MDNSState_e> *stateManager;
|
|
ProjectConfig *configManager;
|
|
|
|
public:
|
|
MDNSHandler(StateManager<ProgramStates::DeviceStates::MDNSState_e> *stateManager, ProjectConfig *configManager) : stateManager(stateManager), configManager(configManager) {}
|
|
void startMDNS();
|
|
void update(ObserverEvent::Event event);
|
|
}; |