From 6f4460aee9962a49ae872eef42ba75a439ea6e59 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 25 Jan 2008 06:55:57 +0000 Subject: Overhaul SLV2 API to return/take SLV2Value (instead of strings or primitives) wherever possible. Make 'index' a fundemental property of ingen ports. git-svn-id: http://svn.drobilla.net/lad/slv2@1113 a436a847-0d15-0410-975c-d299462d15a1 --- slv2/pluginui.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'slv2/pluginui.h') diff --git a/slv2/pluginui.h b/slv2/pluginui.h index b01bf34..8fc1f06 100644 --- a/slv2/pluginui.h +++ b/slv2/pluginui.h @@ -34,7 +34,7 @@ extern "C" { * * Time = O(1) */ -const char* +SLV2Value slv2_ui_get_uri(SLV2UI ui); @@ -50,14 +50,14 @@ slv2_ui_get_classes(SLV2UI ui); /** Check whether a plugin UI is a given type. * - * \param ui The Plugin UI - * \param type_uri The URI of the LV2 UI type to check this UI against + * \param ui The Plugin UI + * \param class_uri The URI of the LV2 UI type to check this UI against * * Time = O(1) */ bool -slv2_ui_is_a(SLV2UI ui, const char* type_uri); - +slv2_ui_is_a(SLV2UI ui, SLV2Value class_uri); + /** Get the URI for a Plugin UI's bundle. * @@ -65,7 +65,7 @@ slv2_ui_is_a(SLV2UI ui, const char* type_uri); * * Time = O(1) */ -const char* +SLV2Value slv2_ui_get_bundle_uri(SLV2UI ui); @@ -75,7 +75,7 @@ slv2_ui_get_bundle_uri(SLV2UI ui); * * Time = O(1) */ -const char* +SLV2Value slv2_ui_get_binary_uri(SLV2UI ui); -- cgit v1.2.1