More noncopyable.
[dcpomatic.git] / src / lib / audio_mapping.h
index 3c471d3f4f16aaead62df787c4c7666e5226e8aa..ed2c3f28d28517eb9aaeb4a13c1380c84a85cf64 100644 (file)
 #define DCPOMATIC_AUDIO_MAPPING_H
 
 #include <list>
-#include <string>
 #include <libdcp/types.h>
 #include <boost/shared_ptr.hpp>
-#include "audio_content.h"
+
+namespace xmlpp {
+       class Node;
+}
+
+namespace cxml {
+       class Node;
+}
 
 class AudioMapping
 {
 public:
+       AudioMapping ();
+       AudioMapping (int);
+       AudioMapping (boost::shared_ptr<const cxml::Node>);
+
+       /* Default copy constructor is fine */
+       
        void as_xml (xmlpp::Node *) const;
-       void set_from_xml (boost::shared_ptr<const cxml::Node>);
 
        void add (int, libdcp::Channel);
 
-       int dcp_channels () const;
        std::list<int> dcp_to_content (libdcp::Channel) const;
        std::list<std::pair<int, libdcp::Channel> > content_to_dcp () const {
                return _content_to_dcp;