diff options
author | David Robillard <d@drobilla.net> | 2007-10-07 19:41:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-10-07 19:41:15 +0000 |
commit | 23683a3e4f03dd8f7cdb1dc1a1592fdaa9d18b23 (patch) | |
tree | 837168a652de1a3be0f381e4a4854088dbafa6a2 /src/libs/engine/events/CreateNodeEvent.cpp | |
parent | 2cb36f0265a391388b6edf988d919911b79aca4d (diff) | |
download | ingen-23683a3e4f03dd8f7cdb1dc1a1592fdaa9d18b23.tar.gz ingen-23683a3e4f03dd8f7cdb1dc1a1592fdaa9d18b23.tar.bz2 ingen-23683a3e4f03dd8f7cdb1dc1a1592fdaa9d18b23.zip |
Added common abstract interface for Plugins.
git-svn-id: http://svn.drobilla.net/lad/ingen@837 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events/CreateNodeEvent.cpp')
-rw-r--r-- | src/libs/engine/events/CreateNodeEvent.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/engine/events/CreateNodeEvent.cpp b/src/libs/engine/events/CreateNodeEvent.cpp index 991ee0a8..df891cd3 100644 --- a/src/libs/engine/events/CreateNodeEvent.cpp +++ b/src/libs/engine/events/CreateNodeEvent.cpp @@ -22,7 +22,7 @@ #include "Responder.hpp" #include "Patch.hpp" #include "NodeImpl.hpp" -#include "Plugin.hpp" +#include "PluginImpl.hpp" #include "Engine.hpp" #include "Patch.hpp" #include "NodeFactory.hpp" @@ -78,7 +78,7 @@ CreateNodeEvent::pre_process() _patch = _engine.object_store()->find_patch(_path.parent()); - const Plugin* plugin = (_plugin_uri != "") + const PluginImpl* plugin = (_plugin_uri != "") ? _engine.node_factory()->plugin(_plugin_uri) : _engine.node_factory()->plugin(_plugin_type, _plugin_lib, _plugin_label); |