diff options
author | Carl Hetherington <carl@carlh.net> | 2009-12-14 16:44:20 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-12-14 16:44:20 +0000 |
commit | da762129f19c28aff64f833b6ec09fba946faef6 (patch) | |
tree | 9f85b36735e42c257226bbb09432741d957f0613 /gtk2_ardour/port_matrix.h | |
parent | 383b24cc48e542d83fca90d4263f800b33d69402 (diff) |
Offer all of a bundle's ports for disconnection / removal when opening a menu over a bundle's name in the port matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@6365 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix.h')
-rw-r--r-- | gtk2_ardour/port_matrix.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/port_matrix.h b/gtk2_ardour/port_matrix.h index 477b0947dc..cfa4cdbadc 100644 --- a/gtk2_ardour/port_matrix.h +++ b/gtk2_ardour/port_matrix.h @@ -47,6 +47,12 @@ namespace ARDOUR { class Bundle; } +namespace Gtk { + namespace Menu_Helpers { + class MenuList; + } +} + class PortMatrixBody; class PortMatrix : public Gtk::Table @@ -177,6 +183,8 @@ private: void route_processors_changed (ARDOUR::RouteProcessorChange); void body_dimensions_changed (); void session_going_away (); + void add_remove_option (Gtk::Menu_Helpers::MenuList &, boost::weak_ptr<ARDOUR::Bundle>, int); + void add_disassociate_option (Gtk::Menu_Helpers::MenuList &, boost::weak_ptr<ARDOUR::Bundle>, int, int); Gtk::Window* _parent; |