diff options
Diffstat (limited to 'src/libs/engine/events/UnregisterClientEvent.cpp')
-rw-r--r-- | src/libs/engine/events/UnregisterClientEvent.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libs/engine/events/UnregisterClientEvent.cpp b/src/libs/engine/events/UnregisterClientEvent.cpp index 97f36b0b..622b6c9a 100644 --- a/src/libs/engine/events/UnregisterClientEvent.cpp +++ b/src/libs/engine/events/UnregisterClientEvent.cpp @@ -16,15 +16,14 @@ #include "UnregisterClientEvent.h" #include "Responder.h" -#include "Om.h" -#include "OmApp.h" +#include "Ingen.h" #include "ClientBroadcaster.h" #include "interface/ClientInterface.h" namespace Om { -UnregisterClientEvent::UnregisterClientEvent(CountedPtr<Responder> responder, samplecount timestamp, ClientKey key) +UnregisterClientEvent::UnregisterClientEvent(CountedPtr<Responder> responder, SampleCount timestamp, ClientKey key) : QueuedEvent(responder, timestamp) , _key(key) { @@ -34,7 +33,7 @@ UnregisterClientEvent::UnregisterClientEvent(CountedPtr<Responder> responder, sa void UnregisterClientEvent::post_process() { - if (om->client_broadcaster()->unregister_client(_key)) + if (Ingen::instance().client_broadcaster()->unregister_client(_key)) _responder->respond_ok(); else _responder->respond_error("Unable to unregister client"); |