summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/export_profile_manager.h
diff options
context:
space:
mode:
authorSakari Bergen <sakari.bergen@beatwaves.net>2012-12-07 21:58:33 +0000
committerSakari Bergen <sakari.bergen@beatwaves.net>2012-12-07 21:58:33 +0000
commit526a1a71fe8bf0b448a51c1cae47d7c516764882 (patch)
tree74714e8618994cf8ad828b83b4eebbbf225e80e0 /libs/ardour/ardour/export_profile_manager.h
parent3468797237081ad981117c4b9df9b0736e177c1b (diff)
Make export type an enum and pass it to the profile manager instead of the xml node name.
Use this to always include the channel configuration name in stem exports. git-svn-id: svn://localhost/ardour2/branches/3.0@13616 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/export_profile_manager.h')
-rw-r--r--libs/ardour/ardour/export_profile_manager.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/libs/ardour/ardour/export_profile_manager.h b/libs/ardour/ardour/export_profile_manager.h
index 31e93a5b89..82b32fb032 100644
--- a/libs/ardour/ardour/export_profile_manager.h
+++ b/libs/ardour/ardour/export_profile_manager.h
@@ -50,7 +50,15 @@ class ExportProfileManager
{
public:
- ExportProfileManager (Session & s, std::string xml_node_name);
+ enum ExportType {
+ RegularExport,
+ RangeExport,
+ SelectionExport,
+ RegionExport,
+ StemExport
+ };
+
+ ExportProfileManager (Session & s, ExportType type);
~ExportProfileManager ();
void load_profile ();
@@ -70,7 +78,8 @@ class ExportProfileManager
typedef std::pair<PBD::UUID, std::string> FilePair;
typedef std::map<PBD::UUID, std::string> FileMap;
- std::string const xml_node_name;
+ ExportType type;
+ std::string xml_node_name;
HandlerPtr handler;
Session & session;