summaryrefslogtreecommitdiff
path: root/src/combine.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-09-21 00:53:55 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-21 21:57:18 +0200
commit4b2b565a03f26c399960416efeed300dd80e401b (patch)
tree853c5efe4b1b21290ecdcf2c623d53d2e47df10c /src/combine.h
parentcdd98db2de839a5ef14b3c9c67a58392a8e123c1 (diff)
Adapt for changes in parent branch, and test churn.
Diffstat (limited to 'src/combine.h')
-rw-r--r--src/combine.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/combine.h b/src/combine.h
index 5d40d4d1..3d8a6284 100644
--- a/src/combine.h
+++ b/src/combine.h
@@ -32,6 +32,8 @@
*/
+#include "compose.hpp"
+#include "version.h"
#include <boost/filesystem.hpp>
@@ -39,7 +41,15 @@ namespace dcp {
class CertificateChain;
-void combine (std::vector<boost::filesystem::path> inputs, boost::filesystem::path output, boost::shared_ptr<const CertificateChain> signer = boost::shared_ptr<CertificateChain>());
+void combine (
+ std::vector<boost::filesystem::path> inputs,
+ boost::filesystem::path output,
+ std::string issuer = String::compose("libdcp %1", dcp::version),
+ std::string creator = String::compose("libdcp %1", dcp::version),
+ std::string issue_date = LocalTime().as_string(),
+ std::string annotation_text = String::compose("Created by libdcp %1", dcp::version),
+ boost::shared_ptr<const CertificateChain> signer = boost::shared_ptr<CertificateChain>()
+ );
}