mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-16 13:40:05 +02:00
Bundle associated messages with their interfaces
Once we start implementing all of the control messages/callbacks things could quickly get out of hand otherwise.
This commit is contained in:
@@ -35,6 +35,22 @@ using Steinberg::TBool, Steinberg::int32, Steinberg::tresult;
|
||||
*/
|
||||
class YaComponent : public Steinberg::Vst::IComponent {
|
||||
public:
|
||||
/**
|
||||
* Request the Wine plugin host to instantiate a new IComponent to pass
|
||||
* through a call to `IPluginFactory::createInstance(cid, IComponent::iid,
|
||||
* ...)`.
|
||||
*/
|
||||
struct Create {
|
||||
using Response = YaComponent&;
|
||||
|
||||
Steinberg::TUID cid;
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
s.container1b(cid);
|
||||
}
|
||||
};
|
||||
|
||||
YaComponent();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user