diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-10-07 23:03:56 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-10-09 13:44:59 +0100 |
| commit | bcf01bddc54da34425c727ed67f51cb946546ba6 (patch) | |
| tree | 96c8a23f0fb5e760c7577d974304fba86dafca97 /src/lib/cinema_kdms.h | |
| parent | dd7ba98abf729061e30c0b0fbb4cb6fd0485f16a (diff) | |
Replace quickmail with a direct (and asynchronous) libcurl email sender.
Diffstat (limited to 'src/lib/cinema_kdms.h')
| -rw-r--r-- | src/lib/cinema_kdms.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/cinema_kdms.h b/src/lib/cinema_kdms.h index d0f703280..ecff32ff4 100644 --- a/src/lib/cinema_kdms.h +++ b/src/lib/cinema_kdms.h @@ -20,6 +20,7 @@ #include "screen_kdm.h" class Cinema; +class Job; class CinemaKDMs { @@ -28,7 +29,14 @@ public: static std::list<CinemaKDMs> collect (std::list<ScreenKDM> kdms); static void write_zip_files (std::string filename_first_part, std::list<CinemaKDMs> cinema_kdms, boost::filesystem::path directory); - static void email (std::string filename_first_part, std::string cpl_name, std::list<CinemaKDMs> cinema_kdms, dcp::LocalTime from, dcp::LocalTime to); + static void email ( + std::string filename_first_part, + std::string cpl_name, + std::list<CinemaKDMs> cinema_kdms, + dcp::LocalTime from, + dcp::LocalTime to, + boost::shared_ptr<Job> job + ); boost::shared_ptr<Cinema> cinema; std::list<ScreenKDM> screen_kdms; |
