#include <gtkmm/entry.h>
#include "ardour_dialog.h"
#include "port_matrix.h"
-#include "i18n.h"
namespace ARDOUR {
class Session;
bool can_add_channel (boost::shared_ptr<ARDOUR::Bundle>) const;
- void add_channel (boost::shared_ptr<ARDOUR::Bundle>);
+ void add_channel (boost::shared_ptr<ARDOUR::Bundle>, ARDOUR::DataType);
bool can_remove_channels (boost::shared_ptr<ARDOUR::Bundle>) const;
void remove_channel (ARDOUR::BundleChannel);
bool can_rename_channels (boost::shared_ptr<ARDOUR::Bundle>) const;
void setup_ports (int);
bool list_is_global (int) const;
- std::string disassociation_verb () const {
- return _("Disassociate");
- }
+ std::string disassociation_verb () const;
private:
enum {
private:
void name_changed ();
void input_or_output_changed ();
- void type_changed ();
void on_show ();
BundleEditorMatrix _matrix;
boost::shared_ptr<ARDOUR::UserBundle> _bundle;
Gtk::Entry _name;
Gtk::ComboBoxText _input_or_output;
- Gtk::ComboBoxText _type;
};
class BundleManager : public ArdourDialog
add (bundle);
}
- Gtk::TreeModelColumn<Glib::ustring> name;
+ Gtk::TreeModelColumn<std::string> name;
Gtk::TreeModelColumn<boost::shared_ptr<ARDOUR::UserBundle> > bundle;
};