From 39d5400b39c8089287d5d294becae1268d232d31 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 7 Feb 2007 03:22:42 +0000 Subject: Mad sed-fu for consistent private member naming. git-svn-id: http://svn.drobilla.net/lad/ingen@286 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/events/RequestPluginEvent.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/libs/engine/events/RequestPluginEvent.cpp') diff --git a/src/libs/engine/events/RequestPluginEvent.cpp b/src/libs/engine/events/RequestPluginEvent.cpp index 8663f40a..66093ee8 100644 --- a/src/libs/engine/events/RequestPluginEvent.cpp +++ b/src/libs/engine/events/RequestPluginEvent.cpp @@ -32,8 +32,8 @@ namespace Ingen { RequestPluginEvent::RequestPluginEvent(Engine& engine, SharedPtr responder, SampleCount timestamp, const string& uri) : QueuedEvent(engine, responder, timestamp), - m_uri(uri), - m_plugin(NULL) + _uri(uri), + _plugin(NULL) { } @@ -41,8 +41,8 @@ RequestPluginEvent::RequestPluginEvent(Engine& engine, SharedPtr resp void RequestPluginEvent::pre_process() { - m_client = _engine.broadcaster()->client(_responder->client_key()); - m_plugin = _engine.node_factory()->plugin(m_uri); + _client = _engine.broadcaster()->client(_responder->client_key()); + _plugin = _engine.node_factory()->plugin(_uri); QueuedEvent::pre_process(); } @@ -59,14 +59,14 @@ RequestPluginEvent::execute(SampleCount nframes, FrameTime start, FrameTime end) void RequestPluginEvent::post_process() { - if (!m_plugin) { + if (!_plugin) { _responder->respond_error("Unable to find plugin requested."); - } else if (m_client) { + } else if (_client) { _responder->respond_ok(); - assert(m_plugin->uri() == m_uri); - m_client->new_plugin(m_uri, m_plugin->type_uri(), m_plugin->name()); + assert(_plugin->uri() == _uri); + _client->new_plugin(_uri, _plugin->type_uri(), _plugin->name()); } else { _responder->respond_error("Unable to find client to send plugin."); -- cgit v1.2.1