diff options
Diffstat (limited to 'src/client/PluginModel.cpp')
-rw-r--r-- | src/client/PluginModel.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/client/PluginModel.cpp b/src/client/PluginModel.cpp index 62bed5fb..d0fb3205 100644 --- a/src/client/PluginModel.cpp +++ b/src/client/PluginModel.cpp @@ -52,7 +52,7 @@ PluginModel::PluginModel(Shared::LV2URIMap& uris, assert(_rdf_world); add_property("http://www.w3.org/1999/02/22-rdf-syntax-ns#type", this->type_uri()); #ifdef HAVE_LILV - LilvValue* plugin_uri = lilv_value_new_uri(_lilv_world, uri.c_str()); + LilvValue* plugin_uri = lilv_new_uri(_lilv_world, uri.c_str()); _lilv_plugin = lilv_plugins_get_by_uri(_lilv_plugins, plugin_uri); lilv_value_free(plugin_uri); #endif @@ -100,7 +100,7 @@ PluginModel::get_property(const URI& key) const #ifdef HAVE_LILV if (_lilv_plugin) { boost::optional<Raul::Atom&> ret; - LilvValue* lv2_pred = lilv_value_new_uri(_lilv_world, key.str().c_str()); + LilvValue* lv2_pred = lilv_new_uri(_lilv_world, key.str().c_str()); LilvValues* values = lilv_plugin_get_value(_lilv_plugin, lv2_pred); lilv_value_free(lv2_pred); LILV_FOREACH(values, i, values) { @@ -218,7 +218,7 @@ string PluginModel::get_lv2_icon_path(const LilvPlugin* plugin) { string result; - LilvValue* svg_icon_pred = lilv_value_new_uri(_lilv_world, + LilvValue* svg_icon_pred = lilv_new_uri(_lilv_world, "http://ll-plugins.nongnu.org/lv2/namespace#svgIcon"); LilvValues* paths = lilv_plugin_get_value(plugin, svg_icon_pred); @@ -243,9 +243,9 @@ PluginModel::documentation() const if (!_lilv_plugin) return doc; - //LilvValue lv2_documentation = lilv_value_new_uri( + //LilvValue lv2_documentation = lilv_new_uri( // _lilv_world, LILV_NAMESPACE_LV2 "documentation"); - LilvValue* rdfs_comment = lilv_value_new_uri( + LilvValue* rdfs_comment = lilv_new_uri( _lilv_world, "http://www.w3.org/2000/01/rdf-schema#comment"); LilvValues* vals = lilv_plugin_get_value(_lilv_plugin, @@ -270,9 +270,9 @@ PluginModel::port_documentation(uint32_t index) const const LilvPort* port = lilv_plugin_get_port_by_index(_lilv_plugin, index); - //LilvValue lv2_documentation = lilv_value_new_uri( + //LilvValue lv2_documentation = lilv_new_uri( // _lilv_world, LILV_NAMESPACE_LV2 "documentation"); - LilvValue* rdfs_comment = lilv_value_new_uri( + LilvValue* rdfs_comment = lilv_new_uri( _lilv_world, "http://www.w3.org/2000/01/rdf-schema#comment"); LilvValues* vals = lilv_port_get_value(_lilv_plugin, |