Fix mismatched types (warnings).
[ardour.git] / gtk2_ardour / io_selector.h
index e720a630b385c629a2aa56b5e53348e7f342a865..57c6e6db86c3238804248af0571385860d527f22 100644 (file)
@@ -27,7 +27,7 @@ class IOSelector : public PortMatrix {
   public:
        IOSelector (ARDOUR::Session&, boost::shared_ptr<ARDOUR::IO>, bool);
 
-       void set_state (int, std::string const &, bool);
+       void set_state (int, std::string const &, bool, uint32_t);
        bool get_state (int, std::string const &) const;
        uint32_t n_rows () const;
        uint32_t maximum_rows () const;
@@ -61,16 +61,22 @@ class IOSelectorWindow : public ArdourDialog
        /* overall operation buttons */
 
        Gtk::Button add_button;
+       Gtk::Button disconnect_button;
        Gtk::Button ok_button;
        Gtk::Button cancel_button;
        Gtk::Button rescan_button;
 
+       Gtk::HBox  suggestion_box;
+       Gtk::Label suggestion;
+
        void rescan ();
        void cancel ();
        void accept ();
 
        void ports_changed (ARDOUR::IOChange change, void *src);
        void io_name_changed (void *src);
+       bool enter_scroller (GdkEventCrossing*);
+       bool leave_scroller (GdkEventCrossing*);
 };