Create Vst3HostContextProxy from YaHostApplication

This is quite a huge refactor, but note everything is consistent (and
we're going to need one or two more of these `Vst3*Proxy` objects).
Right now nothing extends `IHostApplication`, but this way it will be
trivial to add support for more host context interfaces.
This commit is contained in:
Robbert van der Helm
2020-12-19 17:13:17 +01:00
parent c94089b832
commit 0522f84f4a
21 changed files with 301 additions and 184 deletions
@@ -32,9 +32,8 @@ class YaPluginFactoryImpl : public YaPluginFactory {
Vst3PluginBridge& bridge;
/**
* An `IHostApplication` instance if we get one through
* An host context if we get passed one through
* `IPluginFactory3::setHostContext()`.
*/
Steinberg::FUnknownPtr<Steinberg::Vst::IHostApplication>
host_application_context;
Steinberg::IPtr<Steinberg::FUnknown> host_context;
};