diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-05-03 12:35:41 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-05-03 12:35:41 +0100 |
| commit | 450edeeb94ff755b2a6c6588138256ad2894ead7 (patch) | |
| tree | 215cb3db3d0812e36ee627aa64b208aa2ab60b90 /src/dcp.h | |
| parent | 671779298e79f8f3bba46156a2b4cdf551b704d1 (diff) | |
Support file:// URI-style file specifiers in asset map.
Allow DCP reads to continue in the face of some errors (currently
just missing assets).
Diffstat (limited to 'src/dcp.h')
| -rw-r--r-- | src/dcp.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -68,7 +68,11 @@ public: */ DCP (boost::filesystem::path directory); - void read (); + /** Read the DCP's structure into this object. + * @param keep_going true to try to keep going in the face of (some) errors. + * @param notes List of errors that will be added to if keep_going is true. + */ + void read (bool keep_going = false, std::list<std::string>* errors = 0); /** Compare this DCP with another, according to various options. * @param other DCP to compare this one to. |
