Fix rect select to work in all directions.
[ardour.git] / gtk2_ardour / io_selector.h
index 993d4aa1ad0da73f3e9df1638a2af6cb1ea2995b..5ece771a638c7975c001ebba0b45a21f1779d613 100644 (file)
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #ifndef __ardour_ui_io_selector_h__
@@ -48,7 +47,7 @@ namespace ARDOUR {
        class Session;
        class PortInsert;
        class Port;
-       class Redirect;
+       class IOProcessor;
 }
 
 class IOSelector : public Gtk::VBox {
@@ -72,6 +71,7 @@ class IOSelector : public Gtk::VBox {
        boost::shared_ptr<ARDOUR::IO> io;
        bool for_input;
        ARDOUR::Port *selected_port;
+       sigc::connection page_selection_connection;
 
        Gtk::VBox main_box;
        Gtk::HBox port_and_selector_box;
@@ -119,13 +119,12 @@ class IOSelector : public Gtk::VBox {
        bool port_selection_changed(GdkEventButton *, Gtk::TreeView*);
 
        void ports_changed (ARDOUR::IOChange, void *);
-       void name_changed (void*);
+       void name_changed ();
 
        void add_port ();
        void remove_port ();
-       gint remove_port_when_idle (ARDOUR::Port *);
+       void set_button_sensitivity ();
 
-       gint port_column_button_release (GdkEventButton *, Gtk::TreeView*);
        gint connection_button_release (GdkEventButton *, Gtk::TreeView*);
        
        void select_treeview(Gtk::TreeView*);
@@ -198,7 +197,8 @@ class PortInsertWindow : public ArdourDialog
        void cancel ();
        void accept ();
 
-       void plugin_going_away (ARDOUR::Redirect*);
+       void plugin_going_away ();
+       sigc::connection going_away_connection;
 };