summaryrefslogtreecommitdiff
path: root/src/lib/screen.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-05-05 22:28:25 +0200
committerCarl Hetherington <cth@carlh.net>2020-05-05 22:28:25 +0200
commit5d956a4e10610d427eda72283b8de23d40ad2c49 (patch)
tree33bdfa4efdf1d3f321f252fb48c52daa1b4ddc0e /src/lib/screen.h
parent9905eb32339f74735245ae4eb157cd1af7bb76ad (diff)
Extract common code out into kdm_for_screen()
Diffstat (limited to 'src/lib/screen.h')
-rw-r--r--src/lib/screen.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/screen.h b/src/lib/screen.h
index 40990b684..33c7f280c 100644
--- a/src/lib/screen.h
+++ b/src/lib/screen.h
@@ -21,12 +21,14 @@
#ifndef DCPOMATIC_SCREEN_H
#define DCPOMATIC_SCREEN_H
+#include "kdm_with_metadata.h"
#include <dcp/certificate.h>
#include <libcxml/cxml.h>
#include <boost/optional.hpp>
#include <string>
class Cinema;
+class Film;
class TrustedDevice
{
@@ -79,4 +81,17 @@ public:
}
+KDMWithMetadataPtr
+kdm_for_screen (
+ boost::shared_ptr<const Film> film,
+ boost::filesystem::path cpl,
+ boost::shared_ptr<const dcpomatic::Screen> screen,
+ boost::posix_time::ptime valid_from,
+ boost::posix_time::ptime valid_to,
+ dcp::Formulation formulation,
+ bool disable_forensic_marking_picture,
+ boost::optional<int> disable_forensic_marking_audio
+ );
+
+
#endif