diff options
Diffstat (limited to 'src/client/ClientStore.cpp')
-rw-r--r-- | src/client/ClientStore.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp index e99f9c73..3755772c 100644 --- a/src/client/ClientStore.cpp +++ b/src/client/ClientStore.cpp @@ -20,6 +20,7 @@ #include "ingen/client/ClientStore.hpp" #include "ingen/client/GraphModel.hpp" #include "ingen/client/ObjectModel.hpp" +#include "ingen/client/ParameterModel.hpp" #include "ingen/client/PluginModel.hpp" #include "ingen/client/PortModel.hpp" #include "ingen/client/SigClientInterface.hpp" @@ -243,9 +244,9 @@ ClientStore::put(const Raul::URI& uri, { typedef Resource::Properties::const_iterator Iterator; - bool is_graph, is_block, is_port, is_output; + bool is_graph, is_block, is_port, is_parameter, is_output; Resource::type(uris(), properties, - is_graph, is_block, is_port, is_output); + is_graph, is_block, is_port, is_parameter, is_output); // Check for specially handled types const Iterator t = properties.find(_uris.rdf_type); @@ -337,6 +338,10 @@ ClientStore::put(const Raul::URI& uri, SPtr<PortModel> p(new PortModel(uris(), path, index, pdir)); p->set_properties(properties); add_object(p); + } else if (is_parameter) { + SPtr<ObjectModel> p(new ParameterModel(uris(), path)); + p->set_properties(properties); + add_object(p); } else { _log.warn(fmt("Ignoring %1% of unknown type\n") % path.c_str()); } |