From 8ef91325f4e565d04493bc05202f8e066b5e3e0c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 29 Jul 2016 15:53:26 +0100 Subject: Basics of allowing custom filenames for DCP components. --- src/dcp.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/dcp.h') diff --git a/src/dcp.h b/src/dcp.h index 7c318622..cc87d0d1 100644 --- a/src/dcp.h +++ b/src/dcp.h @@ -41,6 +41,7 @@ #include "types.h" #include "certificate.h" #include "metadata.h" +#include "filename_format.h" #include #include #include @@ -111,7 +112,8 @@ public: void write_xml ( Standard standard, XMLMetadata metadata = XMLMetadata (), - boost::shared_ptr signer = boost::shared_ptr () + boost::shared_ptr signer = boost::shared_ptr (), + FilenameFormat filename_format = FilenameFormat("%t_%i") ); void resolve_refs (std::list > assets); @@ -127,6 +129,7 @@ private: * @param pkl_uuid UUID to use. */ boost::filesystem::path write_pkl ( + std::string file, Standard standard, std::string pkl_uuid, XMLMetadata metadata, -- cgit v1.2.3