mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-15 16:03:55 +02:00
Fully implement the host side GUI extension
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include <atomic>
|
||||
|
||||
#include <clap/ext/audio-ports.h>
|
||||
#include <clap/ext/gui.h>
|
||||
#include <clap/ext/latency.h>
|
||||
#include <clap/ext/note-ports.h>
|
||||
#include <clap/ext/params.h>
|
||||
@@ -82,6 +83,15 @@ class clap_host_proxy {
|
||||
static void CLAP_ABI ext_audio_ports_rescan(const clap_host_t* host,
|
||||
uint32_t flags);
|
||||
|
||||
static void CLAP_ABI ext_gui_resize_hints_changed(const clap_host_t* host);
|
||||
static bool CLAP_ABI ext_gui_request_resize(const clap_host_t* host,
|
||||
uint32_t width,
|
||||
uint32_t height);
|
||||
static bool CLAP_ABI ext_gui_request_show(const clap_host_t* host);
|
||||
static bool CLAP_ABI ext_gui_request_hide(const clap_host_t* host);
|
||||
static void CLAP_ABI ext_gui_closed(const clap_host_t* host,
|
||||
bool was_destroyed);
|
||||
|
||||
static void CLAP_ABI ext_latency_changed(const clap_host_t* host);
|
||||
|
||||
static uint32_t CLAP_ABI
|
||||
@@ -116,6 +126,7 @@ class clap_host_proxy {
|
||||
// depends on whether the plugin supported this extension when the host
|
||||
// called `clap_plugin::init()`.
|
||||
const clap_host_audio_ports_t ext_audio_ports_vtable;
|
||||
const clap_host_gui_t ext_gui_vtable;
|
||||
const clap_host_latency_t ext_latency_vtable;
|
||||
const clap_host_note_ports_t ext_note_ports_vtable;
|
||||
const clap_host_params_t ext_params_vtable;
|
||||
|
||||
Reference in New Issue
Block a user