diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-11-04 23:56:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-11-09 00:34:26 +0100 |
| commit | 06a52e28b747983c99211469bf13a7c19e9d1644 (patch) | |
| tree | 8016f2bbfb01452fdb4444d2e49f34892e2e14ba /src/dcp.h | |
| parent | ca23cd312a0f5f5ee5aa8665b2a2346d6f990b5c (diff) | |
Allow saving of CPL/PKL with original filenames.v1.10.38
Diffstat (limited to 'src/dcp.h')
| -rw-r--r-- | src/dcp.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -152,9 +152,13 @@ public: /** Write all the XML files for this DCP. * @param signer Signer to use * @param name_format Name format to use for the CPL and PKL filenames + * @param filenames ORIGINAL to use original CPL and PKL filenames where available, NEW to + * always use name_format + * @param group_id Group UUID to write to PKL (or none to not write a GroupID tag) */ void write_xml( std::shared_ptr<const CertificateChain> signer = std::shared_ptr<const CertificateChain>(), + Filenames filenames = Filenames::NEW, NameFormat name_format = NameFormat("%t"), boost::optional<std::string> group_id = boost::none ); |
