Add LEQ(m) when analysing audio (#1382).
[dcpomatic.git] / src / lib / dcp.h
index 575bcc8034b993d8a36cd3b7466afe5015a31997..b98dce5d4e3f277b489d41a6d2d5d49e7c75ad51 100644 (file)
@@ -24,6 +24,7 @@
 #include <dcp/cpl.h>
 #include <boost/shared_ptr.hpp>
 #include <list>
+#include <iostream>
 
 class DCPContent;
 
@@ -31,13 +32,18 @@ class DCP
 {
 public:
        std::list<boost::shared_ptr<dcp::CPL> > cpls () const;
+       dcp::DecryptedKDM decrypted_kdm () const;
 
 protected:
-       explicit DCP (boost::shared_ptr<const DCPContent> content)
+       explicit DCP (boost::shared_ptr<const DCPContent> content, bool tolerant)
                : _dcp_content (content)
+               , _tolerant (tolerant)
        {}
 
        boost::shared_ptr<const DCPContent> _dcp_content;
+
+private:
+       bool _tolerant;
 };
 
 #endif