diff options
author | Carl Hetherington <carl@carlh.net> | 2009-07-19 20:12:59 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-07-19 20:12:59 +0000 |
commit | c6509b8f86c29f05e64e98093fda7635ac951ebb (patch) | |
tree | b311dfa688b81150185a1500fca4732f2468d125 /gtk2_ardour/port_matrix.h | |
parent | 6da5dd6d41df9e3d05b9b8cceaf1b671b4e21141 (diff) |
Restore add channel option to port matrix context menu.
git-svn-id: svn://localhost/ardour2/branches/3.0@5383 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix.h')
-rw-r--r-- | gtk2_ardour/port_matrix.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/port_matrix.h b/gtk2_ardour/port_matrix.h index 885745aa6a..f2b45369c2 100644 --- a/gtk2_ardour/port_matrix.h +++ b/gtk2_ardour/port_matrix.h @@ -124,7 +124,12 @@ public: virtual PortMatrixNode::State get_state (ARDOUR::BundleChannel c[2]) const = 0; virtual bool list_is_global (int) const = 0; - virtual void add_channel (boost::shared_ptr<ARDOUR::Bundle>) = 0; + /** If adding a channel is allowed in this situation, return the name of the + * thing that it would be added to. + * @return Name. + */ + virtual std::string add_channel_name () const { return ""; } + virtual void add_channel () {} virtual bool can_remove_channels (int) const = 0; virtual void remove_channel (ARDOUR::BundleChannel) = 0; virtual bool can_rename_channels (int) const = 0; |