summaryrefslogtreecommitdiff
path: root/src/dcp.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-05-03 15:05:33 +0100
committerCarl Hetherington <cth@carlh.net>2014-05-03 15:05:33 +0100
commitfe9bbdf3f5223ee94cb51ba00ddab7f4a6ddb754 (patch)
tree1d7ff4b95d3a65989c3cb136ae338e59ca5251b1 /src/dcp.h
parent9f5a1507380c52338765477da7cbe378b68870d9 (diff)
Use exceptions to hold errors even in the keep_going case.
Diffstat (limited to 'src/dcp.h')
-rw-r--r--src/dcp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dcp.h b/src/dcp.h
index 48b2df3c..66486ca0 100644
--- a/src/dcp.h
+++ b/src/dcp.h
@@ -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.