Fixes to bundle manager to make it vaguely usable.

Rework signal handling for bundles so that all changes should now be noticed by port matrices.


git-svn-id: svn://localhost/ardour2/branches/3.0@4501 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-02-09 03:18:10 +00:00
parent 91032b311e
commit ee42a6dd97
20 changed files with 661 additions and 325 deletions

View file

@ -48,22 +48,29 @@ class IOSelector : public PortMatrix
uint32_t maximum_io_ports () const;
uint32_t minimum_io_ports () const;
boost::shared_ptr<ARDOUR::IO> const io () { return _io; }
void setup ();
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;
}
private:
int _other;
int _ours;
boost::shared_ptr<ARDOUR::IO> _io;
boost::shared_ptr<PortGroup> _port_group;
bool _find_inputs_for_io_outputs;
void ports_changed ();
};
class IOSelectorWindow : public ArdourDialog
@ -89,7 +96,8 @@ class IOSelectorWindow : public ArdourDialog
void cancel ();
void accept ();
void rescan ();
void ports_changed ();
void io_name_changed (void *src);
};