summaryrefslogtreecommitdiff
path: root/src/dcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dcp.h')
-rw-r--r--src/dcp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dcp.h b/src/dcp.h
index 450a3c00..48b2df3c 100644
--- a/src/dcp.h
+++ b/src/dcp.h
@@ -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.