diff options
Diffstat (limited to 'gtk2_ardour/bundle_manager.h')
-rw-r--r-- | gtk2_ardour/bundle_manager.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/gtk2_ardour/bundle_manager.h b/gtk2_ardour/bundle_manager.h index e7ce049da5..d8e60e9cc9 100644 --- a/gtk2_ardour/bundle_manager.h +++ b/gtk2_ardour/bundle_manager.h @@ -39,15 +39,13 @@ class BundleEditorMatrix : public PortMatrix void set_state (ARDOUR::BundleChannel c[2], bool s); PortMatrixNode::State get_state (ARDOUR::BundleChannel c[2]) const; - std::string add_channel_name () const; - void add_channel (); - bool can_remove_channels (int d) const { - return d == OURS; - } + + bool can_add_channel (boost::shared_ptr<ARDOUR::Bundle>) const; + + void add_channel (boost::shared_ptr<ARDOUR::Bundle>); + bool can_remove_channels (boost::shared_ptr<ARDOUR::Bundle>) const; void remove_channel (ARDOUR::BundleChannel); - bool can_rename_channels (int d) const { - return d == OURS; - } + bool can_rename_channels (boost::shared_ptr<ARDOUR::Bundle>) const; void rename_channel (ARDOUR::BundleChannel); void setup_ports (int); bool list_is_global (int) const; |