Tidying.
[dcpomatic.git] / src / lib / dcp.h
index d83f95f3735730c17da86e92c010e9bda7068996..d8e0aec27550bd8f3c707d58a43e3161870c861d 100644 (file)
 
 */
 
+
 #ifndef DCPOMATIC_DCP_H
 #define DCPOMATIC_DCP_H
 
-#include <dcp/cpl.h>
-#include <boost/shared_ptr.hpp>
+
 #include <list>
+#include <memory>
+
+
+namespace dcp {
+       class CPL;
+}
+
 
 class DCPContent;
 
+
 class DCP
 {
+public:
+       std::list<std::shared_ptr<dcp::CPL>> cpls () const;
+
 protected:
-       DCP (boost::shared_ptr<const DCPContent> content)
+       explicit DCP (std::shared_ptr<const DCPContent> content, bool tolerant)
                : _dcp_content (content)
+               , _tolerant (tolerant)
        {}
 
-       std::list<boost::shared_ptr<dcp::CPL> > cpls () const;
-       boost::shared_ptr<const DCPContent> _dcp_content;
+       std::shared_ptr<const DCPContent> _dcp_content;
+
+private:
+       bool _tolerant;
 };
 
+
 #endif