- struct Channel {
- Channel (boost::weak_ptr<const AudioContent> c, int i)
- : content (c)
- , index (i)
- {}
-
- boost::weak_ptr<const AudioContent> content;
- int index;
- };
-
- void add (Channel, libdcp::Channel);
-
- int dcp_channels () const;
- std::list<Channel> dcp_to_content (libdcp::Channel) const;
- std::list<std::pair<Channel, libdcp::Channel> > content_to_dcp () const {
+ void as_xml (xmlpp::Node *) const;
+
+ void add (int, libdcp::Channel);
+ void make_default ();
+
+ std::list<int> dcp_to_content (libdcp::Channel) const;
+ std::list<std::pair<int, libdcp::Channel> > content_to_dcp () const {