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
+15
View File
@@ -432,6 +432,21 @@ bool Vst3Logger::log_request(bool is_host_vst,
});
}
bool Vst3Logger::log_request(
bool is_host_vst,
const YaPlugView::IsPlatformTypeSupported& request) {
return log_request_base(is_host_vst, [&](auto& message) {
message << request.owner_instance_id
<< ": IPlugView::isPLatformTypeSupported(type = \""
<< request.type;
if (request.type == Steinberg::kPlatformTypeX11EmbedWindowID) {
message << "\" (will be translated to \""
<< Steinberg::kPlatformTypeHWND << "\")";
}
message << ")";
});
}
bool Vst3Logger::log_request(bool is_host_vst,
const YaPluginBase::Initialize& request) {
return log_request_base(is_host_vst, [&](auto& message) {