Fix some GUI side XML node mem-leaks
[ardour.git] / gtk2_ardour / add_route_dialog.h
index 0daef1048e8b3932bfcb12676b0924b9292daa46..c49e1a1692ef30df0fec4db4c99edfc9145ee50e 100644 (file)
@@ -71,11 +71,11 @@ public:
        TypeWanted type_wanted() const;
 
        ARDOUR::ChanCount channels ();
+       uint32_t channel_count ();
        int count ();
 
        std::string name_template () const;
        bool name_template_is_default () const;
-       std::string track_template ();
        ARDOUR::PluginInfoPtr requested_instrument ();
 
        ARDOUR::TrackMode mode();
@@ -108,8 +108,6 @@ private:
        Gtk::ComboBoxText insert_at_combo;
        Gtk::ComboBoxText strict_io_combo;
 
-       std::vector<ARDOUR::TemplateInfo> route_templates;
-
        void track_type_chosen ();
        void refill_channel_setups ();
        void refill_route_groups ();
@@ -152,7 +150,6 @@ private:
 
        struct ChannelSetup {
                std::string name;
-               std::string template_path;
                uint32_t    channels;
        };