*/
+
#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<boost::shared_ptr<dcp::CPL> > cpls () const;
+ std::list<std::shared_ptr<dcp::CPL>> cpls () const;
protected:
- explicit DCP (boost::shared_ptr<const DCPContent> content)
+ explicit DCP (std::shared_ptr<const DCPContent> content, bool tolerant)
: _dcp_content (content)
+ , _tolerant (tolerant)
{}
- boost::shared_ptr<const DCPContent> _dcp_content;
+ std::shared_ptr<const DCPContent> _dcp_content;
+
+private:
+ bool _tolerant;
};
+
#endif