Mark CLAP vtable methods as protected

Since they only make sense when called from the vtable.
This commit is contained in:
Robbert van der Helm
2022-09-27 13:38:21 +02:00
parent 0f711eed2a
commit 95c10952a2
2 changed files with 56 additions and 54 deletions
@@ -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_;