summaryrefslogtreecommitdiffstats
path: root/src/pluginuiinstance.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-11 01:07:33 +0000
committerDavid Robillard <d@drobilla.net>2011-02-11 01:07:33 +0000
commitad69b46ed592c3f8b680f29653702b03b0559963 (patch)
tree1c4e355074dddbc9c7795c0402b4c11669cc05f7 /src/pluginuiinstance.c
parent7cc22c3fd0ee9f931a43d6f54be2b3be1cb09050 (diff)
downloadlilv-ad69b46ed592c3f8b680f29653702b03b0559963.tar.gz
lilv-ad69b46ed592c3f8b680f29653702b03b0559963.tar.bz2
lilv-ad69b46ed592c3f8b680f29653702b03b0559963.zip
Use `static' and `SLV2_API' explicitly/consistently.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2915 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/pluginuiinstance.c')
-rw-r--r--src/pluginuiinstance.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/pluginuiinstance.c b/src/pluginuiinstance.c
index b7357f9..3fee84b 100644
--- a/src/pluginuiinstance.c
+++ b/src/pluginuiinstance.c
@@ -31,12 +31,13 @@
#include "slv2/util.h"
#include "slv2_internal.h"
+SLV2_API
SLV2UIInstance
-slv2_ui_instantiate(SLV2Plugin plugin,
- SLV2UI ui,
- LV2UI_Write_Function write_function,
- LV2UI_Controller controller,
- const LV2_Feature* const* features)
+slv2_ui_instantiate(SLV2Plugin plugin,
+ SLV2UI ui,
+ LV2UI_Write_Function write_function,
+ LV2UI_Controller controller,
+ const LV2_Feature* const* features)
{
struct _SLV2UIInstance* result = NULL;
@@ -119,6 +120,7 @@ slv2_ui_instantiate(SLV2Plugin plugin,
return result;
}
+SLV2_API
void
slv2_ui_instance_free(SLV2UIInstance instance)
{
@@ -135,16 +137,19 @@ slv2_ui_instance_free(SLV2UIInstance instance)
free(i);
}
+SLV2_API
LV2UI_Widget
slv2_ui_instance_get_widget(SLV2UIInstance instance) {
return instance->pimpl->widget;
}
+SLV2_API
const LV2UI_Descriptor*
slv2_ui_instance_get_descriptor(SLV2UIInstance instance) {
return instance->pimpl->lv2ui_descriptor;
}
+SLV2_API
LV2UI_Handle
slv2_ui_instance_get_handle(SLV2UIInstance instance) {
return instance->pimpl->lv2ui_handle;