- 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;
- uint32_t minimum_rows () const;
- std::string row_name (int) const;
- void add_row ();
- void remove_row (int);
- std::string row_descriptor () const;
- boost::shared_ptr<ARDOUR::IO> const io() { return _io; }
+ void set_state (ARDOUR::BundleChannel c[2], bool);
+ State get_state (ARDOUR::BundleChannel c[2]) const;
+
+ void add_channel (boost::shared_ptr<ARDOUR::Bundle>);
+ bool can_remove_channels (int d) const {
+ return d == _ours;
+ }
+ void remove_channel (ARDOUR::BundleChannel);
+ bool can_rename_channels (int d) const {
+ return false;
+ }
+
+ uint32_t n_io_ports () const;
+ uint32_t maximum_io_ports () const;
+ uint32_t minimum_io_ports () const;
+ boost::shared_ptr<ARDOUR::IO> const io () { return _io; }
+ void setup_ports (int);
+ bool list_is_global (int) const;
+
+ bool find_inputs_for_io_outputs () const {
+ return _find_inputs_for_io_outputs;
+ }
+
+ int ours () const {
+ return _ours;
+ }
+
+ int other () const {
+ return _other;
+ }
+