Add restart and process request callbacks

This commit is contained in:
Robbert van der Helm
2022-09-11 17:57:34 +02:00
parent f3d5dd78c4
commit 7151544f99
7 changed files with 66 additions and 12 deletions
+6 -6
View File
@@ -121,6 +121,12 @@ class clap_plugin_proxy {
return response_future;
}
/**
* The `clap_host_t*` passed when creating the instance. Any callbacks made
* by the proxied plugin instance must go through ere.
*/
const clap_host_t* host_;
private:
ClapPluginBridge& bridge_;
size_t instance_id_;
@@ -140,12 +146,6 @@ class clap_plugin_proxy {
*/
clap::plugin::SupportedPluginExtensions supported_extensions_;
/**
* The `clap_host_t*` passed when creating the instance. Any callbacks made
* by the proxied plugin instance must go through ere.
*/
const clap_host_t* host_;
/**
* Pending callbacks that must be sent to the host on the main thread. If a
* socket needs to make a main thread function call, it will