diff options
author | David Robillard <d@drobilla.net> | 2006-07-20 04:15:03 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-07-20 04:15:03 +0000 |
commit | b5b6dba0480b3dcec4b130ea606d63f4a3854920 (patch) | |
tree | 22e3c06d815da7b33f6061253c94cf3621b37265 /src/libs/engine/events/EnablePatchEvent.cpp | |
parent | 767b10d6fa3313b2bd4e1dcc0d96dda3409c4944 (diff) | |
download | ingen-b5b6dba0480b3dcec4b130ea606d63f4a3854920.tar.gz ingen-b5b6dba0480b3dcec4b130ea606d63f4a3854920.tar.bz2 ingen-b5b6dba0480b3dcec4b130ea606d63f4a3854920.zip |
Renamed Engine class to "Engine" (from "Ingen") to avoid confusion with namespace Ingen
git-svn-id: http://svn.drobilla.net/lad/ingen@99 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events/EnablePatchEvent.cpp')
-rw-r--r-- | src/libs/engine/events/EnablePatchEvent.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/engine/events/EnablePatchEvent.cpp b/src/libs/engine/events/EnablePatchEvent.cpp index e24c2fe1..b2b3ee08 100644 --- a/src/libs/engine/events/EnablePatchEvent.cpp +++ b/src/libs/engine/events/EnablePatchEvent.cpp @@ -16,7 +16,7 @@ #include "EnablePatchEvent.h" #include "Responder.h" -#include "Ingen.h" +#include "Engine.h" #include "Patch.h" #include "util.h" #include "ClientBroadcaster.h" @@ -37,7 +37,7 @@ EnablePatchEvent::EnablePatchEvent(CountedPtr<Responder> responder, SampleCount void EnablePatchEvent::pre_process() { - m_patch = Ingen::instance().object_store()->find_patch(m_patch_path); + m_patch = Engine::instance().object_store()->find_patch(m_patch_path); if (m_patch != NULL) { /* Any event that requires a new process order will set the patch's @@ -70,7 +70,7 @@ EnablePatchEvent::post_process() { if (m_patch != NULL) { _responder->respond_ok(); - Ingen::instance().client_broadcaster()->send_patch_enable(m_patch_path); + Engine::instance().client_broadcaster()->send_patch_enable(m_patch_path); } else { _responder->respond_error(string("Patch ") + m_patch_path + " not found"); } |