- remove callback method
This commit is contained in:
ZanzyTHEbar 2022-12-13 22:57:45 +00:00
parent 70efcf0988
commit b57468a9c1
2 changed files with 0 additions and 6 deletions

View File

@ -92,11 +92,6 @@ void AutoDiscovery::stop()
stateManager->setState(MDNSState_e::MDNSState_QueryComplete); stateManager->setState(MDNSState_e::MDNSState_QueryComplete);
} }
void AutoDiscovery::setCallback(void (*callback)(const char *))
{
this->callback = callback;
}
void AutoDiscovery::update(ObserverEvent::Event event) void AutoDiscovery::update(ObserverEvent::Event event)
{ {
switch (event) switch (event)

View File

@ -27,7 +27,6 @@ public:
ProjectConfig *configManager); ProjectConfig *configManager);
~AutoDiscovery(); ~AutoDiscovery();
void start(); void start();
void setCallback(void (*callback)(const char *));
void update(ObserverEvent::Event event); void update(ObserverEvent::Event event);
}; };