summaryrefslogtreecommitdiffstats
path: root/src/pluginuiinstance.c
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 /src/pluginuiinstance.c
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 'src/pluginuiinstance.c')
-rw-r--r--src/pluginuiinstance.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/pluginuiinstance.c b/src/pluginuiinstance.c
index 60a3267..662f1b7 100644
--- a/src/pluginuiinstance.c
+++ b/src/pluginuiinstance.c
@@ -33,14 +33,14 @@
SLV2UIInstance
-slv2_plugin_ui_instantiate(SLV2Plugin plugin,
- SLV2PluginUI ui,
- LV2UI_Write_Function write_function,
- LV2UI_Command_Function command_function,
- LV2UI_Program_Change_Function program_function,
- LV2UI_Program_Save_Function save_function,
- LV2UI_Controller controller,
- const LV2_Host_Feature* const* host_features)
+slv2_ui_instantiate(SLV2Plugin plugin,
+ SLV2UI ui,
+ LV2UI_Write_Function write_function,
+ LV2UI_Command_Function command_function,
+ LV2UI_Program_Change_Function program_function,
+ LV2UI_Program_Save_Function save_function,
+ LV2UI_Controller controller,
+ const LV2_Host_Feature* const* host_features)
{
struct _SLV2UIInstance* result = NULL;
@@ -50,7 +50,7 @@ slv2_plugin_ui_instantiate(SLV2Plugin plugin,
((LV2_Host_Feature**)host_features)[0] = NULL;
}
- const char* const lib_uri = slv2_plugin_ui_get_binary_uri(ui);
+ const char* const lib_uri = slv2_ui_get_binary_uri(ui);
const char* const lib_path = slv2_uri_to_path(lib_uri);
if (!lib_path)
@@ -72,7 +72,7 @@ slv2_plugin_ui_instantiate(SLV2Plugin plugin,
return NULL;
} else {
- const char* bundle_path = slv2_uri_to_path(slv2_plugin_ui_get_bundle_uri(ui));
+ const char* bundle_path = slv2_uri_to_path(slv2_ui_get_bundle_uri(ui));
for (uint32_t i=0; 1; ++i) {
@@ -80,10 +80,10 @@ slv2_plugin_ui_instantiate(SLV2Plugin plugin,
if (!ld) {
fprintf(stderr, "Did not find UI %s in %s\n",
- slv2_plugin_ui_get_uri(ui), lib_path);
+ slv2_ui_get_uri(ui), lib_path);
dlclose(lib);
break; // return NULL
- } else if (!strcmp(ld->URI, slv2_plugin_ui_get_uri(ui))) {
+ } else if (!strcmp(ld->URI, slv2_ui_get_uri(ui))) {
printf("Found UI %s at index %u in:\n\t%s\n\n",
librdf_uri_as_string(plugin->plugin_uri), i, lib_path);