mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 12:30:12 +02:00
Add stubs for IUnitHandler2
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include "component-handler/component-handler-2.h"
|
||||
#include "component-handler/component-handler-3.h"
|
||||
#include "component-handler/component-handler.h"
|
||||
#include "component-handler/unit-handler-2.h"
|
||||
#include "component-handler/unit-handler.h"
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
@@ -36,7 +37,8 @@
|
||||
class Vst3ComponentHandlerProxy : public YaComponentHandler,
|
||||
public YaComponentHandler2,
|
||||
public YaComponentHandler3,
|
||||
public YaUnitHandler {
|
||||
public YaUnitHandler,
|
||||
public YaUnitHandler2 {
|
||||
public:
|
||||
/**
|
||||
* These are the arguments for constructing a
|
||||
@@ -64,6 +66,7 @@ class Vst3ComponentHandlerProxy : public YaComponentHandler,
|
||||
YaComponentHandler2::ConstructArgs component_handler_2_args;
|
||||
YaComponentHandler3::ConstructArgs component_handler_3_args;
|
||||
YaUnitHandler::ConstructArgs unit_handler_args;
|
||||
YaUnitHandler2::ConstructArgs unit_handler_2_args;
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
@@ -72,6 +75,7 @@ class Vst3ComponentHandlerProxy : public YaComponentHandler,
|
||||
s.object(component_handler_2_args);
|
||||
s.object(component_handler_3_args);
|
||||
s.object(unit_handler_args);
|
||||
s.object(unit_handler_2_args);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user