diff --git a/src/clap_proxy.h b/src/clap_proxy.h index 7a921f47..e0c1590e 100644 --- a/src/clap_proxy.h +++ b/src/clap_proxy.h @@ -72,10 +72,10 @@ class IHost virtual const char* host_get_name() = 0; // context menu - + // actually, everything here should be virtual only, but until all wrappers are updated, // IHost provides default implementations. - + virtual bool supportsContextMenu() const { return false; @@ -96,14 +96,13 @@ class IHost { return false; } - + virtual bool context_menu_popup(const clap_context_menu_target_t* target, int32_t screen_index, int32_t x, int32_t y) { return false; } - #if LIN virtual bool register_fd(int fd, clap_posix_fd_flags_t flags) = 0; virtual bool modify_fd(int fd, clap_posix_fd_flags_t flags) = 0; @@ -227,8 +226,8 @@ class Plugin const clap_context_menu_builder_t* builder); bool context_menu_perform(const clap_context_menu_target_t* target, clap_id action_id); bool context_menu_can_popup(); - bool context_menu_popup(const clap_context_menu_target_t* target, int32_t screen_index, - int32_t x, int32_t y); + bool context_menu_popup(const clap_context_menu_target_t* target, int32_t screen_index, int32_t x, + int32_t y); // hostgui void resize_hints_changed() diff --git a/src/detail/vst3/plugview.h b/src/detail/vst3/plugview.h index 389d86ba..94792038 100644 --- a/src/detail/vst3/plugview.h +++ b/src/detail/vst3/plugview.h @@ -18,8 +18,8 @@ using namespace Steinberg; class WrappedView : public Steinberg::IPlugView, public Steinberg::FObject { public: - WrappedView(const clap_plugin_t* plugin, const clap_plugin_gui_t* gui, std::function onRemoved, std::function onDestroy, - std::function onRunLoopAvailable); + WrappedView(const clap_plugin_t* plugin, const clap_plugin_gui_t* gui, std::function onRemoved, + std::function onDestroy, std::function onRunLoopAvailable); ~WrappedView(); // IPlugView interface