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<CinemaKDMs> cinema_kdms,
- KDMNameFormat name_format,
- NameFormat::Map name_values,
+ dcp::NameFormat name_format,
+ dcp::NameFormat::Map name_values,
string cpl_name,
shared_ptr<Log> log
)
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");
}