Implement IPlugView::isPLatformTypeSupported()

This of course requires us to substitute the relevant Linux platform
type for the Win32 one.
This commit is contained in:
Robbert van der Helm
2020-12-19 22:33:58 +01:00
parent 18a7908bf8
commit e72e6d5642
6 changed files with 56 additions and 3 deletions
@@ -42,9 +42,10 @@ Vst3PlugViewProxyImpl::queryInterface(const Steinberg::TUID _iid, void** obj) {
tresult PLUGIN_API
Vst3PlugViewProxyImpl::isPlatformTypeSupported(Steinberg::FIDString type) {
// TODO: Implement
bridge.logger.log("TODO: IPlugView::isPlatformTypeSupported()");
return Steinberg::kNotImplemented;
// We'll swap the X11 window ID platform type string for the Win32 HWND
// equivalent on the Wine side
return bridge.send_message(YaPlugView::IsPlatformTypeSupported{
.owner_instance_id = owner_instance_id(), .type = type});
}
tresult PLUGIN_API Vst3PlugViewProxyImpl::attached(void* parent,