Implement IEditController2::openAboutBox

With this IEditController2 has been fully implemented.
This commit is contained in:
Robbert van der Helm
2020-12-26 00:10:39 +01:00
parent 3c5700163e
commit 86aaf2fa3a
7 changed files with 39 additions and 6 deletions
@@ -101,6 +101,25 @@ class YaEditController2 : public Steinberg::Vst::IEditController2 {
};
virtual tresult PLUGIN_API openHelp(TBool onlyCheck) override = 0;
/**
* Message to pass through a call to
* `IEditController2::openAboutBox(only_check)` to the Wine plugin host.
*/
struct OpenAboutBox {
using Response = UniversalTResult;
native_size_t instance_id;
TBool only_check;
template <typename S>
void serialize(S& s) {
s.value8b(instance_id);
s.value1b(only_check);
}
};
virtual tresult PLUGIN_API openAboutBox(TBool onlyCheck) override = 0;
protected: