From 2dbd0cd81dff72aea42344188d20f7d7f6d20e1a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 18 Jul 2006 05:46:24 +0000 Subject: Removed globals (Om.h) git-svn-id: http://svn.drobilla.net/lad/ingen@96 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/events/DeactivateEvent.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/libs/engine/events/DeactivateEvent.cpp') diff --git a/src/libs/engine/events/DeactivateEvent.cpp b/src/libs/engine/events/DeactivateEvent.cpp index 0deee46a..803373f1 100644 --- a/src/libs/engine/events/DeactivateEvent.cpp +++ b/src/libs/engine/events/DeactivateEvent.cpp @@ -16,13 +16,12 @@ #include "DeactivateEvent.h" #include "Responder.h" -#include "Om.h" -#include "OmApp.h" +#include "Ingen.h" namespace Om { -DeactivateEvent::DeactivateEvent(CountedPtr responder, samplecount timestamp) +DeactivateEvent::DeactivateEvent(CountedPtr responder, SampleCount timestamp) : QueuedEvent(responder, timestamp) { } @@ -36,7 +35,7 @@ DeactivateEvent::pre_process() void -DeactivateEvent::execute(samplecount offset) +DeactivateEvent::execute(SampleCount offset) { QueuedEvent::execute(offset); } @@ -46,7 +45,7 @@ void DeactivateEvent::post_process() { _responder->respond_ok(); - om->deactivate(); + Ingen::instance().deactivate(); } -- cgit v1.2.1