Logging improvements to allow prettier displays in the server GUI.
[dcpomatic.git] / src / lib / send_kdm_email_job.h
index 5226bb79744bfa6942c17bf4f48b7ab6154b73ef..13e2fb11d354588284984416fcb72388a02c674e 100644 (file)
 #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;
@@ -40,9 +40,9 @@ public:
        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;
 };