mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-15 04:50:43 +02:00
Implement IEditController2::openHelp
This commit is contained in:
@@ -82,6 +82,7 @@ using ControlRequest = std::variant<Vst3PlugViewProxy::Destruct,
|
||||
YaEditController::SetComponentHandler,
|
||||
YaEditController::CreateView,
|
||||
YaEditController2::SetKnobMode,
|
||||
YaEditController2::OpenHelp,
|
||||
YaPlugView::IsPlatformTypeSupported,
|
||||
YaPlugView::Attached,
|
||||
YaPlugView::Removed,
|
||||
|
||||
@@ -81,6 +81,25 @@ class YaEditController2 : public Steinberg::Vst::IEditController2 {
|
||||
|
||||
virtual tresult PLUGIN_API
|
||||
setKnobMode(Steinberg::Vst::KnobMode mode) override = 0;
|
||||
|
||||
/**
|
||||
* Message to pass through a call to
|
||||
* `IEditController2::openHelp(only_check)` to the Wine plugin host.
|
||||
*/
|
||||
struct OpenHelp {
|
||||
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 openHelp(TBool onlyCheck) override = 0;
|
||||
virtual tresult PLUGIN_API openAboutBox(TBool onlyCheck) override = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user