clap

CLAP Audio Plugin API
Log | Files | Refs | README | LICENSE

commit 5e7060612cababda7b944c6349ac1b0c0ed753a5
parent 0f99c56345039c2fc8d31316f6d8b172f5420cbb
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date:   Mon, 21 Feb 2022 13:02:26 +0100

Allow the host to suggest a window title

Diffstat:
Minclude/clap/ext/gui-free-standing.h | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/include/clap/ext/gui-free-standing.h b/include/clap/ext/gui-free-standing.h @@ -14,7 +14,11 @@ typedef struct clap_plugin_gui_free_standing { // Opens the plugin window as a free standing window, which means it is not // embedded in the host and managed by the plugin. // [main-thread] - bool (*open)(const clap_plugin_t * plugin); + bool (*open)(const clap_plugin_t *plugin); + + // Suggests a window title + // [main-thread] + void (*suggest_window_title)(const clap_plugin_t *plugin); } clap_plugin_gui_free_standing_t; #pragma pack(pop)