X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fio_selector.h;h=a9810f2d7a3de1f5bd04469603b68b0c58c1f170;hb=37df98d0af21525ee8f260fd4261fb2a2eca42b7;hp=bb103d0d5d5e4da046308787a167fa019e76aa65;hpb=b800dc207ddc2cad32f96189e9700bc70e9b5942;p=ardour.git diff --git a/gtk2_ardour/io_selector.h b/gtk2_ardour/io_selector.h index bb103d0d5d..a9810f2d7a 100644 --- a/gtk2_ardour/io_selector.h +++ b/gtk2_ardour/io_selector.h @@ -21,11 +21,11 @@ #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); 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 const io () { return _io; } @@ -53,12 +53,12 @@ class IOSelector : public PortMatrix return _other; } - private: +private: void setup_type (); void io_changed (); void io_changed_proxy (); - + int _other; int _ours; boost::shared_ptr _io; @@ -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, bool can_cancel = false);