summaryrefslogtreecommitdiff
path: root/src/dcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dcp.h')
-rw-r--r--src/dcp.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/dcp.h b/src/dcp.h
index c5734542..7e9b4edc 100644
--- a/src/dcp.h
+++ b/src/dcp.h
@@ -84,7 +84,7 @@ public:
std::list<boost::shared_ptr<const Asset> > assets () const;
- bool equals (CPL const & other, EqualityOptions options, std::list<std::string>& notes) const;
+ bool equals (CPL const & other, EqualityOptions options, boost::function<void (std::string)> note) const;
void write_xml () const;
void write_to_assetmap (std::ostream& s) const;
@@ -141,11 +141,10 @@ public:
/** Compare this DCP with another, according to various options.
* @param other DCP to compare this one to.
- * @param options Options to define just what "equality" means.
- * @param notes Filled in with notes about differences.
+ * @param options Options to define what "equality" means.
* @return true if the DCPs are equal according to EqualityOptions, otherwise false.
*/
- bool equals (DCP const & other, EqualityOptions options, std::list<std::string>& notes) const;
+ bool equals (DCP const & other, EqualityOptions options, boost::function<void (std::string)> note) const;
/** Add a CPL to this DCP.
* @param cpl CPL to add.