Logging improvements to allow prettier displays in the server GUI.
[dcpomatic.git] / src / lib / send_kdm_email_job.h
index af84a13af2b959c034e342c3dd9d2b56448c8a12..13e2fb11d354588284984416fcb72388a02c674e 100644 (file)
 
 */
 
-#include <boost/filesystem.hpp>
-#include <dcp/types.h>
 #include "job.h"
+#include <dcp/types.h>
+#include <boost/filesystem.hpp>
 
 class Screen;
+class CinemaKDMs;
 
 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
                );
 
        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;
-       dcp::Formulation _formulation;
+       std::list<CinemaKDMs> _cinema_kdms;
 };