Add constructors for reading extension support

This commit is contained in:
Robbert van der Helm
2022-09-10 15:28:28 +02:00
parent 7ea29cdfed
commit bc2bad3e94
4 changed files with 23 additions and 0 deletions
+8
View File
@@ -77,6 +77,14 @@ struct Host {
* same extensions available to the bridged CLAP plugins using proxies.
*/
struct SupportedHostExtensions {
/**
* Read the supported extensions from a native CLAP host. This is only valid
* once the native host has called `clap_host::init()`.
*/
SupportedHostExtensions(const clap_host& host);
SupportedHostExtensions() noexcept {}
// Don't forget to add new extensions to the log output
// TODO: Support extensions