summaryrefslogtreecommitdiff
path: root/gtk2_ardour/add_route_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/add_route_dialog.h')
-rw-r--r--gtk2_ardour/add_route_dialog.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/add_route_dialog.h b/gtk2_ardour/add_route_dialog.h
index 1a57103926..c79fe477c8 100644
--- a/gtk2_ardour/add_route_dialog.h
+++ b/gtk2_ardour/add_route_dialog.h
@@ -51,6 +51,11 @@ class AddRouteDialog : public ArdourDialog
AddRouteDialog ();
~AddRouteDialog ();
+ enum ResponseId {
+ Add,
+ AddAndClose,
+ };
+
enum TypeWanted {
AudioTrack,
MidiTrack,
@@ -75,6 +80,10 @@ class AddRouteDialog : public ArdourDialog
RouteDialogs::InsertAt insert_at();
bool use_strict_io();
+ void on_response (int response_id) {
+ Gtk::Dialog::on_response (response_id);
+ }
+
private:
Gtk::Entry name_template_entry;
Gtk::ComboBoxText track_bus_combo;