diff options
Diffstat (limited to 'src/pluginui.c')
-rw-r--r-- | src/pluginui.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/pluginui.c b/src/pluginui.c index 08490b7..f4c2980 100644 --- a/src/pluginui.c +++ b/src/pluginui.c @@ -26,7 +26,6 @@ #include "slv2/pluginui.h" #include "slv2_internal.h" -/* private */ SLV2UI slv2_ui_new(SLV2World world, SLV2Value uri, @@ -55,7 +54,6 @@ slv2_ui_new(SLV2World world, return ui; } -/* private */ void slv2_ui_free(SLV2UI ui) { @@ -73,6 +71,7 @@ slv2_ui_free(SLV2UI ui) free(ui); } +SLV2_API SLV2Value slv2_ui_get_uri(SLV2UI ui) { @@ -81,18 +80,21 @@ slv2_ui_get_uri(SLV2UI ui) return ui->uri; } +SLV2_API SLV2Values slv2_ui_get_classes(SLV2UI ui) { return ui->classes; } +SLV2_API bool slv2_ui_is_a(SLV2UI ui, SLV2Value ui_class_uri) { return slv2_values_contains(ui->classes, ui_class_uri); } +SLV2_API SLV2Value slv2_ui_get_bundle_uri(SLV2UI ui) { @@ -101,6 +103,7 @@ slv2_ui_get_bundle_uri(SLV2UI ui) return ui->bundle_uri; } +SLV2_API SLV2Value slv2_ui_get_binary_uri(SLV2UI ui) { |