summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-09-24 01:05:07 +0000
committerDavid Robillard <d@drobilla.net>2007-09-24 01:05:07 +0000
commit3af94d8f422593fc16951b7365a5c6e62708e4c0 (patch)
tree393b42798c9ad4ce3fdd7dcd844e238ddb06322a /utils
parent123ba8acf4817ae246130081f76fc7f4398e412d (diff)
downloadlilv-3af94d8f422593fc16951b7365a5c6e62708e4c0.tar.gz
lilv-3af94d8f422593fc16951b7365a5c6e62708e4c0.tar.bz2
lilv-3af94d8f422593fc16951b7365a5c6e62708e4c0.zip
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
Diffstat (limited to 'utils')
-rw-r--r--utils/lv2_inspect.c16
1 files changed, 8 insertions, 8 deletions
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,
// "<http://ll-plugins.nongnu.org/lv2/ext/gtk2ui#ui>");