Merge branch 'master' of /home/carl/git/libdcp
[libdcp.git] / src / reel.h
index 08a438ddbeed51e9f6d62252789fc0072ef9abe1..93dc09206ffc998b2af2aeb44edceaa3a8432d24 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <list>
 #include <boost/shared_ptr.hpp>
+#include <boost/function.hpp>
 #include "types.h"
 
 namespace libdcp {
@@ -27,6 +28,7 @@ class PictureAsset;
 class SoundAsset;      
 class SubtitleAsset;   
 
+/** @brief A reel within a DCP; the part which actually contains picture, sound and subtitle data */   
 class Reel
 {
 public:
@@ -54,7 +56,7 @@ public:
 
        void write_to_cpl (std::ostream & s) const;
 
-       bool equals (boost::shared_ptr<const Reel> other, EqualityOptions opt, std::list<std::string>& notes) const;
+       bool equals (boost::shared_ptr<const Reel> other, EqualityOptions opt, boost::function<void (NoteType, std::string)> notes) const;
 
 private:
        boost::shared_ptr<const PictureAsset> _main_picture;