Fix key-forwarding to linuxVST UIs
[ardour.git] / gtk2_ardour / io_selector.h
index e44fd8aa83de1322f1a6d5121abd219d99f728e3..a9810f2d7a3de1f5bd04469603b68b0c58c1f170 100644 (file)
 #define __gtkardour_io_selector_h__
 
 #include "port_matrix.h"
-#include "ardour_dialog.h"
+#include "ardour_window.h"
 
 class IOSelector : public PortMatrix
 {
-  public:
+public:
        IOSelector (Gtk::Window*, ARDOUR::Session *, boost::shared_ptr<ARDOUR::IO>);
 
        void set_state (ARDOUR::BundleChannel c[2], bool);
@@ -34,7 +34,7 @@ class IOSelector : public PortMatrix
        std::string disassociation_verb () const;
        std::string channel_noun () const;
 
-        ARDOUR::Session* session() const { return _session; }
+       ARDOUR::Session* session() const { return _session; }
 
        uint32_t n_io_ports () const;
        boost::shared_ptr<ARDOUR::IO> const io () { return _io; }
@@ -53,7 +53,7 @@ class IOSelector : public PortMatrix
                return _other;
        }
 
-  private:
+private:
 
        void setup_type ();
        void io_changed ();
@@ -67,7 +67,7 @@ class IOSelector : public PortMatrix
        PBD::ScopedConnection _io_connection;
 };
 
-class IOSelectorWindow : public ArdourDialog
+class IOSelectorWindow : public ArdourWindow
 {
   public:
        IOSelectorWindow (ARDOUR::Session *, boost::shared_ptr<ARDOUR::IO>, bool can_cancel = false);