projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BOOST_FOREACH.
[dcpomatic.git]
/
src
/
lib
/
dcp.h
diff --git
a/src/lib/dcp.h
b/src/lib/dcp.h
index d83f95f3735730c17da86e92c010e9bda7068996..d72ce683333350215184206602cdaa8b3f667f57 100644
(file)
--- a/
src/lib/dcp.h
+++ b/
src/lib/dcp.h
@@
-22,20
+22,26
@@
#define DCPOMATIC_DCP_H
#include <dcp/cpl.h>
#define DCPOMATIC_DCP_H
#include <dcp/cpl.h>
-#include <boost/shared_ptr.hpp>
#include <list>
#include <list>
+#include <iostream>
class DCPContent;
class DCP
{
class DCPContent;
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