diff options
author | Sakari Bergen <sakari.bergen@beatwaves.net> | 2011-01-06 16:55:19 +0000 |
---|---|---|
committer | Sakari Bergen <sakari.bergen@beatwaves.net> | 2011-01-06 16:55:19 +0000 |
commit | 8e35583358e7df6f0f950463612740b2a8cdffb1 (patch) | |
tree | f576a405fd8717b0fa50543cfd35bd760e8c4cd1 /libs/ardour/ardour | |
parent | 9a400114bb2a79d503be6c6b6f95cd1572c95927 (diff) |
Add stem export dialog and make all different export dialogs save their config to a different node in instant.xml
git-svn-id: svn://localhost/ardour2/branches/3.0@8465 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/export_channel_configuration.h | 2 | ||||
-rw-r--r-- | libs/ardour/ardour/export_profile_manager.h | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/libs/ardour/ardour/export_channel_configuration.h b/libs/ardour/ardour/export_channel_configuration.h index 932a74328c..d50ec0365d 100644 --- a/libs/ardour/ardour/export_channel_configuration.h +++ b/libs/ardour/ardour/export_channel_configuration.h @@ -62,7 +62,7 @@ class ExportChannelConfiguration : public boost::enable_shared_from_this<ExportC ChannelList const & get_channels () const { return channels; } bool all_channels_have_ports () const; - std::string name () const { return _name; } + std::string name () const { return _name; } void set_name (std::string name) { _name = name; } void set_split (bool value) { split = value; } diff --git a/libs/ardour/ardour/export_profile_manager.h b/libs/ardour/ardour/export_profile_manager.h index 67ebe2b316..dc4b6b0060 100644 --- a/libs/ardour/ardour/export_profile_manager.h +++ b/libs/ardour/ardour/export_profile_manager.h @@ -55,7 +55,7 @@ class ExportProfileManager { public: - ExportProfileManager (Session & s); + ExportProfileManager (Session & s, std::string xml_node_name); ~ExportProfileManager (); void load_profile (); @@ -75,6 +75,7 @@ class ExportProfileManager typedef std::pair<PBD::UUID, PBD::sys::path> FilePair; typedef std::map<PBD::UUID, PBD::sys::path> FileMap; + std::string const xml_node_name; HandlerPtr handler; Session & session; @@ -174,6 +175,8 @@ class ExportProfileManager typedef std::list<ChannelConfigStatePtr> ChannelConfigStateList; ChannelConfigStateList const & get_channel_configs () { return check_list (channel_configs); } + void clear_channel_configs () { channel_configs.clear(); } + ChannelConfigStatePtr add_channel_config (); private: |