summaryrefslogtreecommitdiffstats
path: root/src/client/PluginModel.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-29 02:09:01 +0000
committerDavid Robillard <d@drobilla.net>2011-04-29 02:09:01 +0000
commit8a73d68a8857588396dfe201dcf76c4dfb84722e (patch)
treeac3931da68bf9508c5a12fb549439c844e054561 /src/client/PluginModel.cpp
parent8bc9aca63644d63de3ccccbb4752e79d3d3c7854 (diff)
downloadingen-8a73d68a8857588396dfe201dcf76c4dfb84722e.tar.gz
ingen-8a73d68a8857588396dfe201dcf76c4dfb84722e.tar.bz2
ingen-8a73d68a8857588396dfe201dcf76c4dfb84722e.zip
Terser names for value constructors.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3223 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/PluginModel.cpp')
-rw-r--r--src/client/PluginModel.cpp14
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,