#include "instrument_selector.h"
class Editor;
+class RouteGroupDialog;
class AddRouteDialog : public ArdourDialog
{
AddRouteDialog ();
~AddRouteDialog ();
- enum TypeWanted {
+ enum TypeWanted {
AudioTrack,
MidiTrack,
MixedTrack,
- AudioBus
+ AudioBus,
+ MidiBus,
+ VCAMaster,
};
- TypeWanted type_wanted() const;
-
- ARDOUR::ChanCount channels ();
+ TypeWanted type_wanted() const;
+
+ ARDOUR::ChanCount channels ();
int count ();
- std::string name_template () const;
- bool name_template_is_default () const;
+ std::string name_template () const;
+ bool name_template_is_default () const;
std::string track_template ();
ARDOUR::PluginInfoPtr requested_instrument ();
-
+
ARDOUR::TrackMode mode();
ARDOUR::RouteGroup* route_group ();
enum InsertAt {
- EditorSelection,
- MixerSelection,
- End
+ BeforeSelection,
+ AfterSelection,
+ First,
+ Last
};
InsertAt insert_at();
+ bool use_strict_io();
private:
Gtk::Entry name_template_entry;
Gtk::ComboBoxText mode_combo;
Gtk::ComboBoxText route_group_combo;
InstrumentSelector instrument_combo;
- Gtk::Label insert_at_label;
Gtk::ComboBoxText insert_at_combo;
+ Gtk::ComboBoxText strict_io_combo;
std::vector<ARDOUR::TemplateInfo> route_templates;
void maybe_update_name_template_entry ();
void reset_template_option_visibility ();
-
+ void new_group_dialog_finished (int, RouteGroupDialog*);
void on_show ();
struct ChannelSetup {