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