summaryrefslogtreecommitdiffstats
path: root/src/server/InternalPlugin.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-12 15:56:21 +0000
committerDavid Robillard <d@drobilla.net>2012-08-12 15:56:21 +0000
commit21b1e2e485d9fa954ca742965d000f3273fcb862 (patch)
tree8f316c5adbf6d387d64ee895b862dae21614524a /src/server/InternalPlugin.cpp
parent65a81eec8943dc0504b8b8755f9866ee4993372c (diff)
downloadingen-21b1e2e485d9fa954ca742965d000f3273fcb862.tar.gz
ingen-21b1e2e485d9fa954ca742965d000f3273fcb862.tar.bz2
ingen-21b1e2e485d9fa954ca742965d000f3273fcb862.zip
Stricter symbol construction and conversion.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4670 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/InternalPlugin.cpp')
-rw-r--r--src/server/InternalPlugin.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/server/InternalPlugin.cpp b/src/server/InternalPlugin.cpp
index 587acaf6..0f1d380b 100644
--- a/src/server/InternalPlugin.cpp
+++ b/src/server/InternalPlugin.cpp
@@ -42,11 +42,11 @@ InternalPlugin::InternalPlugin(URIs& uris,
}
NodeImpl*
-InternalPlugin::instantiate(BufferFactory& bufs,
- const string& name,
- bool polyphonic,
- PatchImpl* parent,
- Engine& engine)
+InternalPlugin::instantiate(BufferFactory& bufs,
+ const Raul::Symbol& symbol,
+ bool polyphonic,
+ PatchImpl* parent,
+ Engine& engine)
{
assert(_type == Internal);
@@ -55,13 +55,13 @@ InternalPlugin::instantiate(BufferFactory& bufs,
const string uri_str = uri().str();
if (uri_str == NS_INTERNALS "Controller") {
- return new ControllerNode(this, bufs, name, polyphonic, parent, srate);
+ return new ControllerNode(this, bufs, symbol, polyphonic, parent, srate);
} else if (uri_str == NS_INTERNALS "Delay") {
- return new DelayNode(this, bufs, name, polyphonic, parent, srate);
+ return new DelayNode(this, bufs, symbol, polyphonic, parent, srate);
} else if (uri_str == NS_INTERNALS "Note") {
- return new NoteNode(this, bufs, name, polyphonic, parent, srate);
+ return new NoteNode(this, bufs, symbol, polyphonic, parent, srate);
} else if (uri_str == NS_INTERNALS "Trigger") {
- return new TriggerNode(this, bufs, name, polyphonic, parent, srate);
+ return new TriggerNode(this, bufs, symbol, polyphonic, parent, srate);
} else {
return NULL;
}