From 3af94d8f422593fc16951b7365a5c6e62708e4c0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 24 Sep 2007 01:05:07 +0000 Subject: LV2 UI interface cleanups. Documentation reorganization. Updated LV2 spec (1.0beta5). git-svn-id: http://svn.drobilla.net/lad/slv2@775 a436a847-0d15-0410-975c-d299462d15a1 --- utils/lv2_inspect.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'utils') diff --git a/utils/lv2_inspect.c b/utils/lv2_inspect.c index b229c8e..feb9b58 100644 --- a/utils/lv2_inspect.c +++ b/utils/lv2_inspect.c @@ -126,16 +126,16 @@ print_plugin(SLV2Plugin p) printf("\tBundle: %s\n", slv2_plugin_get_bundle_uri(p)); printf("\tBinary: %s\n", slv2_plugin_get_library_uri(p)); - SLV2PluginUIs uis = slv2_plugin_get_uis(p); + SLV2UIs uis = slv2_plugin_get_uis(p); if (slv2_values_size(uis) > 0) { printf("\tGUI: "); - for (unsigned i=0; i < slv2_plugin_uis_size(uis); ++i) { - SLV2PluginUI ui = slv2_plugin_uis_get_at(uis, i); - printf("%s\n", slv2_plugin_ui_get_uri(ui)); + for (unsigned i=0; i < slv2_uis_size(uis); ++i) { + SLV2UI ui = slv2_uis_get_at(uis, i); + printf("%s\n", slv2_ui_get_uri(ui)); - const char* binary = slv2_plugin_ui_get_binary_uri(ui); + const char* binary = slv2_ui_get_binary_uri(ui); - SLV2Values types = slv2_plugin_ui_get_types(ui); + SLV2Values types = slv2_ui_get_types(ui); for (unsigned i=0; i < slv2_values_size(types); ++i) { printf("\t\t\tType: %s\n", slv2_value_as_uri(slv2_values_get_at(types, i))); } @@ -143,10 +143,10 @@ print_plugin(SLV2Plugin p) if (binary) printf("\t\t\tBinary: %s\n", binary); - printf("\t\t\tBundle: %s\n", slv2_plugin_ui_get_bundle_uri(ui)); + printf("\t\t\tBundle: %s\n", slv2_ui_get_bundle_uri(ui)); } } - slv2_plugin_uis_free(uis); + slv2_uis_free(uis); //SLV2Values ui = slv2_plugin_get_value_for_subject(p, // ""); -- cgit v1.2.1