mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +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) {}
|
||||
|
||||
Vst3ComponentHandlerProxy::Vst3ComponentHandlerProxy(
|
||||
const ConstructArgs&& args) noexcept
|
||||
ConstructArgs&& args) noexcept
|
||||
: YaComponentHandler(std::move(args.component_handler_args)),
|
||||
YaComponentHandler2(std::move(args.component_handler_2_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,
|
||||
* 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
|
||||
|
||||
@@ -23,5 +23,5 @@ YaComponentHandler2::ConstructArgs::ConstructArgs(
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::IComponentHandler2>(object)) {}
|
||||
|
||||
YaComponentHandler2::YaComponentHandler2(const ConstructArgs&& args) noexcept
|
||||
YaComponentHandler2::YaComponentHandler2(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -57,7 +57,7 @@ class YaComponentHandler2 : public Steinberg::Vst::IComponentHandler2 {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaComponentHandler2(const ConstructArgs&& args) noexcept;
|
||||
YaComponentHandler2(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -23,5 +23,5 @@ YaComponentHandler3::ConstructArgs::ConstructArgs(
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::IComponentHandler3>(object)) {}
|
||||
|
||||
YaComponentHandler3::YaComponentHandler3(const ConstructArgs&& args) noexcept
|
||||
YaComponentHandler3::YaComponentHandler3(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -59,7 +59,7 @@ class YaComponentHandler3 : public Steinberg::Vst::IComponentHandler3 {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaComponentHandler3(const ConstructArgs&& args) noexcept;
|
||||
YaComponentHandler3(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
+1
-1
@@ -24,5 +24,5 @@ YaComponentHandlerBusActivation::ConstructArgs::ConstructArgs(
|
||||
Steinberg::Vst::IComponentHandlerBusActivation>(object)) {}
|
||||
|
||||
YaComponentHandlerBusActivation::YaComponentHandlerBusActivation(
|
||||
const ConstructArgs&& args) noexcept
|
||||
ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -60,7 +60,7 @@ class YaComponentHandlerBusActivation
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaComponentHandlerBusActivation(const ConstructArgs&& args) noexcept;
|
||||
YaComponentHandlerBusActivation(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -23,5 +23,5 @@ YaComponentHandler::ConstructArgs::ConstructArgs(
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::IComponentHandler>(object)) {}
|
||||
|
||||
YaComponentHandler::YaComponentHandler(const ConstructArgs&& args) noexcept
|
||||
YaComponentHandler::YaComponentHandler(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -57,7 +57,7 @@ class YaComponentHandler : public Steinberg::Vst::IComponentHandler {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaComponentHandler(const ConstructArgs&& args) noexcept;
|
||||
YaComponentHandler(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -22,5 +22,5 @@ YaProgress::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IProgress>(object)) {}
|
||||
|
||||
YaProgress::YaProgress(const ConstructArgs&& args) noexcept
|
||||
YaProgress::YaProgress(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -58,7 +58,7 @@ class YaProgress : public Steinberg::Vst::IProgress {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaProgress(const ConstructArgs&& args) noexcept;
|
||||
YaProgress(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -23,5 +23,5 @@ YaUnitHandler2::ConstructArgs::ConstructArgs(
|
||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IUnitHandler2>(object)) {
|
||||
}
|
||||
|
||||
YaUnitHandler2::YaUnitHandler2(const ConstructArgs&& args) noexcept
|
||||
YaUnitHandler2::YaUnitHandler2(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -57,7 +57,7 @@ class YaUnitHandler2 : public Steinberg::Vst::IUnitHandler2 {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaUnitHandler2(const ConstructArgs&& args) noexcept;
|
||||
YaUnitHandler2(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -22,5 +22,5 @@ YaUnitHandler::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IUnitHandler>(object)) {}
|
||||
|
||||
YaUnitHandler::YaUnitHandler(const ConstructArgs&& args) noexcept
|
||||
YaUnitHandler::YaUnitHandler(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -57,7 +57,7 @@ class YaUnitHandler : public Steinberg::Vst::IUnitHandler {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaUnitHandler(const ConstructArgs&& args) noexcept;
|
||||
YaUnitHandler(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "connection-point-proxy.h"
|
||||
|
||||
Vst3ConnectionPointProxy::Vst3ConnectionPointProxy(
|
||||
const ConstructArgs&& args) noexcept
|
||||
ConstructArgs&& args) noexcept
|
||||
: YaConnectionPoint(std::move(args.connection_point_args)),
|
||||
arguments(std::move(args)){FUNKNOWN_CTOR}
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ class Vst3ConnectionPointProxy : public YaConnectionPoint {
|
||||
* @note This object will be created as part of handling
|
||||
* `IConnectionPoint::connect()` if the connection is indirect.
|
||||
*/
|
||||
Vst3ConnectionPointProxy(const ConstructArgs&& args) noexcept;
|
||||
Vst3ConnectionPointProxy(ConstructArgs&& args) noexcept;
|
||||
|
||||
/**
|
||||
* This object will be destroyed again during
|
||||
|
||||
@@ -26,7 +26,7 @@ Vst3ContextMenuProxy::ConstructArgs::ConstructArgs(
|
||||
context_menu_id(context_menu_id),
|
||||
context_menu_args(object) {}
|
||||
|
||||
Vst3ContextMenuProxy::Vst3ContextMenuProxy(const ConstructArgs&& args) noexcept
|
||||
Vst3ContextMenuProxy::Vst3ContextMenuProxy(ConstructArgs&& args) noexcept
|
||||
: YaContextMenu(std::move(args.context_menu_args)),
|
||||
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
|
||||
* 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
|
||||
|
||||
@@ -26,7 +26,7 @@ YaContextMenuTarget::ConstructArgs::ConstructArgs(
|
||||
context_menu_id(context_menu_id),
|
||||
tag(tag) {}
|
||||
|
||||
YaContextMenuTarget::YaContextMenuTarget(const ConstructArgs&& args) noexcept
|
||||
YaContextMenuTarget::YaContextMenuTarget(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)){FUNKNOWN_CTOR}
|
||||
|
||||
YaContextMenuTarget::~YaContextMenuTarget() noexcept {
|
||||
|
||||
@@ -69,7 +69,7 @@ class YaContextMenuTarget : public Steinberg::Vst::IContextMenuTarget {
|
||||
* Create context menu target that when called, calls the corresponding
|
||||
* context menu target provided by the object.
|
||||
*/
|
||||
YaContextMenuTarget(const ConstructArgs&& args) noexcept;
|
||||
YaContextMenuTarget(ConstructArgs&& args) noexcept;
|
||||
|
||||
~YaContextMenuTarget() noexcept;
|
||||
|
||||
|
||||
@@ -22,5 +22,5 @@ YaContextMenu::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IContextMenu>(object)) {}
|
||||
|
||||
YaContextMenu::YaContextMenu(const ConstructArgs&& args) noexcept
|
||||
YaContextMenu::YaContextMenu(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -59,7 +59,7 @@ class YaContextMenu : public Steinberg::Vst::IContextMenu {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaContextMenu(const ConstructArgs&& args) noexcept;
|
||||
YaContextMenu(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ Vst3HostContextProxy::ConstructArgs::ConstructArgs(
|
||||
host_application_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)),
|
||||
YaPlugInterfaceSupport(std::move(args.plug_interface_support_args)),
|
||||
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
|
||||
* 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
|
||||
|
||||
@@ -23,5 +23,5 @@ YaHostApplication::ConstructArgs::ConstructArgs(
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::IHostApplication>(object)) {}
|
||||
|
||||
YaHostApplication::YaHostApplication(const ConstructArgs&& args) noexcept
|
||||
YaHostApplication::YaHostApplication(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -61,7 +61,7 @@ class YaHostApplication : public Steinberg::Vst::IHostApplication {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaHostApplication(const ConstructArgs&& args) noexcept;
|
||||
YaHostApplication(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -24,5 +24,5 @@ YaPlugInterfaceSupport::ConstructArgs::ConstructArgs(
|
||||
object)) {}
|
||||
|
||||
YaPlugInterfaceSupport::YaPlugInterfaceSupport(
|
||||
const ConstructArgs&& args) noexcept
|
||||
ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -58,7 +58,7 @@ class YaPlugInterfaceSupport : public Steinberg::Vst::IPlugInterfaceSupport {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaPlugInterfaceSupport(const ConstructArgs&& args) noexcept;
|
||||
YaPlugInterfaceSupport(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ Vst3PlugFrameProxy::ConstructArgs::ConstructArgs(
|
||||
size_t owner_instance_id) noexcept
|
||||
: 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)),
|
||||
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
|
||||
* 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
|
||||
|
||||
@@ -22,5 +22,5 @@ YaPlugFrame::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(Steinberg::FUnknownPtr<Steinberg::IPlugFrame>(object)) {}
|
||||
|
||||
YaPlugFrame::YaPlugFrame(const ConstructArgs&& args) noexcept
|
||||
YaPlugFrame::YaPlugFrame(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -57,7 +57,7 @@ class YaPlugFrame : public Steinberg::IPlugFrame {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaPlugFrame(const ConstructArgs&& args) noexcept;
|
||||
YaPlugFrame(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ Vst3PlugViewProxy::ConstructArgs::ConstructArgs(
|
||||
parameter_finder_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)),
|
||||
YaParameterFinder(std::move(args.parameter_finder_args)),
|
||||
YaPlugViewContentScaleSupport(
|
||||
|
||||
@@ -80,7 +80,7 @@ class Vst3PlugViewProxy : public YaPlugView,
|
||||
* message. The destructor should still send a message to drop the
|
||||
* original smart pointer.
|
||||
*/
|
||||
Vst3PlugViewProxy(const ConstructArgs&& args) noexcept;
|
||||
Vst3PlugViewProxy(ConstructArgs&& args) noexcept;
|
||||
|
||||
/**
|
||||
* Message to request the Wine plugin host to destroy the `IPlugView*`
|
||||
|
||||
@@ -23,5 +23,5 @@ YaParameterFinder::ConstructArgs::ConstructArgs(
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::IParameterFinder>(object)) {}
|
||||
|
||||
YaParameterFinder::YaParameterFinder(const ConstructArgs&& args) noexcept
|
||||
YaParameterFinder::YaParameterFinder(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -57,7 +57,7 @@ class YaParameterFinder : public Steinberg::Vst::IParameterFinder {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaParameterFinder(const ConstructArgs&& args) noexcept;
|
||||
YaParameterFinder(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -24,5 +24,5 @@ YaPlugViewContentScaleSupport::ConstructArgs::ConstructArgs(
|
||||
object)) {}
|
||||
|
||||
YaPlugViewContentScaleSupport::YaPlugViewContentScaleSupport(
|
||||
const ConstructArgs&& args) noexcept
|
||||
ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -58,7 +58,7 @@ class YaPlugViewContentScaleSupport
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaPlugViewContentScaleSupport(const ConstructArgs&& args) noexcept;
|
||||
YaPlugViewContentScaleSupport(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -22,5 +22,5 @@ YaPlugView::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(Steinberg::FUnknownPtr<Steinberg::IPlugView>(object)) {}
|
||||
|
||||
YaPlugView::YaPlugView(const ConstructArgs&& args) noexcept
|
||||
YaPlugView::YaPlugView(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -59,7 +59,7 @@ class YaPlugView : public Steinberg::IPlugView {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaPlugView(const ConstructArgs&& args) noexcept;
|
||||
YaPlugView(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -22,8 +22,7 @@ Vst3PluginFactoryProxy::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: plugin_factory_args(object) {}
|
||||
|
||||
Vst3PluginFactoryProxy::Vst3PluginFactoryProxy(
|
||||
const ConstructArgs&& args) noexcept
|
||||
Vst3PluginFactoryProxy::Vst3PluginFactoryProxy(ConstructArgs&& args) noexcept
|
||||
: YaPluginFactory3(std::move(args.plugin_factory_args)),
|
||||
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
|
||||
* 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
|
||||
|
||||
@@ -99,7 +99,7 @@ YaPluginFactory3::ConstructArgs::ConstructArgs(
|
||||
}
|
||||
}
|
||||
|
||||
YaPluginFactory3::YaPluginFactory3(const ConstructArgs&& args) noexcept
|
||||
YaPluginFactory3::YaPluginFactory3(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
tresult PLUGIN_API
|
||||
|
||||
@@ -122,7 +122,7 @@ class YaPluginFactory3 : public Steinberg::IPluginFactory3 {
|
||||
* Instantiate this instance with arguments read from the Windows VST3
|
||||
* plugin's plugin factory.
|
||||
*/
|
||||
YaPluginFactory3(const ConstructArgs&& args) noexcept;
|
||||
YaPluginFactory3(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supports_plugin_factory() const noexcept {
|
||||
return arguments.supports_plugin_factory;
|
||||
|
||||
@@ -44,7 +44,7 @@ Vst3PluginProxy::ConstructArgs::ConstructArgs(
|
||||
unit_info_args(object),
|
||||
xml_representation_controller_args(object) {}
|
||||
|
||||
Vst3PluginProxy::Vst3PluginProxy(const ConstructArgs&& args) noexcept
|
||||
Vst3PluginProxy::Vst3PluginProxy(ConstructArgs&& args) noexcept
|
||||
: YaAudioPresentationLatency(
|
||||
std::move(args.audio_presentation_latency_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
|
||||
* interface implementation.
|
||||
*/
|
||||
Vst3PluginProxy(const ConstructArgs&& args) noexcept;
|
||||
Vst3PluginProxy(ConstructArgs&& args) noexcept;
|
||||
|
||||
/**
|
||||
* Message to request the Wine plugin host to destroy this object instance
|
||||
|
||||
@@ -25,5 +25,5 @@ YaAudioPresentationLatency::ConstructArgs::ConstructArgs(
|
||||
object)) {}
|
||||
|
||||
YaAudioPresentationLatency::YaAudioPresentationLatency(
|
||||
const ConstructArgs&& args) noexcept
|
||||
ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -58,7 +58,7 @@ class YaAudioPresentationLatency
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaAudioPresentationLatency(const ConstructArgs&& args) noexcept;
|
||||
YaAudioPresentationLatency(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -23,5 +23,5 @@ YaAudioProcessor::ConstructArgs::ConstructArgs(
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::IAudioProcessor>(object)) {}
|
||||
|
||||
YaAudioProcessor::YaAudioProcessor(const ConstructArgs&& args) noexcept
|
||||
YaAudioProcessor::YaAudioProcessor(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -60,7 +60,7 @@ class YaAudioProcessor : public Steinberg::Vst::IAudioProcessor {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaAudioProcessor(const ConstructArgs&& args) noexcept;
|
||||
YaAudioProcessor(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -23,5 +23,5 @@ YaAutomationState::ConstructArgs::ConstructArgs(
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::IAutomationState>(object)) {}
|
||||
|
||||
YaAutomationState::YaAutomationState(const ConstructArgs&& args) noexcept
|
||||
YaAutomationState::YaAutomationState(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -60,7 +60,7 @@ class YaAutomationState : public Steinberg::Vst::IAutomationState {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaAutomationState(const ConstructArgs&& args) noexcept;
|
||||
YaAutomationState(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -22,5 +22,5 @@ YaComponent::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IComponent>(object)) {}
|
||||
|
||||
YaComponent::YaComponent(const ConstructArgs&& args) noexcept
|
||||
YaComponent::YaComponent(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -60,7 +60,7 @@ class YaComponent : public Steinberg::Vst::IComponent {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaComponent(const ConstructArgs&& args) noexcept;
|
||||
YaComponent(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -32,5 +32,5 @@ YaConnectionPoint::Vst3ConnectionPointProxyConstructArgs::
|
||||
size_t owner_instance_id) noexcept
|
||||
: 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)) {}
|
||||
|
||||
@@ -105,7 +105,7 @@ class YaConnectionPoint : public Steinberg::Vst::IConnectionPoint {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaConnectionPoint(const ConstructArgs&& args) noexcept;
|
||||
YaConnectionPoint(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -23,5 +23,5 @@ YaEditController2::ConstructArgs::ConstructArgs(
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::IEditController2>(object)) {}
|
||||
|
||||
YaEditController2::YaEditController2(const ConstructArgs&& args) noexcept
|
||||
YaEditController2::YaEditController2(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -57,7 +57,7 @@ class YaEditController2 : public Steinberg::Vst::IEditController2 {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaEditController2(const ConstructArgs&& args) noexcept;
|
||||
YaEditController2(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -25,5 +25,5 @@ YaEditControllerHostEditing::ConstructArgs::ConstructArgs(
|
||||
object)) {}
|
||||
|
||||
YaEditControllerHostEditing::YaEditControllerHostEditing(
|
||||
const ConstructArgs&& args) noexcept
|
||||
ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -58,7 +58,7 @@ class YaEditControllerHostEditing
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaEditControllerHostEditing(const ConstructArgs&& args) noexcept;
|
||||
YaEditControllerHostEditing(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -23,5 +23,5 @@ YaEditController::ConstructArgs::ConstructArgs(
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::IEditController>(object)) {}
|
||||
|
||||
YaEditController::YaEditController(const ConstructArgs&& args) noexcept
|
||||
YaEditController::YaEditController(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -61,7 +61,7 @@ class YaEditController : public Steinberg::Vst::IEditController {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaEditController(const ConstructArgs&& args) noexcept;
|
||||
YaEditController(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -24,5 +24,5 @@ YaInfoListener::ConstructArgs::ConstructArgs(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::ChannelContext::IInfoListener>(
|
||||
object)) {}
|
||||
|
||||
YaInfoListener::YaInfoListener(const ConstructArgs&& args) noexcept
|
||||
YaInfoListener::YaInfoListener(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -58,7 +58,7 @@ class YaInfoListener : public Steinberg::Vst::ChannelContext::IInfoListener {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaInfoListener(const ConstructArgs&& args) noexcept;
|
||||
YaInfoListener(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -24,5 +24,5 @@ YaKeyswitchController::ConstructArgs::ConstructArgs(
|
||||
object)) {}
|
||||
|
||||
YaKeyswitchController::YaKeyswitchController(
|
||||
const ConstructArgs&& args) noexcept
|
||||
ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -57,7 +57,7 @@ class YaKeyswitchController : public Steinberg::Vst::IKeyswitchController {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaKeyswitchController(const ConstructArgs&& args) noexcept;
|
||||
YaKeyswitchController(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -22,5 +22,5 @@ YaMidiLearn::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IMidiLearn>(object)) {}
|
||||
|
||||
YaMidiLearn::YaMidiLearn(const ConstructArgs&& args) noexcept
|
||||
YaMidiLearn::YaMidiLearn(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -57,7 +57,7 @@ class YaMidiLearn : public Steinberg::Vst::IMidiLearn {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaMidiLearn(const ConstructArgs&& args) noexcept;
|
||||
YaMidiLearn(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -22,5 +22,5 @@ YaMidiMapping::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IMidiMapping>(object)) {}
|
||||
|
||||
YaMidiMapping::YaMidiMapping(const ConstructArgs&& args) noexcept
|
||||
YaMidiMapping::YaMidiMapping(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -57,7 +57,7 @@ class YaMidiMapping : public Steinberg::Vst::IMidiMapping {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaMidiMapping(const ConstructArgs&& args) noexcept;
|
||||
YaMidiMapping(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -25,5 +25,5 @@ YaNoteExpressionController::ConstructArgs::ConstructArgs(
|
||||
object)) {}
|
||||
|
||||
YaNoteExpressionController::YaNoteExpressionController(
|
||||
const ConstructArgs&& args) noexcept
|
||||
ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -61,7 +61,7 @@ class YaNoteExpressionController
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaNoteExpressionController(const ConstructArgs&& args) noexcept;
|
||||
YaNoteExpressionController(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -24,5 +24,5 @@ YaNoteExpressionPhysicalUIMapping::ConstructArgs::ConstructArgs(
|
||||
Steinberg::Vst::INoteExpressionPhysicalUIMapping>(object)) {}
|
||||
|
||||
YaNoteExpressionPhysicalUIMapping::YaNoteExpressionPhysicalUIMapping(
|
||||
const ConstructArgs&& args) noexcept
|
||||
ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -60,7 +60,7 @@ class YaNoteExpressionPhysicalUIMapping
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaNoteExpressionPhysicalUIMapping(const ConstructArgs&& args) noexcept;
|
||||
YaNoteExpressionPhysicalUIMapping(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -24,5 +24,5 @@ YaParameterFunctionName::ConstructArgs::ConstructArgs(
|
||||
object)) {}
|
||||
|
||||
YaParameterFunctionName::YaParameterFunctionName(
|
||||
const ConstructArgs&& args) noexcept
|
||||
ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -59,7 +59,7 @@ class YaParameterFunctionName : public Steinberg::Vst::IParameterFunctionName {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaParameterFunctionName(const ConstructArgs&& args) noexcept;
|
||||
YaParameterFunctionName(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -22,5 +22,5 @@ YaPluginBase::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(Steinberg::FUnknownPtr<Steinberg::IPluginBase>(object)) {}
|
||||
|
||||
YaPluginBase::YaPluginBase(const ConstructArgs&& args) noexcept
|
||||
YaPluginBase::YaPluginBase(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -59,7 +59,7 @@ class YaPluginBase : public Steinberg::IPluginBase {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaPluginBase(const ConstructArgs&& args) noexcept;
|
||||
YaPluginBase(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -24,5 +24,5 @@ YaPrefetchableSupport::ConstructArgs::ConstructArgs(
|
||||
object)) {}
|
||||
|
||||
YaPrefetchableSupport::YaPrefetchableSupport(
|
||||
const ConstructArgs&& args) noexcept
|
||||
ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -58,7 +58,7 @@ class YaPrefetchableSupport : public Steinberg::Vst::IPrefetchableSupport {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaPrefetchableSupport(const ConstructArgs&& args) noexcept;
|
||||
YaPrefetchableSupport(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -25,5 +25,5 @@ YaProcessContextRequirements::ConstructArgs::ConstructArgs(
|
||||
object)) {}
|
||||
|
||||
YaProcessContextRequirements::YaProcessContextRequirements(
|
||||
const ConstructArgs&& args) noexcept
|
||||
ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -60,7 +60,7 @@ class YaProcessContextRequirements
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaProcessContextRequirements(const ConstructArgs&& args) noexcept;
|
||||
YaProcessContextRequirements(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -23,5 +23,5 @@ YaProgramListData::ConstructArgs::ConstructArgs(
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::IProgramListData>(object)) {}
|
||||
|
||||
YaProgramListData::YaProgramListData(const ConstructArgs&& args) noexcept
|
||||
YaProgramListData::YaProgramListData(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -58,7 +58,7 @@ class YaProgramListData : public Steinberg::Vst::IProgramListData {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaProgramListData(const ConstructArgs&& args) noexcept;
|
||||
YaProgramListData(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -22,5 +22,5 @@ YaUnitData::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IUnitData>(object)) {}
|
||||
|
||||
YaUnitData::YaUnitData(const ConstructArgs&& args) noexcept
|
||||
YaUnitData::YaUnitData(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -58,7 +58,7 @@ class YaUnitData : public Steinberg::Vst::IUnitData {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaUnitData(const ConstructArgs&& args) noexcept;
|
||||
YaUnitData(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -22,5 +22,5 @@ YaUnitInfo::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IUnitInfo>(object)) {}
|
||||
|
||||
YaUnitInfo::YaUnitInfo(const ConstructArgs&& args) noexcept
|
||||
YaUnitInfo::YaUnitInfo(ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -58,7 +58,7 @@ class YaUnitInfo : public Steinberg::Vst::IUnitInfo {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaUnitInfo(const ConstructArgs&& args) noexcept;
|
||||
YaUnitInfo(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -25,5 +25,5 @@ YaXmlRepresentationController::ConstructArgs::ConstructArgs(
|
||||
object)) {}
|
||||
|
||||
YaXmlRepresentationController::YaXmlRepresentationController(
|
||||
const ConstructArgs&& args) noexcept
|
||||
ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -65,7 +65,7 @@ class YaXmlRepresentationController
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaXmlRepresentationController(const ConstructArgs&& args) noexcept;
|
||||
YaXmlRepresentationController(ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
|
||||
@@ -16,9 +16,8 @@
|
||||
|
||||
#include "context-menu-target.h"
|
||||
|
||||
YaContextMenuTargetImpl::YaContextMenuTargetImpl(
|
||||
Vst3PluginBridge& bridge,
|
||||
const ConstructArgs&& args) noexcept
|
||||
YaContextMenuTargetImpl::YaContextMenuTargetImpl(Vst3PluginBridge& bridge,
|
||||
ConstructArgs&& args) noexcept
|
||||
: YaContextMenuTarget(std::move(args)), bridge(bridge) {}
|
||||
|
||||
tresult PLUGIN_API
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
class YaContextMenuTargetImpl : public YaContextMenuTarget {
|
||||
public:
|
||||
YaContextMenuTargetImpl(Vst3PluginBridge& bridge,
|
||||
const ConstructArgs&& args) noexcept;
|
||||
ConstructArgs&& args) noexcept;
|
||||
|
||||
/**
|
||||
* We'll override the query interface to log queries for interfaces we do
|
||||
|
||||
@@ -130,7 +130,7 @@ class GroupBridge {
|
||||
GroupBridge(const GroupBridge&) = delete;
|
||||
GroupBridge& operator=(const GroupBridge&) = delete;
|
||||
|
||||
GroupBridge(const GroupBridge&&) = delete;
|
||||
GroupBridge(GroupBridge&&) = delete;
|
||||
GroupBridge& operator=(GroupBridge&&) = delete;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user