*/
-#include <boost/filesystem.hpp>
#include "job.h"
+#include <dcp/types.h>
+#include <boost/filesystem.hpp>
class Screen;
+class CinemaKDMs;
+class Log;
class SendKDMEmailJob : public Job
{
public:
SendKDMEmailJob (
- boost::shared_ptr<const Film>,
- std::list<boost::shared_ptr<Screen> >,
- boost::filesystem::path,
- boost::posix_time::ptime,
- boost::posix_time::ptime
+ 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
);
std::string name () const;
+ std::string json_name () const;
void run ();
private:
- std::list<boost::shared_ptr<Screen> > _screens;
- boost::filesystem::path _dcp;
+ 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;
};