projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tidying.
[dcpomatic.git]
/
src
/
lib
/
dcp.h
diff --git
a/src/lib/dcp.h
b/src/lib/dcp.h
index d83f95f3735730c17da86e92c010e9bda7068996..d8e0aec27550bd8f3c707d58a43e3161870c861d 100644
(file)
--- a/
src/lib/dcp.h
+++ b/
src/lib/dcp.h
@@
-18,24
+18,39
@@
*/
*/
+
#ifndef DCPOMATIC_DCP_H
#define DCPOMATIC_DCP_H
#ifndef DCPOMATIC_DCP_H
#define DCPOMATIC_DCP_H
-#include <dcp/cpl.h>
-#include <boost/shared_ptr.hpp>
+
#include <list>
#include <list>
+#include <memory>
+
+
+namespace dcp {
+ class CPL;
+}
+
class DCPContent;
class DCPContent;
+
class DCP
{
class DCP
{
+public:
+ std::list<std::shared_ptr<dcp::CPL>> cpls () const;
+
protected:
protected:
-
DCP (boost::shared_ptr<const DCPContent> conte
nt)
+
explicit DCP (std::shared_ptr<const DCPContent> content, bool tolera
nt)
: _dcp_content (content)
: _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
#endif