diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-05-03 15:05:33 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-05-03 15:05:33 +0100 |
| commit | fe9bbdf3f5223ee94cb51ba00ddab7f4a6ddb754 (patch) | |
| tree | 1d7ff4b95d3a65989c3cb136ae338e59ca5251b1 /src/dcp.h | |
| parent | 9f5a1507380c52338765477da7cbe378b68870d9 (diff) | |
Use exceptions to hold errors even in the keep_going case.
Diffstat (limited to 'src/dcp.h')
| -rw-r--r-- | src/dcp.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -48,6 +48,7 @@ class XMLMetadata; class Signer; class DecryptedKDM; class Asset; +class DCPReadError; namespace parse { class AssetMap; @@ -70,9 +71,9 @@ public: /** 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. + * @param errors 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); + void read (bool keep_going = false, std::list<boost::shared_ptr<DCPReadError> >* errors = 0); /** Compare this DCP with another, according to various options. * @param other DCP to compare this one to. |
