Use boost::function for making notes during equals operations.
[libdcp.git] / src / asset.h
index 436e8b4103b7bcfee1d6b62264c31b7a2d4a32c6..527dea7af25aa972a3d8b6c56f08131cdeef4dfe 100644 (file)
@@ -27,6 +27,7 @@
 #include <string>
 #include <list>
 #include <boost/filesystem.hpp>
+#include <boost/function.hpp>
 #include "types.h"
 
 namespace ASDCP {
@@ -80,7 +81,7 @@ public:
                _file_name = f;
        }
        
-       virtual bool equals (boost::shared_ptr<const Asset> other, EqualityOptions opt, std::list<std::string>& notes) const = 0;
+       virtual bool equals (boost::shared_ptr<const Asset> other, EqualityOptions opt, boost::function<void (std::string)>) const = 0;
 
 protected: