Make menu item for Add Track/Bus/VCA dialog consistent with window title
[ardour.git] / gtk2_ardour / bundle_manager.h
index dc9b73c8fc91fd3f3a25e89bf98c06ef9e2908d6..468346e54ca0529eba3e8b591411ea5cb78e02be 100644 (file)
 #ifndef __ardour_ui_bundle_manager_h__
 #define __ardour_ui_bundle_manager_h__
 
-#include <gtkmm/treeview.h>
-#include <gtkmm/liststore.h>
 #include <gtkmm/entry.h>
+#include <gtkmm/liststore.h>
+#include <gtkmm/treeview.h>
+
+#include "ardour/user_bundle.h"
+
 #include "ardour_dialog.h"
 #include "port_matrix.h"
 
@@ -39,7 +42,7 @@ 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<ARDOUR::Bundle>) const;
+       bool can_add_channels (boost::shared_ptr<ARDOUR::Bundle>) const;
 
        void add_channel (boost::shared_ptr<ARDOUR::Bundle>, ARDOUR::DataType);
        bool can_remove_channels (boost::shared_ptr<ARDOUR::Bundle>) const;
@@ -128,7 +131,6 @@ private:
        void setup ();
 
        boost::shared_ptr<ARDOUR::Bundle> _bundle;
-       uint32_t _channel;
        Gtk::Entry _name;
        bool _adding;
 };