diff options
author | David Robillard <d@drobilla.net> | 2007-02-07 03:22:42 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-02-07 03:22:42 +0000 |
commit | 39d5400b39c8089287d5d294becae1268d232d31 (patch) | |
tree | 0cf73ef86233121bc7f0408ca536aad196d3166c /src/libs/engine/events/DisablePatchEvent.cpp | |
parent | e135edf1e65ac978f86f4849bd3667299dd69c7e (diff) | |
download | ingen-39d5400b39c8089287d5d294becae1268d232d31.tar.gz ingen-39d5400b39c8089287d5d294becae1268d232d31.tar.bz2 ingen-39d5400b39c8089287d5d294becae1268d232d31.zip |
Mad sed-fu for consistent private member naming.
git-svn-id: http://svn.drobilla.net/lad/ingen@286 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events/DisablePatchEvent.cpp')
-rw-r--r-- | src/libs/engine/events/DisablePatchEvent.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/libs/engine/events/DisablePatchEvent.cpp b/src/libs/engine/events/DisablePatchEvent.cpp index ed0234f7..f347b9b3 100644 --- a/src/libs/engine/events/DisablePatchEvent.cpp +++ b/src/libs/engine/events/DisablePatchEvent.cpp @@ -28,8 +28,8 @@ namespace Ingen { DisablePatchEvent::DisablePatchEvent(Engine& engine, SharedPtr<Responder> responder, SampleCount timestamp, const string& patch_path) : QueuedEvent(engine, responder, timestamp), - m_patch_path(patch_path), - m_patch(NULL) + _patch_path(patch_path), + _patch(NULL) { } @@ -37,7 +37,7 @@ DisablePatchEvent::DisablePatchEvent(Engine& engine, SharedPtr<Responder> respon void DisablePatchEvent::pre_process() { - m_patch = _engine.object_store()->find_patch(m_patch_path); + _patch = _engine.object_store()->find_patch(_patch_path); QueuedEvent::pre_process(); } @@ -48,19 +48,19 @@ DisablePatchEvent::execute(SampleCount nframes, FrameTime start, FrameTime end) { QueuedEvent::execute(nframes, start, end); - if (m_patch != NULL) - m_patch->disable(); + if (_patch != NULL) + _patch->disable(); } void DisablePatchEvent::post_process() { - if (m_patch != NULL) { + if (_patch != NULL) { _responder->respond_ok(); - _engine.broadcaster()->send_patch_disable(m_patch_path); + _engine.broadcaster()->send_patch_disable(_patch_path); } else { - _responder->respond_error(string("Patch ") + m_patch_path + " not found"); + _responder->respond_error(string("Patch ") + _patch_path + " not found"); } } |