Show a notification on version mismatch

Between the plugin and the Wine plugin host application.
This commit is contained in:
Robbert van der Helm
2021-07-13 22:14:31 +02:00
parent 4013aea63a
commit 5fc7acccd1
5 changed files with 44 additions and 5 deletions
+4 -1
View File
@@ -63,7 +63,10 @@ Vst3PluginBridge::Vst3PluginBridge()
return Ack{};
},
[&](const WantsConfiguration&) -> WantsConfiguration::Response {
[&](const WantsConfiguration& request)
-> WantsConfiguration::Response {
warn_on_version_mismatch(request.host_version);
return config;
},
[&](const YaComponentHandler::BeginEdit& request)