Implement CLAP callback requests

This commit is contained in:
Robbert van der Helm
2022-09-11 18:40:46 +02:00
parent 7151544f99
commit 5d31191806
5 changed files with 54 additions and 21 deletions
+7 -7
View File
@@ -100,6 +100,13 @@ class HostBridge {
*/
const ghc::filesystem::path plugin_path_;
/**
* The IO context used for event handling so that all events and window
* message handling can be performed from a single thread, even when hosting
* multiple plugins.
*/
MainContext& main_context_;
protected:
/**
* Used as part of the watchdog that shuts down a plugin when the remote
@@ -109,13 +116,6 @@ class HostBridge {
*/
virtual void close_sockets() = 0;
/**
* The IO context used for event handling so that all events and window
* message handling can be performed from a single thread, even when hosting
* multiple plugins.
*/
MainContext& main_context_;
/**
* A logger, just like we have on the plugin side. This is normally not
* needed because we can just print to STDERR, but this way we can