X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fdcp.h;h=b98dce5d4e3f277b489d41a6d2d5d49e7c75ad51;hp=e2e83e96e20cb5ff92f22d01d2a49d535bb19886;hb=ce17803bf356f3e796dccde43b4cc3656609e7fc;hpb=0ac8235fa4addb021c0e05a9c6c19a7d22097458 diff --git a/src/lib/dcp.h b/src/lib/dcp.h index e2e83e96e..b98dce5d4 100644 --- a/src/lib/dcp.h +++ b/src/lib/dcp.h @@ -24,6 +24,7 @@ #include #include #include +#include class DCPContent; @@ -31,13 +32,18 @@ class DCP { public: std::list > cpls () const; + dcp::DecryptedKDM decrypted_kdm () const; protected: - DCP (boost::shared_ptr content) + explicit DCP (boost::shared_ptr content, bool tolerant) : _dcp_content (content) + , _tolerant (tolerant) {} boost::shared_ptr _dcp_content; + +private: + bool _tolerant; }; #endif