X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fbundle_manager.h;h=468346e54ca0529eba3e8b591411ea5cb78e02be;hb=95df99e6d4cf6d1f8d71183299d31835e6708eb8;hp=0bad5b210851f5655b344e9f24a30360069d7c12;hpb=5f67a72c341a96872d9cd3d1de357662295d14b0;p=ardour.git diff --git a/gtk2_ardour/bundle_manager.h b/gtk2_ardour/bundle_manager.h index 0bad5b2108..468346e54c 100644 --- a/gtk2_ardour/bundle_manager.h +++ b/gtk2_ardour/bundle_manager.h @@ -20,9 +20,12 @@ #ifndef __ardour_ui_bundle_manager_h__ #define __ardour_ui_bundle_manager_h__ -#include -#include #include +#include +#include + +#include "ardour/user_bundle.h" + #include "ardour_dialog.h" #include "port_matrix.h" @@ -39,9 +42,9 @@ class BundleEditorMatrix : public PortMatrix void set_state (ARDOUR::BundleChannel c[2], bool s); PortMatrixNode::State get_state (ARDOUR::BundleChannel c[2]) const; - bool can_add_channel (boost::shared_ptr) const; + bool can_add_channels (boost::shared_ptr) const; - void add_channel (boost::shared_ptr); + void add_channel (boost::shared_ptr, ARDOUR::DataType); bool can_remove_channels (boost::shared_ptr) const; void remove_channel (ARDOUR::BundleChannel); bool can_rename_channels (boost::shared_ptr) const; @@ -103,7 +106,7 @@ class BundleManager : public ArdourDialog add (bundle); } - Gtk::TreeModelColumn name; + Gtk::TreeModelColumn name; Gtk::TreeModelColumn > bundle; }; @@ -128,7 +131,6 @@ private: void setup (); boost::shared_ptr _bundle; - uint32_t _channel; Gtk::Entry _name; bool _adding; };