From 751cc84dd2010a2c669a0155c0e2a0ce47d16592 Mon Sep 17 00:00:00 2001 From: Sakari Bergen Date: Sat, 12 Mar 2011 21:28:58 +0000 Subject: Properly create new presets, i.e. without duplicate id's on save-after-rename git-svn-id: svn://localhost/ardour2/branches/3.0@9132 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/export_profile_manager.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/ardour/ardour') diff --git a/libs/ardour/ardour/export_profile_manager.h b/libs/ardour/ardour/export_profile_manager.h index dc4b6b0060..8e57b9e9d2 100644 --- a/libs/ardour/ardour/export_profile_manager.h +++ b/libs/ardour/ardour/export_profile_manager.h @@ -66,6 +66,7 @@ class ExportProfileManager PresetList const & get_presets () { return preset_list; } bool load_preset (PresetPtr preset); + PresetPtr new_preset (std::string const & name); PresetPtr save_preset (std::string const & name); void remove_preset (); @@ -79,6 +80,7 @@ class ExportProfileManager HandlerPtr handler; Session & session; + std::string preset_filename (std::string const & preset_name); void load_presets (); void load_preset_from_disk (PBD::sys::path const & path); -- cgit v1.2.3