summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/NodeFactory.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-08 16:30:57 +0000
committerDavid Robillard <d@drobilla.net>2007-10-08 16:30:57 +0000
commit763bba9de67fb1bd06658a0bac91440727ee5a51 (patch)
tree39e7af069828981c2c06d78e015686062eba73dc /src/libs/engine/NodeFactory.cpp
parent260a406b12997fdab7446a9980e921d8cfc46915 (diff)
downloadingen-763bba9de67fb1bd06658a0bac91440727ee5a51.tar.gz
ingen-763bba9de67fb1bd06658a0bac91440727ee5a51.tar.bz2
ingen-763bba9de67fb1bd06658a0bac91440727ee5a51.zip
SharedPtr-ify engine side store.
Fix reattaching to engine. Fix connection paths. Remove last dependencies on client (model) library from Serialiser. Fix Raul::PathTable::find_descendants_end. git-svn-id: http://svn.drobilla.net/lad/ingen@847 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/NodeFactory.cpp')
-rw-r--r--src/libs/engine/NodeFactory.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libs/engine/NodeFactory.cpp b/src/libs/engine/NodeFactory.cpp
index cef8e9a4..09d69e18 100644
--- a/src/libs/engine/NodeFactory.cpp
+++ b/src/libs/engine/NodeFactory.cpp
@@ -28,7 +28,7 @@
#include "MidiControlNode.hpp"
#include "TransportNode.hpp"
#include "PluginImpl.hpp"
-#include "Patch.hpp"
+#include "PatchImpl.hpp"
#ifdef HAVE_SLV2
#include "LV2Node.hpp"
#include <slv2/slv2.h>
@@ -55,7 +55,7 @@ NodeFactory::NodeFactory(Ingen::Shared::World* world)
// Add builtin plugin types to _internal_plugins list
// FIXME: ewwww, definitely a better way to do this!
- Patch* parent = new Patch(*world->local_engine, "dummy", 1, NULL, 1, 1, 1);
+ PatchImpl* parent = new PatchImpl(*world->local_engine, "dummy", 1, NULL, 1, 1, 1);
NodeImpl* n = NULL;
n = new MidiNoteNode("foo", 1, parent, 1, 1);
@@ -173,7 +173,7 @@ NodeImpl*
NodeFactory::load_plugin(const PluginImpl* a_plugin,
const string& name,
bool polyphonic,
- Patch* parent)
+ PatchImpl* parent)
{
assert(parent != NULL);
assert(a_plugin);
@@ -244,7 +244,7 @@ NodeImpl*
NodeFactory::load_internal_plugin(const string& uri,
const string& name,
bool polyphonic,
- Patch* parent,
+ PatchImpl* parent,
SampleRate srate,
size_t buffer_size)
{
@@ -319,7 +319,7 @@ NodeImpl*
NodeFactory::load_lv2_plugin(const string& plug_uri,
const string& node_name,
bool polyphonic,
- Patch* parent,
+ PatchImpl* parent,
SampleRate srate,
size_t buffer_size)
{
@@ -456,7 +456,7 @@ NodeImpl*
NodeFactory::load_ladspa_plugin(const string& uri,
const string& name,
bool polyphonic,
- Patch* parent,
+ PatchImpl* parent,
SampleRate srate,
size_t buffer_size)
{