Fix incorrect day-of-month in LocalTime.
[libdcp.git] / src / dcp.h
index 1fa7ae0c65e71740fb1cb82ccbe0700edc9fe1b8..effadfa3ebeb2b8f3538122359028b5415d572dc 100644 (file)
--- a/src/dcp.h
+++ b/src/dcp.h
@@ -62,8 +62,9 @@ class DCP : public boost::noncopyable
 {
 public:
        /** Construct a DCP.  You can pass an existing DCP's directory
-        *  as the parameter, or a non-existant folder to create a new
-        *  DCP in.
+        *  as the parameter; alternatively, directory will be created
+        *  if it does not exist.  Note that if you pass an existing DCP
+        *  into this constructor it will not be read until you call ::read().
         *
         *  @param directory Directory containing the DCP's files.
         */
@@ -83,7 +84,7 @@ public:
         *  @param note Functor to handle notes made by the equality operation.
         *  @return true if the DCPs are equal according to EqualityOptions, otherwise false.
         */
-       bool equals (DCP const & other, EqualityOptions options, boost::function<void (NoteType, std::string)> note) const;
+       bool equals (DCP const & other, EqualityOptions options, NoteHandler note) const;
 
        void add (boost::shared_ptr<Asset> asset);