From c74c4d3803195ea8eb7de2f96a159abfe1127b74 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 7 Mar 2012 14:40:14 +0000 Subject: [PATCH] Remove a few unused methods from ProcessorBox. git-svn-id: svn://localhost/ardour2/branches/3.0@11617 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/processor_box.cc | 31 ------------------------------- gtk2_ardour/processor_box.h | 6 ------ 2 files changed, 37 deletions(-) diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index 5c0b3c74fa..935f7b26db 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -807,12 +807,6 @@ ProcessorBox::object_drop(DnDVBox* source, ProcessorEntry* posit } } -void -ProcessorBox::update() -{ - redisplay_processors (); -} - void ProcessorBox::set_width (Width w) { @@ -1655,19 +1649,6 @@ ProcessorBox::copy_processors (const ProcSelection& to_be_copied) _rr_selection.set (node); } -void -ProcessorBox::processors_up () -{ - /* unimplemented */ -} - -void -ProcessorBox::processors_down () -{ - /* unimplemented */ -} - - void ProcessorBox::delete_processors (const ProcSelection& targets) { @@ -1888,18 +1869,6 @@ could not match the configuration of this track."); } } -void -ProcessorBox::activate_processor (boost::shared_ptr r) -{ - r->activate (); -} - -void -ProcessorBox::deactivate_processor (boost::shared_ptr r) -{ - r->deactivate (); -} - void ProcessorBox::get_selected_processors (ProcSelection& processors) const { diff --git a/gtk2_ardour/processor_box.h b/gtk2_ardour/processor_box.h index 1d150bf27a..f21fffa3f0 100644 --- a/gtk2_ardour/processor_box.h +++ b/gtk2_ardour/processor_box.h @@ -248,8 +248,6 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARD void set_route (boost::shared_ptr); void set_width (Width); - void update(); - void processor_operation (ProcessorOperation); void select_all_processors (); @@ -345,8 +343,6 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARD void delete_processors (const ProcSelection&); void paste_processors (); void paste_processors (boost::shared_ptr before); - void processors_up (); - void processors_down (); void delete_dragged_processors (const std::list >&); void clear_processors (); @@ -365,8 +361,6 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARD static Glib::RefPtr edit_generic_action; void paste_processor_state (const XMLNodeList&, boost::shared_ptr); - void activate_processor (boost::shared_ptr); - void deactivate_processor (boost::shared_ptr); void hide_processor_editor (boost::shared_ptr); void rename_processor (boost::shared_ptr);