Skip updating options for hidden file-dialog
[ardour.git] / gtk2_ardour / add_route_dialog.h
index bf871ac065d6d461b506736c243357e8454fd221..381bebee4457bdfb7fd6967ae12cef4a8a3a9d1b 100644 (file)
@@ -67,8 +67,9 @@ public:
                AudioBus,
                MidiBus,
                VCAMaster,
+               ListenBus,
        };
-       TypeWanted type_wanted() const;
+       TypeWanted type_wanted();
 
        ARDOUR::ChanCount channels ();
        uint32_t channel_count ();
@@ -86,9 +87,10 @@ public:
 
        std::string get_template_path();
 
+       void reset_name_edited () { name_edited_by_user = false; }
+
 private:
        Gtk::Entry name_template_entry;
-       Gtk::ComboBoxText track_bus_combo;
        Gtk::Adjustment routes_adjustment;
        Gtk::SpinButton routes_spinner;
        Gtk::ComboBoxText channel_combo;
@@ -101,7 +103,6 @@ private:
        Gtk::Label strict_io_label;
        Gtk::Label mode_label;
        Gtk::Label instrument_label;
-       Gtk::ComboBoxText template_type_placeholder;
        Gtk::ComboBoxText mode_combo;
        Gtk::ComboBoxText route_group_combo;
        InstrumentSelector instrument_combo;
@@ -124,13 +125,13 @@ private:
                        add (name);
                        add (path);
                        add (description);
-                       add (created_with);
+                       add (modified_with);
                }
 
                Gtk::TreeModelColumn<std::string> name;
                Gtk::TreeModelColumn<std::string> path;
                Gtk::TreeModelColumn<std::string> description;
-               Gtk::TreeModelColumn<std::string> created_with;
+               Gtk::TreeModelColumn<std::string> modified_with;
        };
 
        TrackTemplateColumns track_template_columns;
@@ -141,6 +142,7 @@ private:
        void trk_template_row_selected ();
 
        Gtk::TextView trk_template_desc;
+       Gtk::Frame    trk_template_outer_frame;
        Gtk::Frame    trk_template_desc_frame;
 
        void reset_template_option_visibility ();
@@ -156,6 +158,7 @@ private:
        typedef std::vector<ChannelSetup> ChannelSetups;
        ChannelSetups channel_setups;
 
+       static std::vector<std::pair<std::string, std::string> > builtin_types;
        static std::vector<std::string> channel_combo_strings;
        static std::vector<std::string> bus_mode_strings;