X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fsend_kdm_email_job.cc;h=890115747a3c379b6e64cfcb2e4cf28f80807cfd;hb=67a68bd971ebe1b35daa3f75873b4ccb53c00ba0;hp=4834657edbf592064d4c764643c92ae02f0e02c0;hpb=736b3a068ba5a402b541d32f270669e6e1a4e5c4;p=dcpomatic.git diff --git a/src/lib/send_kdm_email_job.cc b/src/lib/send_kdm_email_job.cc index 4834657ed..890115747 100644 --- a/src/lib/send_kdm_email_job.cc +++ b/src/lib/send_kdm_email_job.cc @@ -30,11 +30,16 @@ using std::string; using std::list; using boost::shared_ptr; -/** @param log Log to write to, or 0 */ +/** @param cinema_kdms KDMs to email. + * @param name_format Format to use for filenames. + * @param name_values Values to substitute into the filenames. + * @param cpl_name Name of the CPL that the KDMs are for. + * @param log Log to write to, or 0. + */ SendKDMEmailJob::SendKDMEmailJob ( list cinema_kdms, - KDMNameFormat name_format, - NameFormat::Map name_values, + dcp::NameFormat name_format, + dcp::NameFormat::Map name_values, string cpl_name, shared_ptr log ) @@ -51,7 +56,7 @@ SendKDMEmailJob::SendKDMEmailJob ( string SendKDMEmailJob::name () const { - NameFormat::Map::const_iterator i = _name_values.find ("film_name"); + dcp::NameFormat::Map::const_iterator i = _name_values.find ('f'); if (i == _name_values.end() || i->second.empty ()) { return _("Email KDMs"); }