Add message structs for initializing plugins

This commit is contained in:
Robbert van der Helm
2022-09-09 17:57:16 +02:00
parent d1a38aec8e
commit 7ea29cdfed
2 changed files with 61 additions and 0 deletions
+15
View File
@@ -71,5 +71,20 @@ struct Host {
}
};
/**
* Extensions supported by the host. This can only be queried in
* `clap_plugin::init()` so it cannot be part of `Host`. We'll create make these
* same extensions available to the bridged CLAP plugins using proxies.
*/
struct SupportedHostExtensions {
// Don't forget to add new extensions to the log output
// TODO: Support extensions
template <typename S>
void serialize(S& s) {
// s.value1b(extension_name);
}
};
} // namespace host
} // namespace clap