summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events/LoadPluginsEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/events/LoadPluginsEvent.cpp')
-rw-r--r--src/libs/engine/events/LoadPluginsEvent.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libs/engine/events/LoadPluginsEvent.cpp b/src/libs/engine/events/LoadPluginsEvent.cpp
index f35fc2fb..317171ba 100644
--- a/src/libs/engine/events/LoadPluginsEvent.cpp
+++ b/src/libs/engine/events/LoadPluginsEvent.cpp
@@ -16,8 +16,7 @@
#include "LoadPluginsEvent.h"
#include "Responder.h"
-#include "Om.h"
-#include "OmApp.h"
+#include "Ingen.h"
#include "NodeFactory.h"
#include <iostream>
@@ -26,11 +25,11 @@ using std::cerr;
namespace Om {
-LoadPluginsEvent::LoadPluginsEvent(CountedPtr<Responder> responder, samplecount timestamp)
+LoadPluginsEvent::LoadPluginsEvent(CountedPtr<Responder> responder, SampleCount timestamp)
: QueuedEvent(responder, timestamp)
{
cerr << "LOADING PLUGINS\n";
- om->node_factory()->load_plugins();
+ Ingen::instance().node_factory()->load_plugins();
}