Add debug option to log SMTP session transcripts.
[dcpomatic.git] / src / lib / send_kdm_email_job.h
index c401ea136338edf1a95e176effc80f6f8a89de43..1bba69f9b42d549f68bcd25d33060b9efb3f8076 100644 (file)
 #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,
-               dcp::Formulation
+               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;
@@ -40,9 +42,10 @@ public:
        void run ();
 
 private:
-       std::list<boost::shared_ptr<Screen> > _screens;
-       boost::filesystem::path _cpl;
+       std::string _film_name;
+       std::string _cpl_name;
        boost::posix_time::ptime _from;
        boost::posix_time::ptime _to;
-       dcp::Formulation _formulation;
+       std::list<CinemaKDMs> _cinema_kdms;
+       boost::shared_ptr<Log> _log;
 };