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/DestroyEvent.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/DestroyEvent.cpp')
-rw-r--r-- | src/libs/engine/events/DestroyEvent.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libs/engine/events/DestroyEvent.cpp b/src/libs/engine/events/DestroyEvent.cpp index d490bb6b..d373389b 100644 --- a/src/libs/engine/events/DestroyEvent.cpp +++ b/src/libs/engine/events/DestroyEvent.cpp @@ -16,7 +16,7 @@ #include "DestroyEvent.h" #include "Responder.h" -#include "Ingen.h" +#include "Engine.h" #include "Patch.h" #include "Tree.h" #include "Node.h" @@ -71,7 +71,7 @@ void DestroyEvent::pre_process() { if (m_node == NULL) - m_node = Ingen::instance().object_store()->find_node(m_path); + m_node = Engine::instance().object_store()->find_node(m_path); if (m_node != NULL && m_path != "/") { assert(m_node->parent_patch() != NULL); @@ -129,7 +129,7 @@ DestroyEvent::execute(SampleCount offset) m_parent_disconnect_event->execute(offset); if (m_node->parent_patch()->process_order() != NULL) - Ingen::instance().maid()->push(m_node->parent_patch()->process_order()); + Engine::instance().maid()->push(m_node->parent_patch()->process_order()); m_node->parent_patch()->process_order(m_process_order); } } @@ -153,9 +153,9 @@ DestroyEvent::post_process() m_disconnect_event->post_process(); if (m_parent_disconnect_event != NULL) m_parent_disconnect_event->post_process(); - Ingen::instance().client_broadcaster()->send_destroyed(m_path); - Ingen::instance().maid()->push(m_patch_listnode); - Ingen::instance().maid()->push(m_node); + Engine::instance().client_broadcaster()->send_destroyed(m_path); + Engine::instance().maid()->push(m_patch_listnode); + Engine::instance().maid()->push(m_node); } else { _responder->respond_error("Unable to destroy object"); } |