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/RequestPluginsEvent.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/libs/engine/events/RequestPluginsEvent.cpp') diff --git a/src/libs/engine/events/RequestPluginsEvent.cpp b/src/libs/engine/events/RequestPluginsEvent.cpp index 6f3a92a8..286badb4 100644 --- a/src/libs/engine/events/RequestPluginsEvent.cpp +++ b/src/libs/engine/events/RequestPluginsEvent.cpp @@ -16,14 +16,13 @@ #include "RequestPluginsEvent.h" #include "Responder.h" -#include "Om.h" -#include "OmApp.h" +#include "Ingen.h" #include "ClientBroadcaster.h" namespace Om { -RequestPluginsEvent::RequestPluginsEvent(CountedPtr responder, samplecount timestamp) +RequestPluginsEvent::RequestPluginsEvent(CountedPtr responder, SampleCount timestamp) : QueuedEvent(responder, timestamp), m_client(CountedPtr(NULL)) { @@ -43,7 +42,7 @@ void RequestPluginsEvent::post_process() { if (m_client) { - om->client_broadcaster()->send_plugins_to(m_client.get()); + Ingen::instance().client_broadcaster()->send_plugins_to(m_client.get()); _responder->respond_ok(); } else { _responder->respond_error("Invalid URL"); -- cgit v1.2.1