mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-25 13:27:26 +02:00
Replace const-rvalue with rvalue
Since const-rvalue doesn't make any sense.
This commit is contained in:
@@ -31,7 +31,7 @@ Vst3ComponentHandlerProxy::ConstructArgs::ConstructArgs(
|
|||||||
unit_handler_2_args(object) {}
|
unit_handler_2_args(object) {}
|
||||||
|
|
||||||
Vst3ComponentHandlerProxy::Vst3ComponentHandlerProxy(
|
Vst3ComponentHandlerProxy::Vst3ComponentHandlerProxy(
|
||||||
const ConstructArgs&& args) noexcept
|
ConstructArgs&& args) noexcept
|
||||||
: YaComponentHandler(std::move(args.component_handler_args)),
|
: YaComponentHandler(std::move(args.component_handler_args)),
|
||||||
YaComponentHandler2(std::move(args.component_handler_2_args)),
|
YaComponentHandler2(std::move(args.component_handler_2_args)),
|
||||||
YaComponentHandler3(std::move(args.component_handler_3_args)),
|
YaComponentHandler3(std::move(args.component_handler_3_args)),
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ class Vst3ComponentHandlerProxy : public YaComponentHandler,
|
|||||||
* that of the objects they are passed to. If those objects get dropped,
|
* that of the objects they are passed to. If those objects get dropped,
|
||||||
* then the host contexts should also be dropped.
|
* then the host contexts should also be dropped.
|
||||||
*/
|
*/
|
||||||
Vst3ComponentHandlerProxy(const ConstructArgs&& args) noexcept;
|
Vst3ComponentHandlerProxy(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The lifetime of this object should be bound to the object we created it
|
* The lifetime of this object should be bound to the object we created it
|
||||||
|
|||||||
@@ -23,5 +23,5 @@ YaComponentHandler2::ConstructArgs::ConstructArgs(
|
|||||||
: supported(
|
: supported(
|
||||||
Steinberg::FUnknownPtr<Steinberg::Vst::IComponentHandler2>(object)) {}
|
Steinberg::FUnknownPtr<Steinberg::Vst::IComponentHandler2>(object)) {}
|
||||||
|
|
||||||
YaComponentHandler2::YaComponentHandler2(const ConstructArgs&& args) noexcept
|
YaComponentHandler2::YaComponentHandler2(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ class YaComponentHandler2 : public Steinberg::Vst::IComponentHandler2 {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaComponentHandler2(const ConstructArgs&& args) noexcept;
|
YaComponentHandler2(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -23,5 +23,5 @@ YaComponentHandler3::ConstructArgs::ConstructArgs(
|
|||||||
: supported(
|
: supported(
|
||||||
Steinberg::FUnknownPtr<Steinberg::Vst::IComponentHandler3>(object)) {}
|
Steinberg::FUnknownPtr<Steinberg::Vst::IComponentHandler3>(object)) {}
|
||||||
|
|
||||||
YaComponentHandler3::YaComponentHandler3(const ConstructArgs&& args) noexcept
|
YaComponentHandler3::YaComponentHandler3(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ class YaComponentHandler3 : public Steinberg::Vst::IComponentHandler3 {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaComponentHandler3(const ConstructArgs&& args) noexcept;
|
YaComponentHandler3(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -24,5 +24,5 @@ YaComponentHandlerBusActivation::ConstructArgs::ConstructArgs(
|
|||||||
Steinberg::Vst::IComponentHandlerBusActivation>(object)) {}
|
Steinberg::Vst::IComponentHandlerBusActivation>(object)) {}
|
||||||
|
|
||||||
YaComponentHandlerBusActivation::YaComponentHandlerBusActivation(
|
YaComponentHandlerBusActivation::YaComponentHandlerBusActivation(
|
||||||
const ConstructArgs&& args) noexcept
|
ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ class YaComponentHandlerBusActivation
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaComponentHandlerBusActivation(const ConstructArgs&& args) noexcept;
|
YaComponentHandlerBusActivation(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -23,5 +23,5 @@ YaComponentHandler::ConstructArgs::ConstructArgs(
|
|||||||
: supported(
|
: supported(
|
||||||
Steinberg::FUnknownPtr<Steinberg::Vst::IComponentHandler>(object)) {}
|
Steinberg::FUnknownPtr<Steinberg::Vst::IComponentHandler>(object)) {}
|
||||||
|
|
||||||
YaComponentHandler::YaComponentHandler(const ConstructArgs&& args) noexcept
|
YaComponentHandler::YaComponentHandler(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ class YaComponentHandler : public Steinberg::Vst::IComponentHandler {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaComponentHandler(const ConstructArgs&& args) noexcept;
|
YaComponentHandler(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -22,5 +22,5 @@ YaProgress::ConstructArgs::ConstructArgs(
|
|||||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IProgress>(object)) {}
|
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IProgress>(object)) {}
|
||||||
|
|
||||||
YaProgress::YaProgress(const ConstructArgs&& args) noexcept
|
YaProgress::YaProgress(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ class YaProgress : public Steinberg::Vst::IProgress {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaProgress(const ConstructArgs&& args) noexcept;
|
YaProgress(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -23,5 +23,5 @@ YaUnitHandler2::ConstructArgs::ConstructArgs(
|
|||||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IUnitHandler2>(object)) {
|
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IUnitHandler2>(object)) {
|
||||||
}
|
}
|
||||||
|
|
||||||
YaUnitHandler2::YaUnitHandler2(const ConstructArgs&& args) noexcept
|
YaUnitHandler2::YaUnitHandler2(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ class YaUnitHandler2 : public Steinberg::Vst::IUnitHandler2 {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaUnitHandler2(const ConstructArgs&& args) noexcept;
|
YaUnitHandler2(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -22,5 +22,5 @@ YaUnitHandler::ConstructArgs::ConstructArgs(
|
|||||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IUnitHandler>(object)) {}
|
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IUnitHandler>(object)) {}
|
||||||
|
|
||||||
YaUnitHandler::YaUnitHandler(const ConstructArgs&& args) noexcept
|
YaUnitHandler::YaUnitHandler(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ class YaUnitHandler : public Steinberg::Vst::IUnitHandler {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaUnitHandler(const ConstructArgs&& args) noexcept;
|
YaUnitHandler(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
#include "connection-point-proxy.h"
|
#include "connection-point-proxy.h"
|
||||||
|
|
||||||
Vst3ConnectionPointProxy::Vst3ConnectionPointProxy(
|
Vst3ConnectionPointProxy::Vst3ConnectionPointProxy(
|
||||||
const ConstructArgs&& args) noexcept
|
ConstructArgs&& args) noexcept
|
||||||
: YaConnectionPoint(std::move(args.connection_point_args)),
|
: YaConnectionPoint(std::move(args.connection_point_args)),
|
||||||
arguments(std::move(args)){FUNKNOWN_CTOR}
|
arguments(std::move(args)){FUNKNOWN_CTOR}
|
||||||
|
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ class Vst3ConnectionPointProxy : public YaConnectionPoint {
|
|||||||
* @note This object will be created as part of handling
|
* @note This object will be created as part of handling
|
||||||
* `IConnectionPoint::connect()` if the connection is indirect.
|
* `IConnectionPoint::connect()` if the connection is indirect.
|
||||||
*/
|
*/
|
||||||
Vst3ConnectionPointProxy(const ConstructArgs&& args) noexcept;
|
Vst3ConnectionPointProxy(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This object will be destroyed again during
|
* This object will be destroyed again during
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ Vst3ContextMenuProxy::ConstructArgs::ConstructArgs(
|
|||||||
context_menu_id(context_menu_id),
|
context_menu_id(context_menu_id),
|
||||||
context_menu_args(object) {}
|
context_menu_args(object) {}
|
||||||
|
|
||||||
Vst3ContextMenuProxy::Vst3ContextMenuProxy(const ConstructArgs&& args) noexcept
|
Vst3ContextMenuProxy::Vst3ContextMenuProxy(ConstructArgs&& args) noexcept
|
||||||
: YaContextMenu(std::move(args.context_menu_args)),
|
: YaContextMenu(std::move(args.context_menu_args)),
|
||||||
arguments(std::move(args)){FUNKNOWN_CTOR}
|
arguments(std::move(args)){FUNKNOWN_CTOR}
|
||||||
|
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ class Vst3ContextMenuProxy : public YaContextMenu {
|
|||||||
* struct. We need to use raw pointers or references here so we can refer
|
* struct. We need to use raw pointers or references here so we can refer
|
||||||
* to the object without interfering with the reference count.
|
* to the object without interfering with the reference count.
|
||||||
*/
|
*/
|
||||||
Vst3ContextMenuProxy(const ConstructArgs&& args) noexcept;
|
Vst3ContextMenuProxy(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Message to request the plugin to drop the the `IContextMenu*` returned by
|
* Message to request the plugin to drop the the `IContextMenu*` returned by
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ YaContextMenuTarget::ConstructArgs::ConstructArgs(
|
|||||||
context_menu_id(context_menu_id),
|
context_menu_id(context_menu_id),
|
||||||
tag(tag) {}
|
tag(tag) {}
|
||||||
|
|
||||||
YaContextMenuTarget::YaContextMenuTarget(const ConstructArgs&& args) noexcept
|
YaContextMenuTarget::YaContextMenuTarget(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)){FUNKNOWN_CTOR}
|
: arguments(std::move(args)){FUNKNOWN_CTOR}
|
||||||
|
|
||||||
YaContextMenuTarget::~YaContextMenuTarget() noexcept {
|
YaContextMenuTarget::~YaContextMenuTarget() noexcept {
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ class YaContextMenuTarget : public Steinberg::Vst::IContextMenuTarget {
|
|||||||
* Create context menu target that when called, calls the corresponding
|
* Create context menu target that when called, calls the corresponding
|
||||||
* context menu target provided by the object.
|
* context menu target provided by the object.
|
||||||
*/
|
*/
|
||||||
YaContextMenuTarget(const ConstructArgs&& args) noexcept;
|
YaContextMenuTarget(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
~YaContextMenuTarget() noexcept;
|
~YaContextMenuTarget() noexcept;
|
||||||
|
|
||||||
|
|||||||
@@ -22,5 +22,5 @@ YaContextMenu::ConstructArgs::ConstructArgs(
|
|||||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IContextMenu>(object)) {}
|
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IContextMenu>(object)) {}
|
||||||
|
|
||||||
YaContextMenu::YaContextMenu(const ConstructArgs&& args) noexcept
|
YaContextMenu::YaContextMenu(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ class YaContextMenu : public Steinberg::Vst::IContextMenu {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaContextMenu(const ConstructArgs&& args) noexcept;
|
YaContextMenu(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ Vst3HostContextProxy::ConstructArgs::ConstructArgs(
|
|||||||
host_application_args(object),
|
host_application_args(object),
|
||||||
plug_interface_support_args(object) {}
|
plug_interface_support_args(object) {}
|
||||||
|
|
||||||
Vst3HostContextProxy::Vst3HostContextProxy(const ConstructArgs&& args) noexcept
|
Vst3HostContextProxy::Vst3HostContextProxy(ConstructArgs&& args) noexcept
|
||||||
: YaHostApplication(std::move(args.host_application_args)),
|
: YaHostApplication(std::move(args.host_application_args)),
|
||||||
YaPlugInterfaceSupport(std::move(args.plug_interface_support_args)),
|
YaPlugInterfaceSupport(std::move(args.plug_interface_support_args)),
|
||||||
arguments(std::move(args)){FUNKNOWN_CTOR}
|
arguments(std::move(args)){FUNKNOWN_CTOR}
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ class Vst3HostContextProxy : public YaHostApplication,
|
|||||||
* objects they are passed to. If those objects get dropped, then the host
|
* objects they are passed to. If those objects get dropped, then the host
|
||||||
* contexts should also be dropped.
|
* contexts should also be dropped.
|
||||||
*/
|
*/
|
||||||
Vst3HostContextProxy(const ConstructArgs&& args) noexcept;
|
Vst3HostContextProxy(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The lifetime of this object should be bound to the object we created it
|
* The lifetime of this object should be bound to the object we created it
|
||||||
|
|||||||
@@ -23,5 +23,5 @@ YaHostApplication::ConstructArgs::ConstructArgs(
|
|||||||
: supported(
|
: supported(
|
||||||
Steinberg::FUnknownPtr<Steinberg::Vst::IHostApplication>(object)) {}
|
Steinberg::FUnknownPtr<Steinberg::Vst::IHostApplication>(object)) {}
|
||||||
|
|
||||||
YaHostApplication::YaHostApplication(const ConstructArgs&& args) noexcept
|
YaHostApplication::YaHostApplication(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ class YaHostApplication : public Steinberg::Vst::IHostApplication {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaHostApplication(const ConstructArgs&& args) noexcept;
|
YaHostApplication(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -24,5 +24,5 @@ YaPlugInterfaceSupport::ConstructArgs::ConstructArgs(
|
|||||||
object)) {}
|
object)) {}
|
||||||
|
|
||||||
YaPlugInterfaceSupport::YaPlugInterfaceSupport(
|
YaPlugInterfaceSupport::YaPlugInterfaceSupport(
|
||||||
const ConstructArgs&& args) noexcept
|
ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ class YaPlugInterfaceSupport : public Steinberg::Vst::IPlugInterfaceSupport {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaPlugInterfaceSupport(const ConstructArgs&& args) noexcept;
|
YaPlugInterfaceSupport(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ Vst3PlugFrameProxy::ConstructArgs::ConstructArgs(
|
|||||||
size_t owner_instance_id) noexcept
|
size_t owner_instance_id) noexcept
|
||||||
: owner_instance_id(owner_instance_id), plug_frame_args(object) {}
|
: owner_instance_id(owner_instance_id), plug_frame_args(object) {}
|
||||||
|
|
||||||
Vst3PlugFrameProxy::Vst3PlugFrameProxy(const ConstructArgs&& args) noexcept
|
Vst3PlugFrameProxy::Vst3PlugFrameProxy(ConstructArgs&& args) noexcept
|
||||||
: YaPlugFrame(std::move(args.plug_frame_args)),
|
: YaPlugFrame(std::move(args.plug_frame_args)),
|
||||||
arguments(std::move(args)){FUNKNOWN_CTOR}
|
arguments(std::move(args)){FUNKNOWN_CTOR}
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ class Vst3PlugFrameProxy : public YaPlugFrame {
|
|||||||
* lifetime is bound to that of the objects they are passed to. If the
|
* lifetime is bound to that of the objects they are passed to. If the
|
||||||
* plug view instance gets dropped, this proxy should also be dropped.
|
* plug view instance gets dropped, this proxy should also be dropped.
|
||||||
*/
|
*/
|
||||||
Vst3PlugFrameProxy(const ConstructArgs&& args) noexcept;
|
Vst3PlugFrameProxy(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The lifetime of this object should be bound to the object we created it
|
* The lifetime of this object should be bound to the object we created it
|
||||||
|
|||||||
@@ -22,5 +22,5 @@ YaPlugFrame::ConstructArgs::ConstructArgs(
|
|||||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||||
: supported(Steinberg::FUnknownPtr<Steinberg::IPlugFrame>(object)) {}
|
: supported(Steinberg::FUnknownPtr<Steinberg::IPlugFrame>(object)) {}
|
||||||
|
|
||||||
YaPlugFrame::YaPlugFrame(const ConstructArgs&& args) noexcept
|
YaPlugFrame::YaPlugFrame(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ class YaPlugFrame : public Steinberg::IPlugFrame {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaPlugFrame(const ConstructArgs&& args) noexcept;
|
YaPlugFrame(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ Vst3PlugViewProxy::ConstructArgs::ConstructArgs(
|
|||||||
parameter_finder_args(object),
|
parameter_finder_args(object),
|
||||||
plug_view_content_scale_support_args(object) {}
|
plug_view_content_scale_support_args(object) {}
|
||||||
|
|
||||||
Vst3PlugViewProxy::Vst3PlugViewProxy(const ConstructArgs&& args) noexcept
|
Vst3PlugViewProxy::Vst3PlugViewProxy(ConstructArgs&& args) noexcept
|
||||||
: YaPlugView(std::move(args.plug_view_args)),
|
: YaPlugView(std::move(args.plug_view_args)),
|
||||||
YaParameterFinder(std::move(args.parameter_finder_args)),
|
YaParameterFinder(std::move(args.parameter_finder_args)),
|
||||||
YaPlugViewContentScaleSupport(
|
YaPlugViewContentScaleSupport(
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ class Vst3PlugViewProxy : public YaPlugView,
|
|||||||
* message. The destructor should still send a message to drop the
|
* message. The destructor should still send a message to drop the
|
||||||
* original smart pointer.
|
* original smart pointer.
|
||||||
*/
|
*/
|
||||||
Vst3PlugViewProxy(const ConstructArgs&& args) noexcept;
|
Vst3PlugViewProxy(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Message to request the Wine plugin host to destroy the `IPlugView*`
|
* Message to request the Wine plugin host to destroy the `IPlugView*`
|
||||||
|
|||||||
@@ -23,5 +23,5 @@ YaParameterFinder::ConstructArgs::ConstructArgs(
|
|||||||
: supported(
|
: supported(
|
||||||
Steinberg::FUnknownPtr<Steinberg::Vst::IParameterFinder>(object)) {}
|
Steinberg::FUnknownPtr<Steinberg::Vst::IParameterFinder>(object)) {}
|
||||||
|
|
||||||
YaParameterFinder::YaParameterFinder(const ConstructArgs&& args) noexcept
|
YaParameterFinder::YaParameterFinder(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ class YaParameterFinder : public Steinberg::Vst::IParameterFinder {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaParameterFinder(const ConstructArgs&& args) noexcept;
|
YaParameterFinder(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -24,5 +24,5 @@ YaPlugViewContentScaleSupport::ConstructArgs::ConstructArgs(
|
|||||||
object)) {}
|
object)) {}
|
||||||
|
|
||||||
YaPlugViewContentScaleSupport::YaPlugViewContentScaleSupport(
|
YaPlugViewContentScaleSupport::YaPlugViewContentScaleSupport(
|
||||||
const ConstructArgs&& args) noexcept
|
ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ class YaPlugViewContentScaleSupport
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaPlugViewContentScaleSupport(const ConstructArgs&& args) noexcept;
|
YaPlugViewContentScaleSupport(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -22,5 +22,5 @@ YaPlugView::ConstructArgs::ConstructArgs(
|
|||||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||||
: supported(Steinberg::FUnknownPtr<Steinberg::IPlugView>(object)) {}
|
: supported(Steinberg::FUnknownPtr<Steinberg::IPlugView>(object)) {}
|
||||||
|
|
||||||
YaPlugView::YaPlugView(const ConstructArgs&& args) noexcept
|
YaPlugView::YaPlugView(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ class YaPlugView : public Steinberg::IPlugView {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaPlugView(const ConstructArgs&& args) noexcept;
|
YaPlugView(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -22,8 +22,7 @@ Vst3PluginFactoryProxy::ConstructArgs::ConstructArgs(
|
|||||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||||
: plugin_factory_args(object) {}
|
: plugin_factory_args(object) {}
|
||||||
|
|
||||||
Vst3PluginFactoryProxy::Vst3PluginFactoryProxy(
|
Vst3PluginFactoryProxy::Vst3PluginFactoryProxy(ConstructArgs&& args) noexcept
|
||||||
const ConstructArgs&& args) noexcept
|
|
||||||
: YaPluginFactory3(std::move(args.plugin_factory_args)),
|
: YaPluginFactory3(std::move(args.plugin_factory_args)),
|
||||||
arguments(std::move(args)){FUNKNOWN_CTOR}
|
arguments(std::move(args)){FUNKNOWN_CTOR}
|
||||||
|
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ class Vst3PluginFactoryProxy : public YaPluginFactory3 {
|
|||||||
* factory. The is done once during startup and the plugin factory gets
|
* factory. The is done once during startup and the plugin factory gets
|
||||||
* reused for the lifetime of the module.
|
* reused for the lifetime of the module.
|
||||||
*/
|
*/
|
||||||
Vst3PluginFactoryProxy(const ConstructArgs&& args) noexcept;
|
Vst3PluginFactoryProxy(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* We do not need special handling here since the Window VST3 plugin's
|
* We do not need special handling here since the Window VST3 plugin's
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ YaPluginFactory3::ConstructArgs::ConstructArgs(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
YaPluginFactory3::YaPluginFactory3(const ConstructArgs&& args) noexcept
|
YaPluginFactory3::YaPluginFactory3(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|
||||||
tresult PLUGIN_API
|
tresult PLUGIN_API
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ class YaPluginFactory3 : public Steinberg::IPluginFactory3 {
|
|||||||
* Instantiate this instance with arguments read from the Windows VST3
|
* Instantiate this instance with arguments read from the Windows VST3
|
||||||
* plugin's plugin factory.
|
* plugin's plugin factory.
|
||||||
*/
|
*/
|
||||||
YaPluginFactory3(const ConstructArgs&& args) noexcept;
|
YaPluginFactory3(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supports_plugin_factory() const noexcept {
|
inline bool supports_plugin_factory() const noexcept {
|
||||||
return arguments.supports_plugin_factory;
|
return arguments.supports_plugin_factory;
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ Vst3PluginProxy::ConstructArgs::ConstructArgs(
|
|||||||
unit_info_args(object),
|
unit_info_args(object),
|
||||||
xml_representation_controller_args(object) {}
|
xml_representation_controller_args(object) {}
|
||||||
|
|
||||||
Vst3PluginProxy::Vst3PluginProxy(const ConstructArgs&& args) noexcept
|
Vst3PluginProxy::Vst3PluginProxy(ConstructArgs&& args) noexcept
|
||||||
: YaAudioPresentationLatency(
|
: YaAudioPresentationLatency(
|
||||||
std::move(args.audio_presentation_latency_args)),
|
std::move(args.audio_presentation_latency_args)),
|
||||||
YaAudioProcessor(std::move(args.audio_processor_args)),
|
YaAudioProcessor(std::move(args.audio_processor_args)),
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ class Vst3PluginProxy : public YaAudioPresentationLatency,
|
|||||||
* Instantiate this object instance with arguments read from another
|
* Instantiate this object instance with arguments read from another
|
||||||
* interface implementation.
|
* interface implementation.
|
||||||
*/
|
*/
|
||||||
Vst3PluginProxy(const ConstructArgs&& args) noexcept;
|
Vst3PluginProxy(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Message to request the Wine plugin host to destroy this object instance
|
* Message to request the Wine plugin host to destroy this object instance
|
||||||
|
|||||||
@@ -25,5 +25,5 @@ YaAudioPresentationLatency::ConstructArgs::ConstructArgs(
|
|||||||
object)) {}
|
object)) {}
|
||||||
|
|
||||||
YaAudioPresentationLatency::YaAudioPresentationLatency(
|
YaAudioPresentationLatency::YaAudioPresentationLatency(
|
||||||
const ConstructArgs&& args) noexcept
|
ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ class YaAudioPresentationLatency
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaAudioPresentationLatency(const ConstructArgs&& args) noexcept;
|
YaAudioPresentationLatency(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -23,5 +23,5 @@ YaAudioProcessor::ConstructArgs::ConstructArgs(
|
|||||||
: supported(
|
: supported(
|
||||||
Steinberg::FUnknownPtr<Steinberg::Vst::IAudioProcessor>(object)) {}
|
Steinberg::FUnknownPtr<Steinberg::Vst::IAudioProcessor>(object)) {}
|
||||||
|
|
||||||
YaAudioProcessor::YaAudioProcessor(const ConstructArgs&& args) noexcept
|
YaAudioProcessor::YaAudioProcessor(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ class YaAudioProcessor : public Steinberg::Vst::IAudioProcessor {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaAudioProcessor(const ConstructArgs&& args) noexcept;
|
YaAudioProcessor(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -23,5 +23,5 @@ YaAutomationState::ConstructArgs::ConstructArgs(
|
|||||||
: supported(
|
: supported(
|
||||||
Steinberg::FUnknownPtr<Steinberg::Vst::IAutomationState>(object)) {}
|
Steinberg::FUnknownPtr<Steinberg::Vst::IAutomationState>(object)) {}
|
||||||
|
|
||||||
YaAutomationState::YaAutomationState(const ConstructArgs&& args) noexcept
|
YaAutomationState::YaAutomationState(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ class YaAutomationState : public Steinberg::Vst::IAutomationState {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaAutomationState(const ConstructArgs&& args) noexcept;
|
YaAutomationState(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -22,5 +22,5 @@ YaComponent::ConstructArgs::ConstructArgs(
|
|||||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IComponent>(object)) {}
|
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IComponent>(object)) {}
|
||||||
|
|
||||||
YaComponent::YaComponent(const ConstructArgs&& args) noexcept
|
YaComponent::YaComponent(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ class YaComponent : public Steinberg::Vst::IComponent {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaComponent(const ConstructArgs&& args) noexcept;
|
YaComponent(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -32,5 +32,5 @@ YaConnectionPoint::Vst3ConnectionPointProxyConstructArgs::
|
|||||||
size_t owner_instance_id) noexcept
|
size_t owner_instance_id) noexcept
|
||||||
: owner_instance_id(owner_instance_id), connection_point_args(object) {}
|
: owner_instance_id(owner_instance_id), connection_point_args(object) {}
|
||||||
|
|
||||||
YaConnectionPoint::YaConnectionPoint(const ConstructArgs&& args) noexcept
|
YaConnectionPoint::YaConnectionPoint(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ class YaConnectionPoint : public Steinberg::Vst::IConnectionPoint {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaConnectionPoint(const ConstructArgs&& args) noexcept;
|
YaConnectionPoint(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -23,5 +23,5 @@ YaEditController2::ConstructArgs::ConstructArgs(
|
|||||||
: supported(
|
: supported(
|
||||||
Steinberg::FUnknownPtr<Steinberg::Vst::IEditController2>(object)) {}
|
Steinberg::FUnknownPtr<Steinberg::Vst::IEditController2>(object)) {}
|
||||||
|
|
||||||
YaEditController2::YaEditController2(const ConstructArgs&& args) noexcept
|
YaEditController2::YaEditController2(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ class YaEditController2 : public Steinberg::Vst::IEditController2 {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaEditController2(const ConstructArgs&& args) noexcept;
|
YaEditController2(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -25,5 +25,5 @@ YaEditControllerHostEditing::ConstructArgs::ConstructArgs(
|
|||||||
object)) {}
|
object)) {}
|
||||||
|
|
||||||
YaEditControllerHostEditing::YaEditControllerHostEditing(
|
YaEditControllerHostEditing::YaEditControllerHostEditing(
|
||||||
const ConstructArgs&& args) noexcept
|
ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ class YaEditControllerHostEditing
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaEditControllerHostEditing(const ConstructArgs&& args) noexcept;
|
YaEditControllerHostEditing(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -23,5 +23,5 @@ YaEditController::ConstructArgs::ConstructArgs(
|
|||||||
: supported(
|
: supported(
|
||||||
Steinberg::FUnknownPtr<Steinberg::Vst::IEditController>(object)) {}
|
Steinberg::FUnknownPtr<Steinberg::Vst::IEditController>(object)) {}
|
||||||
|
|
||||||
YaEditController::YaEditController(const ConstructArgs&& args) noexcept
|
YaEditController::YaEditController(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ class YaEditController : public Steinberg::Vst::IEditController {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaEditController(const ConstructArgs&& args) noexcept;
|
YaEditController(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -24,5 +24,5 @@ YaInfoListener::ConstructArgs::ConstructArgs(
|
|||||||
Steinberg::FUnknownPtr<Steinberg::Vst::ChannelContext::IInfoListener>(
|
Steinberg::FUnknownPtr<Steinberg::Vst::ChannelContext::IInfoListener>(
|
||||||
object)) {}
|
object)) {}
|
||||||
|
|
||||||
YaInfoListener::YaInfoListener(const ConstructArgs&& args) noexcept
|
YaInfoListener::YaInfoListener(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ class YaInfoListener : public Steinberg::Vst::ChannelContext::IInfoListener {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaInfoListener(const ConstructArgs&& args) noexcept;
|
YaInfoListener(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -24,5 +24,5 @@ YaKeyswitchController::ConstructArgs::ConstructArgs(
|
|||||||
object)) {}
|
object)) {}
|
||||||
|
|
||||||
YaKeyswitchController::YaKeyswitchController(
|
YaKeyswitchController::YaKeyswitchController(
|
||||||
const ConstructArgs&& args) noexcept
|
ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ class YaKeyswitchController : public Steinberg::Vst::IKeyswitchController {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaKeyswitchController(const ConstructArgs&& args) noexcept;
|
YaKeyswitchController(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -22,5 +22,5 @@ YaMidiLearn::ConstructArgs::ConstructArgs(
|
|||||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IMidiLearn>(object)) {}
|
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IMidiLearn>(object)) {}
|
||||||
|
|
||||||
YaMidiLearn::YaMidiLearn(const ConstructArgs&& args) noexcept
|
YaMidiLearn::YaMidiLearn(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ class YaMidiLearn : public Steinberg::Vst::IMidiLearn {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaMidiLearn(const ConstructArgs&& args) noexcept;
|
YaMidiLearn(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -22,5 +22,5 @@ YaMidiMapping::ConstructArgs::ConstructArgs(
|
|||||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IMidiMapping>(object)) {}
|
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IMidiMapping>(object)) {}
|
||||||
|
|
||||||
YaMidiMapping::YaMidiMapping(const ConstructArgs&& args) noexcept
|
YaMidiMapping::YaMidiMapping(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ class YaMidiMapping : public Steinberg::Vst::IMidiMapping {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaMidiMapping(const ConstructArgs&& args) noexcept;
|
YaMidiMapping(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -25,5 +25,5 @@ YaNoteExpressionController::ConstructArgs::ConstructArgs(
|
|||||||
object)) {}
|
object)) {}
|
||||||
|
|
||||||
YaNoteExpressionController::YaNoteExpressionController(
|
YaNoteExpressionController::YaNoteExpressionController(
|
||||||
const ConstructArgs&& args) noexcept
|
ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ class YaNoteExpressionController
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaNoteExpressionController(const ConstructArgs&& args) noexcept;
|
YaNoteExpressionController(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -24,5 +24,5 @@ YaNoteExpressionPhysicalUIMapping::ConstructArgs::ConstructArgs(
|
|||||||
Steinberg::Vst::INoteExpressionPhysicalUIMapping>(object)) {}
|
Steinberg::Vst::INoteExpressionPhysicalUIMapping>(object)) {}
|
||||||
|
|
||||||
YaNoteExpressionPhysicalUIMapping::YaNoteExpressionPhysicalUIMapping(
|
YaNoteExpressionPhysicalUIMapping::YaNoteExpressionPhysicalUIMapping(
|
||||||
const ConstructArgs&& args) noexcept
|
ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ class YaNoteExpressionPhysicalUIMapping
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaNoteExpressionPhysicalUIMapping(const ConstructArgs&& args) noexcept;
|
YaNoteExpressionPhysicalUIMapping(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -24,5 +24,5 @@ YaParameterFunctionName::ConstructArgs::ConstructArgs(
|
|||||||
object)) {}
|
object)) {}
|
||||||
|
|
||||||
YaParameterFunctionName::YaParameterFunctionName(
|
YaParameterFunctionName::YaParameterFunctionName(
|
||||||
const ConstructArgs&& args) noexcept
|
ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ class YaParameterFunctionName : public Steinberg::Vst::IParameterFunctionName {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaParameterFunctionName(const ConstructArgs&& args) noexcept;
|
YaParameterFunctionName(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -22,5 +22,5 @@ YaPluginBase::ConstructArgs::ConstructArgs(
|
|||||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||||
: supported(Steinberg::FUnknownPtr<Steinberg::IPluginBase>(object)) {}
|
: supported(Steinberg::FUnknownPtr<Steinberg::IPluginBase>(object)) {}
|
||||||
|
|
||||||
YaPluginBase::YaPluginBase(const ConstructArgs&& args) noexcept
|
YaPluginBase::YaPluginBase(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ class YaPluginBase : public Steinberg::IPluginBase {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaPluginBase(const ConstructArgs&& args) noexcept;
|
YaPluginBase(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -24,5 +24,5 @@ YaPrefetchableSupport::ConstructArgs::ConstructArgs(
|
|||||||
object)) {}
|
object)) {}
|
||||||
|
|
||||||
YaPrefetchableSupport::YaPrefetchableSupport(
|
YaPrefetchableSupport::YaPrefetchableSupport(
|
||||||
const ConstructArgs&& args) noexcept
|
ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ class YaPrefetchableSupport : public Steinberg::Vst::IPrefetchableSupport {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaPrefetchableSupport(const ConstructArgs&& args) noexcept;
|
YaPrefetchableSupport(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -25,5 +25,5 @@ YaProcessContextRequirements::ConstructArgs::ConstructArgs(
|
|||||||
object)) {}
|
object)) {}
|
||||||
|
|
||||||
YaProcessContextRequirements::YaProcessContextRequirements(
|
YaProcessContextRequirements::YaProcessContextRequirements(
|
||||||
const ConstructArgs&& args) noexcept
|
ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ class YaProcessContextRequirements
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaProcessContextRequirements(const ConstructArgs&& args) noexcept;
|
YaProcessContextRequirements(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -23,5 +23,5 @@ YaProgramListData::ConstructArgs::ConstructArgs(
|
|||||||
: supported(
|
: supported(
|
||||||
Steinberg::FUnknownPtr<Steinberg::Vst::IProgramListData>(object)) {}
|
Steinberg::FUnknownPtr<Steinberg::Vst::IProgramListData>(object)) {}
|
||||||
|
|
||||||
YaProgramListData::YaProgramListData(const ConstructArgs&& args) noexcept
|
YaProgramListData::YaProgramListData(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ class YaProgramListData : public Steinberg::Vst::IProgramListData {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaProgramListData(const ConstructArgs&& args) noexcept;
|
YaProgramListData(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -22,5 +22,5 @@ YaUnitData::ConstructArgs::ConstructArgs(
|
|||||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IUnitData>(object)) {}
|
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IUnitData>(object)) {}
|
||||||
|
|
||||||
YaUnitData::YaUnitData(const ConstructArgs&& args) noexcept
|
YaUnitData::YaUnitData(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ class YaUnitData : public Steinberg::Vst::IUnitData {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaUnitData(const ConstructArgs&& args) noexcept;
|
YaUnitData(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -22,5 +22,5 @@ YaUnitInfo::ConstructArgs::ConstructArgs(
|
|||||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IUnitInfo>(object)) {}
|
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IUnitInfo>(object)) {}
|
||||||
|
|
||||||
YaUnitInfo::YaUnitInfo(const ConstructArgs&& args) noexcept
|
YaUnitInfo::YaUnitInfo(ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ class YaUnitInfo : public Steinberg::Vst::IUnitInfo {
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaUnitInfo(const ConstructArgs&& args) noexcept;
|
YaUnitInfo(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -25,5 +25,5 @@ YaXmlRepresentationController::ConstructArgs::ConstructArgs(
|
|||||||
object)) {}
|
object)) {}
|
||||||
|
|
||||||
YaXmlRepresentationController::YaXmlRepresentationController(
|
YaXmlRepresentationController::YaXmlRepresentationController(
|
||||||
const ConstructArgs&& args) noexcept
|
ConstructArgs&& args) noexcept
|
||||||
: arguments(std::move(args)) {}
|
: arguments(std::move(args)) {}
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ class YaXmlRepresentationController
|
|||||||
* Instantiate this instance with arguments read from another interface
|
* Instantiate this instance with arguments read from another interface
|
||||||
* implementation.
|
* implementation.
|
||||||
*/
|
*/
|
||||||
YaXmlRepresentationController(const ConstructArgs&& args) noexcept;
|
YaXmlRepresentationController(ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
inline bool supported() const noexcept { return arguments.supported; }
|
inline bool supported() const noexcept { return arguments.supported; }
|
||||||
|
|
||||||
|
|||||||
@@ -16,9 +16,8 @@
|
|||||||
|
|
||||||
#include "context-menu-target.h"
|
#include "context-menu-target.h"
|
||||||
|
|
||||||
YaContextMenuTargetImpl::YaContextMenuTargetImpl(
|
YaContextMenuTargetImpl::YaContextMenuTargetImpl(Vst3PluginBridge& bridge,
|
||||||
Vst3PluginBridge& bridge,
|
ConstructArgs&& args) noexcept
|
||||||
const ConstructArgs&& args) noexcept
|
|
||||||
: YaContextMenuTarget(std::move(args)), bridge(bridge) {}
|
: YaContextMenuTarget(std::move(args)), bridge(bridge) {}
|
||||||
|
|
||||||
tresult PLUGIN_API
|
tresult PLUGIN_API
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
class YaContextMenuTargetImpl : public YaContextMenuTarget {
|
class YaContextMenuTargetImpl : public YaContextMenuTarget {
|
||||||
public:
|
public:
|
||||||
YaContextMenuTargetImpl(Vst3PluginBridge& bridge,
|
YaContextMenuTargetImpl(Vst3PluginBridge& bridge,
|
||||||
const ConstructArgs&& args) noexcept;
|
ConstructArgs&& args) noexcept;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* We'll override the query interface to log queries for interfaces we do
|
* We'll override the query interface to log queries for interfaces we do
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ class GroupBridge {
|
|||||||
GroupBridge(const GroupBridge&) = delete;
|
GroupBridge(const GroupBridge&) = delete;
|
||||||
GroupBridge& operator=(const GroupBridge&) = delete;
|
GroupBridge& operator=(const GroupBridge&) = delete;
|
||||||
|
|
||||||
GroupBridge(const GroupBridge&&) = delete;
|
GroupBridge(GroupBridge&&) = delete;
|
||||||
GroupBridge& operator=(GroupBridge&&) = delete;
|
GroupBridge& operator=(GroupBridge&&) = delete;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user