Add an IConnectionPoint proxy implementation

We still have to pass this proxy to the plugin. That's next.
This commit is contained in:
Robbert van der Helm
2020-12-25 13:46:03 +01:00
parent 0fce9c9eed
commit fbad4a65ab
6 changed files with 139 additions and 8 deletions
+6
View File
@@ -24,6 +24,7 @@
#include "../utils.h"
#include "common.h"
#include "vst3/component-handler-proxy.h"
#include "vst3/connection-point-proxy.h"
#include "vst3/host-context-proxy.h"
#include "vst3/plug-frame-proxy.h"
#include "vst3/plug-view-proxy.h"
@@ -143,6 +144,11 @@ using CallbackRequest = std::variant<WantsConfiguration,
YaComponentHandler::PerformEdit,
YaComponentHandler::EndEdit,
YaComponentHandler::RestartComponent,
// Used when the host uses proxy objects,
// and we have to route
// `IConnectionPoint::notify` calls through
// there
YaConnectionPoint::Notify,
YaHostApplication::GetName,
YaPlugFrame::ResizeView>;