/*
- Copyright (C) 2013 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2013-2019 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
#include "job.h"
#include <dcp/types.h>
+#include <dcp/name_format.h>
#include <boost/filesystem.hpp>
-class Screen;
+namespace dcpomatic {
+ class Screen;
+}
+
class CinemaKDMs;
class Log;
{
public:
SendKDMEmailJob (
- std::string film_name,
- std::string cpl_name,
- boost::posix_time::ptime from,
- boost::posix_time::ptime to,
std::list<CinemaKDMs> cinema_kdms,
- boost::shared_ptr<Log> log
+ dcp::NameFormat container_name_format,
+ dcp::NameFormat filename_format,
+ dcp::NameFormat::Map name_values,
+ std::string cpl_name
);
std::string name () const;
void run ();
private:
- std::string _film_name;
+ dcp::NameFormat _container_name_format;
+ dcp::NameFormat _filename_format;
+ dcp::NameFormat::Map _name_values;
std::string _cpl_name;
- boost::posix_time::ptime _from;
- boost::posix_time::ptime _to;
std::list<CinemaKDMs> _cinema_kdms;
- boost::shared_ptr<Log> _log;
};