summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/export_profile_manager.h
diff options
context:
space:
mode:
authorSakari Bergen <sakari.bergen@beatwaves.net>2011-03-12 21:28:58 +0000
committerSakari Bergen <sakari.bergen@beatwaves.net>2011-03-12 21:28:58 +0000
commit751cc84dd2010a2c669a0155c0e2a0ce47d16592 (patch)
treeee66c35fc6cfdd841a8c3063a4afb4932edf3aeb /libs/ardour/ardour/export_profile_manager.h
parent72928df58f70c833020fdabb81de38df0001e8af (diff)
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
Diffstat (limited to 'libs/ardour/ardour/export_profile_manager.h')
-rw-r--r--libs/ardour/ardour/export_profile_manager.h2
1 files changed, 2 insertions, 0 deletions
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);