From 29e4fbbb630d8c3722e19211df6e2b58274a33ef Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 17 Apr 2012 21:16:18 +0000 Subject: 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 --- lilv/lilv.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lilv') diff --git a/lilv/lilv.h b/lilv/lilv.h index 80bf23c..893d1ad 100644 --- a/lilv/lilv.h +++ b/lilv/lilv.h @@ -913,6 +913,16 @@ lilv_plugin_get_port_by_designation(const LilvPlugin* plugin, const LilvNode* port_class, 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. -- cgit v1.2.1