#include "ardour_dialog.h"
#include "port_matrix.h"
-#include "i18n.h"
namespace ARDOUR {
class PortInsert;
void set_state (ARDOUR::BundleChannel c[2], bool);
PortMatrixNode::State get_state (ARDOUR::BundleChannel c[2]) const;
- std::string disassociation_verb () const {
- return _("Disconnect");
- }
-
- std::string channel_noun () const {
- return _("port");
- }
+ std::string disassociation_verb () const;
+ std::string channel_noun () const;
uint32_t n_io_ports () const;
boost::shared_ptr<ARDOUR::IO> const io () { return _io; }
private:
+ void setup_type ();
+ void io_changed ();
+ void io_changed_proxy ();
+
int _other;
int _ours;
boost::shared_ptr<ARDOUR::IO> _io;
boost::shared_ptr<PortGroup> _port_group;
bool _find_inputs_for_io_outputs;
+ PBD::ScopedConnection _io_connection;
};
class IOSelectorWindow : public Gtk::Window