Update PKL assets before writing it.
[libdcp.git] / src / pkl.h
index 01988e70eda1746a2053476c7e979a31c7bdc318..9313f0f6791158cf78726b9ea39c45f27d7a2727 100644 (file)
--- a/src/pkl.h
+++ b/src/pkl.h
@@ -76,6 +76,7 @@ public:
        boost::optional<std::string> hash (std::string id) const;
        boost::optional<std::string> type (std::string id) const;
 
+       void clear_assets();
        void add_asset (std::string id, boost::optional<std::string> annotation_text, std::string hash, int64_t size, std::string type);
        void write (boost::filesystem::path file, std::shared_ptr<const CertificateChain> signer) const;