diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-07-29 15:53:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-07-29 15:53:26 +0100 |
| commit | 8ef91325f4e565d04493bc05202f8e066b5e3e0c (patch) | |
| tree | 162fbc2bef7243ff1f650cd7e91c851e783ba8c6 /src/dcp.h | |
| parent | e02bf26f284c6efc72593e6b4a251301144e5d0b (diff) | |
Basics of allowing custom filenames for DCP components.
Diffstat (limited to 'src/dcp.h')
| -rw-r--r-- | src/dcp.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -41,6 +41,7 @@ #include "types.h" #include "certificate.h" #include "metadata.h" +#include "filename_format.h" #include <boost/shared_ptr.hpp> #include <boost/signals2.hpp> #include <string> @@ -111,7 +112,8 @@ public: void write_xml ( Standard standard, XMLMetadata metadata = XMLMetadata (), - boost::shared_ptr<const CertificateChain> signer = boost::shared_ptr<const CertificateChain> () + boost::shared_ptr<const CertificateChain> signer = boost::shared_ptr<const CertificateChain> (), + FilenameFormat filename_format = FilenameFormat("%t_%i") ); void resolve_refs (std::list<boost::shared_ptr<Asset> > 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, |
