X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdcp.h;h=b98dce5d4e3f277b489d41a6d2d5d49e7c75ad51;hb=fa5f3a8bf77209da27acc33cf144e2e4500a2600;hp=575bcc8034b993d8a36cd3b7466afe5015a31997;hpb=c6871fe8617b3de03662b7630355059393bf8043;p=dcpomatic.git diff --git a/src/lib/dcp.h b/src/lib/dcp.h index 575bcc803..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: - explicit 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