summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events/EnablePatchEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/events/EnablePatchEvent.cpp')
-rw-r--r--src/libs/engine/events/EnablePatchEvent.cpp6
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");
}