X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fscreen.h;h=0a275aa34c9407e3403935e21c0c6dfb9639e91c;hb=896d787e218381b7b0b16b7a64b51993b7dc326a;hp=6103d207d9bffc0870edbd194cee96ab75d56936;hpb=2fd641547b5fb795fc17e98e47f489fa82e8ff42;p=dcpomatic.git diff --git a/src/lib/screen.h b/src/lib/screen.h index 6103d207d..0a275aa34 100644 --- a/src/lib/screen.h +++ b/src/lib/screen.h @@ -23,10 +23,13 @@ #define DCPOMATIC_SCREEN_H -#include "kdm_with_metadata.h" #include "kdm_recipient.h" +#include "kdm_util.h" +#include "kdm_with_metadata.h" #include "trusted_device.h" #include +#include +#include #include #include #include @@ -62,7 +65,7 @@ public: explicit Screen (cxml::ConstNodePtr); - void as_xml (xmlpp::Element *) const; + void as_xml (xmlpp::Element *) const override; std::vector trusted_device_thumbprints () const; std::shared_ptr cinema; @@ -74,14 +77,14 @@ public: KDMWithMetadataPtr kdm_for_screen ( - std::shared_ptr film, - boost::filesystem::path cpl, + std::function make_kdm, std::shared_ptr screen, - boost::posix_time::ptime valid_from, - boost::posix_time::ptime valid_to, + dcp::LocalTime valid_from, + dcp::LocalTime valid_to, dcp::Formulation formulation, bool disable_forensic_marking_picture, - boost::optional disable_forensic_marking_audio + boost::optional disable_forensic_marking_audio, + std::vector& period_checks );