mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 12:10:09 +02:00
Rename YaComponent::Arguments to CreateArgs
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
#include "component.h"
|
||||
|
||||
YaComponentPluginImpl::YaComponentPluginImpl(Vst3PluginBridge& bridge,
|
||||
YaComponent::Arguments&& args)
|
||||
YaComponent::CreateArgs&& args)
|
||||
: YaComponent(std::move(args)), bridge(bridge) {}
|
||||
|
||||
YaComponentPluginImpl::~YaComponentPluginImpl() {
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
class YaComponentPluginImpl : public YaComponent {
|
||||
public:
|
||||
YaComponentPluginImpl(Vst3PluginBridge& bridge,
|
||||
YaComponent::Arguments&& args);
|
||||
YaComponent::CreateArgs&& args);
|
||||
|
||||
/**
|
||||
* When the reference count reaches zero and this destructor is called,
|
||||
|
||||
@@ -31,7 +31,7 @@ YaPluginFactoryPluginImpl::createInstance(Steinberg::FIDString cid,
|
||||
ArrayUID cid_array;
|
||||
std::copy(cid, cid + sizeof(Steinberg::TUID), cid_array.begin());
|
||||
if (Steinberg::FIDStringsEqual(_iid, Steinberg::Vst::IComponent::iid)) {
|
||||
std::optional<YaComponent::Arguments> args =
|
||||
std::optional<YaComponent::CreateArgs> args =
|
||||
bridge.send_message(YaComponent::Create{.cid = cid_array});
|
||||
if (args) {
|
||||
// I find all of these raw pointers scary
|
||||
|
||||
Reference in New Issue
Block a user