mirror of
https://github.com/EyeTrackVR/OpenIris.git
synced 2025-11-04 15:39:42 +08:00
update
- remove callback method
This commit is contained in:
parent
70efcf0988
commit
b57468a9c1
@ -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)
|
||||||
|
|||||||
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user