diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-01-29 00:45:43 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-02-11 22:26:38 +0100 |
| commit | 20c7c1a0bc0c9c07d70b5d3dcc536a5cd94e8a2c (patch) | |
| tree | 7fdb8f0f6c1dbac69d024093323c739d6bbccb11 /src/lib/screen.h | |
| parent | e18630852de1ac02c23c74cbe7643845b6f4bd17 (diff) | |
Pass make_kdm as a function into kdm_for_screen().
Diffstat (limited to 'src/lib/screen.h')
| -rw-r--r-- | src/lib/screen.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/screen.h b/src/lib/screen.h index 7cbeb1d15..7f01cdf27 100644 --- a/src/lib/screen.h +++ b/src/lib/screen.h @@ -28,6 +28,7 @@ #include "kdm_util.h" #include "trusted_device.h" #include <dcp/certificate.h> +#include <dcp/decrypted_kdm.h> #include <libcxml/cxml.h> #include <boost/optional.hpp> #include <string> @@ -75,8 +76,7 @@ public: KDMWithMetadataPtr kdm_for_screen ( - std::shared_ptr<const Film> film, - boost::filesystem::path cpl, + std::function<dcp::DecryptedKDM (dcp::LocalTime, dcp::LocalTime)> make_kdm, std::shared_ptr<const dcpomatic::Screen> screen, boost::posix_time::ptime valid_from, boost::posix_time::ptime valid_to, |
