Verify Id in ContentVersion.
[libdcp.git] / src / verify.h
index 4b967d1d590de1c43795aea02924a59fbf6d6f61..4007f8fbbc1eb9ca975f792354e0f4bc3e0f0092 100644 (file)
@@ -69,6 +69,16 @@ public:
                SOUND_HASH_INCORRECT,
                /** The hash of a main sound is different in the CPL and PKL */
                PKL_CPL_SOUND_HASHES_DISAGREE,
+               /** An assetmap's <Path> entry is empty */
+               EMPTY_ASSET_PATH,
+               /** An file mentioned in an assetmap cannot be found */
+               MISSING_ASSET,
+               /** The DCP contains both SMPTE and Interop-standard components */
+               MISMATCHED_STANDARD,
+               /** A urn:uuid ID is badly formed */
+               BAD_URN_UUID,
+               /** A date is badly formed */
+               BAD_DATE,
        };
 
        VerificationNote (Type type, Code code)
@@ -117,6 +127,8 @@ std::list<VerificationNote> verify (
        boost::function<void (float)> progress
        );
 
+std::string note_to_string (dcp::VerificationNote note);
+
 }
 
 #endif