diff options
author | David Robillard <d@drobilla.net> | 2008-08-16 23:30:21 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-08-16 23:30:21 +0000 |
commit | 3dc90cc95df35e5c786857336f22856c6373b00f (patch) | |
tree | 5d59f52c6242e6a0fced015542bd966f33779815 /src/libs/client/ClientStore.cpp | |
parent | d72ed9fd506756c83d97b62f6640135f3b8c32bb (diff) | |
download | ingen-3dc90cc95df35e5c786857336f22856c6373b00f.tar.gz ingen-3dc90cc95df35e5c786857336f22856c6373b00f.tar.bz2 ingen-3dc90cc95df35e5c786857336f22856c6373b00f.zip |
Clooser...
git-svn-id: http://svn.drobilla.net/lad/ingen@1408 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client/ClientStore.cpp')
-rw-r--r-- | src/libs/client/ClientStore.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/libs/client/ClientStore.cpp b/src/libs/client/ClientStore.cpp index 3c7f17aa..d0cb5906 100644 --- a/src/libs/client/ClientStore.cpp +++ b/src/libs/client/ClientStore.cpp @@ -418,16 +418,14 @@ ClientStore::new_patch_event(const Path& path, uint32_t poly) void -ClientStore::new_node_event(const string& plugin_uri, const Path& node_path, bool is_polyphonic, uint32_t num_ports) +ClientStore::new_node_event(const Path& path, const string& plugin_uri, bool polyphonic) { - // FIXME: num_ports unused - SharedPtr<PluginModel> plug = plugin(plugin_uri); if (!plug) { - SharedPtr<NodeModel> n(new NodeModel(plugin_uri, node_path, is_polyphonic)); + SharedPtr<NodeModel> n(new NodeModel(plugin_uri, path, polyphonic)); add_plugin_orphan(n); } else { - SharedPtr<NodeModel> n(new NodeModel(plug, node_path, is_polyphonic)); + SharedPtr<NodeModel> n(new NodeModel(plug, path, polyphonic)); add_object(n); } } |