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/DSSIUpdateEvent.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/libs/engine/events/DSSIUpdateEvent.cpp') diff --git a/src/libs/engine/events/DSSIUpdateEvent.cpp b/src/libs/engine/events/DSSIUpdateEvent.cpp index 216428ac..9a0a6585 100644 --- a/src/libs/engine/events/DSSIUpdateEvent.cpp +++ b/src/libs/engine/events/DSSIUpdateEvent.cpp @@ -18,8 +18,7 @@ #include #include "Node.h" #include "ObjectStore.h" -#include "Om.h" -#include "OmApp.h" +#include "Ingen.h" #include "DSSINode.h" #include "Plugin.h" @@ -28,7 +27,7 @@ using std::cerr; using std::endl; namespace Om { -DSSIUpdateEvent::DSSIUpdateEvent(CountedPtr responder, samplecount timestamp, const string& path, const string& url) +DSSIUpdateEvent::DSSIUpdateEvent(CountedPtr responder, SampleCount timestamp, const string& path, const string& url) : QueuedEvent(responder, timestamp), m_path(path), m_url(url), @@ -40,7 +39,7 @@ DSSIUpdateEvent::DSSIUpdateEvent(CountedPtr responder, samplecount ti void DSSIUpdateEvent::pre_process() { - Node* node = om->object_store()->find_node(m_path); + Node* node = Ingen::instance().object_store()->find_node(m_path); if (node == NULL || node->plugin()->type() != Plugin::DSSI) { m_node = NULL; @@ -55,7 +54,7 @@ DSSIUpdateEvent::pre_process() void -DSSIUpdateEvent::execute(samplecount offset) +DSSIUpdateEvent::execute(SampleCount offset) { if (m_node != NULL) { m_node->set_ui_url(m_url); -- cgit v1.2.1