summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/export_channel_configuration.h
diff options
context:
space:
mode:
authorSakari Bergen <sakari.bergen@beatwaves.net>2010-03-30 15:25:28 +0000
committerSakari Bergen <sakari.bergen@beatwaves.net>2010-03-30 15:25:28 +0000
commita743d20dce499f3b6f1418967e200beaa670b375 (patch)
tree4a9c98ea8d4d18a17c701942ffd3b5db1bf34164 /libs/ardour/ardour/export_channel_configuration.h
parent14b0ca31bcb62e5b7e9e77634ef9cd2e8cf65800 (diff)
Fix split channel export (which was broken during export refactoring)
Possibly fixes bug #3052 Also clarify some comments which weren't quite clear :) git-svn-id: svn://localhost/ardour2/branches/3.0@6808 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/export_channel_configuration.h')
-rw-r--r--libs/ardour/ardour/export_channel_configuration.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/libs/ardour/ardour/export_channel_configuration.h b/libs/ardour/ardour/export_channel_configuration.h
index 4b027cc020..e088aba2f0 100644
--- a/libs/ardour/ardour/export_channel_configuration.h
+++ b/libs/ardour/ardour/export_channel_configuration.h
@@ -22,8 +22,8 @@
#define __ardour_export_channel_configuration_h__
#include <list>
-
#include <glibmm/ustring.h>
+#include <boost/enable_shared_from_this.hpp>
#include "ardour/export_channel.h"
#include "ardour/export_status.h"
@@ -43,7 +43,7 @@ class ExportProcessor;
class ExportTimespan;
class Session;
-class ExportChannelConfiguration
+class ExportChannelConfiguration : public boost::enable_shared_from_this<ExportChannelConfiguration>
{
private:
@@ -71,6 +71,10 @@ class ExportChannelConfiguration
void register_channel (ExportChannelPtr channel) { channels.push_back (channel); }
void clear_channels () { channels.clear (); }
+
+ /** Returns a list of channel configurations that match the files created.
+ * I.e. many configurations if splitting is enabled, one if not. */
+ void configurations_for_files (std::list<boost::shared_ptr<ExportChannelConfiguration> > & configs);
private: