X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fdcp.h;h=b98dce5d4e3f277b489d41a6d2d5d49e7c75ad51;hp=e2e83e96e20cb5ff92f22d01d2a49d535bb19886;hb=8f12e84009d7c2685bb2eeb32665876463d4e6e5;hpb=a3a38dcdab89d3c7fa21917ea7caec82d1586035 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