From 736b3a068ba5a402b541d32f270669e6e1a4e5c4 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 29 Jul 2016 09:57:58 +0100 Subject: Allow configuration of KDM filename format. --- src/lib/send_kdm_email_job.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'src/lib/send_kdm_email_job.h') diff --git a/src/lib/send_kdm_email_job.h b/src/lib/send_kdm_email_job.h index cb968301f..e16716a66 100644 --- a/src/lib/send_kdm_email_job.h +++ b/src/lib/send_kdm_email_job.h @@ -19,6 +19,7 @@ */ #include "job.h" +#include "kdm_name_format.h" #include #include @@ -30,11 +31,10 @@ class SendKDMEmailJob : public Job { public: SendKDMEmailJob ( - std::string film_name, - std::string cpl_name, - boost::posix_time::ptime from, - boost::posix_time::ptime to, std::list cinema_kdms, + KDMNameFormat name_format, + NameFormat::Map name_values, + std::string cpl_name, boost::shared_ptr log ); @@ -43,10 +43,9 @@ public: void run (); private: - std::string _film_name; + KDMNameFormat _name_format; + NameFormat::Map _name_values; std::string _cpl_name; - boost::posix_time::ptime _from; - boost::posix_time::ptime _to; std::list _cinema_kdms; boost::shared_ptr _log; }; -- cgit v1.2.3