summaryrefslogtreecommitdiffstats
path: root/slv2/plugin.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-06-30 22:29:56 +0000
committerDavid Robillard <d@drobilla.net>2007-06-30 22:29:56 +0000
commit435bc2fc2c0eb78addac1e688411ad8fad02517a (patch)
tree68eb0a9f6ceac13a9cd634f9cf8ea4fb5f7da75c /slv2/plugin.h
parent8d964fa7e72ebf076cd40a0b72caf778ce82fb85 (diff)
downloadlilv-435bc2fc2c0eb78addac1e688411ad8fad02517a.tar.gz
lilv-435bc2fc2c0eb78addac1e688411ad8fad02517a.tar.bz2
lilv-435bc2fc2c0eb78addac1e688411ad8fad02517a.zip
Added support for (Lars Luthman's) GTK GUI extension (SLV2 still does NOT depend on GTK!).
git-svn-id: http://svn.drobilla.net/lad/slv2@546 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2/plugin.h')
-rw-r--r--slv2/plugin.h26
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