mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 04:20:13 +02:00
Implement Vst3ContextMenuProxyImpl destructor
This commit is contained in:
@@ -924,6 +924,16 @@ bool Vst3Logger::log_request(bool is_host_vst,
|
||||
});
|
||||
}
|
||||
|
||||
bool Vst3Logger::log_request(bool is_host_vst,
|
||||
const Vst3ContextMenuProxy::Destruct& request) {
|
||||
return log_request_base(is_host_vst, [&](auto& message) {
|
||||
// We don't know what class this instance was originally instantiated
|
||||
// as, but it also doesn't really matter
|
||||
message << request.owner_instance_id << ": <IContextMenu #"
|
||||
<< request.context_menu_id << ">::~IContextMenu()";
|
||||
});
|
||||
}
|
||||
|
||||
bool Vst3Logger::log_request(bool is_host_vst, const WantsConfiguration&) {
|
||||
return log_request_base(is_host_vst, [&](auto& message) {
|
||||
message << "Requesting <Configuration>";
|
||||
|
||||
@@ -170,6 +170,7 @@ class Vst3Logger {
|
||||
bool log_request(bool is_host_vst, const YaComponent::ActivateBus&);
|
||||
bool log_request(bool is_host_vst, const YaComponent::SetActive&);
|
||||
|
||||
bool log_request(bool is_host_vst, const Vst3ContextMenuProxy::Destruct&);
|
||||
bool log_request(bool is_host_vst, const WantsConfiguration&);
|
||||
bool log_request(bool is_host_vst, const YaComponentHandler::BeginEdit&);
|
||||
bool log_request(bool is_host_vst, const YaComponentHandler::PerformEdit&);
|
||||
|
||||
@@ -170,7 +170,8 @@ void serialize(S& s, AudioProcessorRequest& payload) {
|
||||
* information we want or the operation we want to perform. A request of type
|
||||
* `CallbackRequest(T)` should send back a `T::Response`.
|
||||
*/
|
||||
using CallbackRequest = std::variant<WantsConfiguration,
|
||||
using CallbackRequest = std::variant<Vst3ContextMenuProxy::Destruct,
|
||||
WantsConfiguration,
|
||||
YaComponentHandler::BeginEdit,
|
||||
YaComponentHandler::PerformEdit,
|
||||
YaComponentHandler::EndEdit,
|
||||
|
||||
Reference in New Issue
Block a user