Merge master.
[dcpomatic.git] / src / lib / audio_mapping.h
index d3f497fc28ec0cdbb7398a31a12fffaa7f95ad2c..8be8eeb6fa030cfbb27099abdf4c18a4d9b3e519 100644 (file)
@@ -21,8 +21,9 @@
 #define DCPOMATIC_AUDIO_MAPPING_H
 
 #include <vector>
-#include <dcp/types.h>
 #include <boost/shared_ptr.hpp>
+#include <dcp/types.h>
+#include <libcxml/cxml.h>
 
 namespace xmlpp {
        class Node;
@@ -42,7 +43,7 @@ class AudioMapping
 public:
        AudioMapping ();
        AudioMapping (int channels);
-       AudioMapping (boost::shared_ptr<const cxml::Node>, int);
+       AudioMapping (cxml::ConstNodePtr, int);
 
        /* Default copy constructor is fine */
        
@@ -56,6 +57,8 @@ public:
        int content_channels () const {
                return _content_channels;
        }
+
+       std::string digest () const;
        
 private:
        void setup (int);