summaryrefslogtreecommitdiffstats
path: root/lilv
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-17 21:16:18 +0000
committerDavid Robillard <d@drobilla.net>2012-04-17 21:16:18 +0000
commit29e4fbbb630d8c3722e19211df6e2b58274a33ef (patch)
tree9a37df89ec543293f82c06b63d06f1badd0dfc74 /lilv
parentaaf39ebc6fef12487b981414487f93731bc02e2f (diff)
downloadlilv-29e4fbbb630d8c3722e19211df6e2b58274a33ef.tar.gz
lilv-29e4fbbb630d8c3722e19211df6e2b58274a33ef.tar.bz2
lilv-29e4fbbb630d8c3722e19211df6e2b58274a33ef.zip
Add lilv_plugin_get_project() and get author information from project if it is not given directly on the plugin.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4189 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'lilv')
-rw-r--r--lilv/lilv.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lilv/lilv.h b/lilv/lilv.h
index 80bf23c..893d1ad 100644
--- a/lilv/lilv.h
+++ b/lilv/lilv.h
@@ -914,6 +914,16 @@ lilv_plugin_get_port_by_designation(const LilvPlugin* plugin,
const LilvNode* designation);
/**
+ Get the project the plugin is a part of.
+
+ More information about the project can be read via lilv_world_find_nodes(),
+ typically using properties from DOAP (e.g. doap:name).
+*/
+LILV_API
+LilvNode*
+lilv_plugin_get_project(const LilvPlugin* plugin);
+
+/**
Get the full name of the plugin's author.
Returns NULL if author name is not present.
Returned value must be freed by caller.