mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-14 04:19:59 +02:00
Mark CLAP vtable methods as protected
Since they only make sense when called from the vtable.
This commit is contained in:
@@ -61,6 +61,14 @@ class clap_host_proxy {
|
||||
*/
|
||||
inline size_t owner_instance_id() const { return owner_instance_id_; }
|
||||
|
||||
/**
|
||||
* The extensions supported by the host, set just before calling
|
||||
* `clap_plugin::init()` on the bridged plugin. We'll allow the plugin to
|
||||
* query these extensions through `clap_host::get_extension()`.
|
||||
*/
|
||||
clap::host::SupportedHostExtensions supported_extensions_;
|
||||
|
||||
protected:
|
||||
static const void* CLAP_ABI host_get_extension(const struct clap_host* host,
|
||||
const char* extension_id);
|
||||
static void CLAP_ABI host_request_restart(const struct clap_host* host);
|
||||
@@ -89,13 +97,6 @@ class clap_host_proxy {
|
||||
|
||||
static void CLAP_ABI ext_tail_changed(const clap_host_t* host);
|
||||
|
||||
/**
|
||||
* The extensions supported by the host, set just before calling
|
||||
* `clap_plugin::init()` on the bridged plugin. We'll allow the plugin to
|
||||
* query these extensions through `clap_host::get_extension()`.
|
||||
*/
|
||||
clap::host::SupportedHostExtensions supported_extensions_;
|
||||
|
||||
private:
|
||||
ClapBridge& bridge_;
|
||||
size_t owner_instance_id_;
|
||||
|
||||
Reference in New Issue
Block a user