Add comments.
[libdcp.git] / src / picture_mxf.h
index 1ce2e7de08836d061a6f1af42bc70824be8f458d..75119367986cab8dc8edd05e4e3b280c79fb2f3b 100644 (file)
@@ -31,7 +31,7 @@
 
 namespace ASDCP {
        namespace JP2K {
-               class PictureDescriptor;
+               struct PictureDescriptor;
        }
 }
 
@@ -84,14 +84,14 @@ public:
 protected:
 
        bool frame_buffer_equals (
-               int frame, EqualityOptions opt, boost::function<void (NoteType, std::string)> note,
+               int frame, EqualityOptions opt, NoteHandler note,
                uint8_t const * data_A, unsigned int size_A, uint8_t const * data_B, unsigned int size_B
                ) const;
 
        bool descriptor_equals (
                ASDCP::JP2K::PictureDescriptor const & a,
                ASDCP::JP2K::PictureDescriptor const & b,
-               boost::function<void (NoteType, std::string)>
+               NoteHandler note
                ) const;
 
        void read_picture_descriptor (ASDCP::JP2K::PictureDescriptor const &);
@@ -102,7 +102,6 @@ protected:
        Fraction _screen_aspect_ratio;
 
 private:
-       std::string key_type () const;
        std::string asdcp_kind () const {
                return "Picture";
        }