diff options
author | Robin Gareus <robin@gareus.org> | 2015-08-15 21:29:19 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-08-16 00:03:39 +0200 |
commit | 9f3bf09a7ceea8b8ea33832bdb88f098d1bc5bfe (patch) | |
tree | d573013698d31b4a5d8124cf0d09fc361a9a925f /gtk2_ardour/processor_box.h | |
parent | eddf50185b51089a63584d56a2b6a56f91a9a718 (diff) |
rework processor box: handle n/a plugins
Diffstat (limited to 'gtk2_ardour/processor_box.h')
-rw-r--r-- | gtk2_ardour/processor_box.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/processor_box.h b/gtk2_ardour/processor_box.h index 0776feb2b9..a76970b721 100644 --- a/gtk2_ardour/processor_box.h +++ b/gtk2_ardour/processor_box.h @@ -126,6 +126,7 @@ public: }; void set_position (Position, uint32_t); + bool unknown_processor () const { return _unknown_processor; } ; boost::shared_ptr<ARDOUR::Processor> processor () const; void set_enum_width (Width); @@ -150,6 +151,7 @@ protected: private: bool _selectable; + bool _unknown_processor; void led_clicked(); void processor_active_changed (); void processor_property_changed (const PBD::PropertyChange&); @@ -394,10 +396,13 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARD void get_selected_processors (ProcSelection&) const; bool can_cut() const; + bool stub_processor_selected() const; static Glib::RefPtr<Gtk::Action> cut_action; + static Glib::RefPtr<Gtk::Action> copy_action; static Glib::RefPtr<Gtk::Action> paste_action; static Glib::RefPtr<Gtk::Action> rename_action; + static Glib::RefPtr<Gtk::Action> delete_action; static Glib::RefPtr<Gtk::Action> edit_action; static Glib::RefPtr<Gtk::Action> edit_generic_action; void paste_processor_state (const XMLNodeList&, boost::shared_ptr<ARDOUR::Processor>); |