X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcinema_kdms.h;h=49f29cc42b05562927d001461b303b2899d37eac;hb=d456cc07a466329a4c07e5c13322b34814e6489e;hp=2a75bfa9fe809fd8c02436e533eb9af8c8b87c07;hpb=4121af462c1e8b98866ca206a64678fcba96fde7;p=dcpomatic.git diff --git a/src/lib/cinema_kdms.h b/src/lib/cinema_kdms.h index 2a75bfa9f..49f29cc42 100644 --- a/src/lib/cinema_kdms.h +++ b/src/lib/cinema_kdms.h @@ -20,15 +20,23 @@ #include "screen_kdm.h" class Cinema; +class Job; class CinemaKDMs { public: - void make_zip_file (boost::shared_ptr film, boost::filesystem::path zip_file) const; + void make_zip_file (std::string film_name, boost::filesystem::path zip_file) const; static std::list collect (std::list kdms); - static void write_zip_files (boost::shared_ptr film, std::list cinema_kdms, boost::filesystem::path directory); - static void email (boost::shared_ptr film, std::list cinema_kdms, dcp::LocalTime from, dcp::LocalTime to); + static void write_zip_files (std::string film_name, std::list cinema_kdms, boost::filesystem::path directory); + static void email ( + std::string film_name, + std::string cpl_name, + std::list cinema_kdms, + dcp::LocalTime from, + dcp::LocalTime to, + boost::shared_ptr job + ); boost::shared_ptr cinema; std::list screen_kdms;