X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdcp.h;h=d8e0aec27550bd8f3c707d58a43e3161870c861d;hb=2e2f11b29651cffe37c64275dbd45c7563310020;hp=575bcc8034b993d8a36cd3b7466afe5015a31997;hpb=c6871fe8617b3de03662b7630355059393bf8043;p=dcpomatic.git diff --git a/src/lib/dcp.h b/src/lib/dcp.h index 575bcc803..d8e0aec27 100644 --- a/src/lib/dcp.h +++ b/src/lib/dcp.h @@ -18,26 +18,39 @@ */ + #ifndef DCPOMATIC_DCP_H #define DCPOMATIC_DCP_H -#include -#include + #include +#include + + +namespace dcp { + class CPL; +} + class DCPContent; + class DCP { public: - std::list > cpls () const; + std::list> cpls () const; protected: - explicit DCP (boost::shared_ptr content) + explicit DCP (std::shared_ptr content, bool tolerant) : _dcp_content (content) + , _tolerant (tolerant) {} - boost::shared_ptr _dcp_content; + std::shared_ptr _dcp_content; + +private: + bool _tolerant; }; + #endif