diff options
Diffstat (limited to 'slv2/plugin.h')
-rw-r--r-- | slv2/plugin.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/slv2/plugin.h b/slv2/plugin.h index 4d53bb3..9dc53e7 100644 --- a/slv2/plugin.h +++ b/slv2/plugin.h @@ -321,6 +321,32 @@ slv2_plugin_get_port_by_symbol(SLV2Plugin plugin, const char* symbol); +/** Get a list of all GUIs available for this plugin. + * + * Note this returns the URI of the GUI, and not the path/URI to its shared + * library, use slv2_plugin_gui_get_library_uri with the values returned + * here for that. + * + * \param plugin The plugin to get the GUIs for. + * + * Time = Query + */ +SLV2Values +slv2_plugin_get_guis(SLV2Plugin plugin); + + +/** Get the URI for a GUI library. + * + * \param plugin The plugin that the GUI is for. + * \param gui A GUI identifier as returned by slv2_plugin_get_guis(). + * + * Time = Query + */ +SLV2Value +slv2_plugin_gui_get_library_uri(SLV2Plugin plugin, + SLV2Value gui); + + /** @} */ #ifdef __cplusplus |