From 526a1a71fe8bf0b448a51c1cae47d7c516764882 Mon Sep 17 00:00:00 2001 From: Sakari Bergen Date: Fri, 7 Dec 2012 21:58:33 +0000 Subject: 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 --- libs/ardour/ardour/export_profile_manager.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'libs/ardour/ardour') 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 FilePair; typedef std::map FileMap; - std::string const xml_node_name; + ExportType type; + std::string xml_node_name; HandlerPtr handler; Session & session; -- cgit v1.2.3