X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fexport_preset_selector.h;h=a57fc83aad9f1fbdc761e44c96e0ea768d9778ef;hb=c59dded55d13486f7b8be0f026cb0e8d17aa5d02;hp=ea7e61b32e3705cd4268901dee344a308b6c5020;hpb=e0aaed6d65f160c328cb8b56d7c6552ee15d65e2;p=ardour.git diff --git a/gtk2_ardour/export_preset_selector.h b/gtk2_ardour/export_preset_selector.h index ea7e61b32e..a57fc83aad 100644 --- a/gtk2_ardour/export_preset_selector.h +++ b/gtk2_ardour/export_preset_selector.h @@ -30,43 +30,44 @@ class ExportPresetSelector : public Gtk::HBox { public: - + ExportPresetSelector (); - + void set_manager (boost::shared_ptr manager); - + sigc::signal CriticalSelectionChanged; private: typedef boost::shared_ptr ManagerPtr; - typedef ARDOUR::ExportProfileManager::PresetPtr PresetPtr; + typedef ARDOUR::ExportPresetPtr PresetPtr; typedef ARDOUR::ExportProfileManager::PresetList PresetList; - + ManagerPtr profile_manager; sigc::connection select_connection; - + void sync_with_manager (); void update_selection (); + void create_new (); void save_current (); void remove_current (); - + struct PresetCols : public Gtk::TreeModelColumnRecord { public: Gtk::TreeModelColumn preset; - Gtk::TreeModelColumn label; - + Gtk::TreeModelColumn label; + PresetCols () { add (preset); add (label); } }; PresetCols cols; Glib::RefPtr list; PresetPtr current; PresetPtr previous; - + Gtk::Label label; Gtk::ComboBoxEntry entry; - + Gtk::Button save_button; Gtk::Button remove_button; Gtk::Button new_button;