diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-05-07 00:02:26 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-05-07 00:02:26 +0200 |
| commit | 47e29203daec51d313ed8ab8ef759752bce18d45 (patch) | |
| tree | 2b34f05ffe9ad73c49225e82d91a8dede9f3d6de /src/lib/send_kdm_email_job.h | |
| parent | e81c5eb9e8ff875240dde9fdaaab0a46f99af615 (diff) | |
| parent | 581797d640af1572f884ddf4395924894b745b3a (diff) | |
Add a new "Add DKDM" dialogue (#1637).
The basic motivation here is to avoid having to tell people to
"just" create a cinema with a screen in it just to be able to make
a DKDM. Here you can just have a recipient, with emails etc.
and make DKDMs for them. I hope this makes things clearer from the
user POV even if it does muddy the waters a bit with respect to
DKDMs just being KDMs (really).
Diffstat (limited to 'src/lib/send_kdm_email_job.h')
| -rw-r--r-- | src/lib/send_kdm_email_job.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/lib/send_kdm_email_job.h b/src/lib/send_kdm_email_job.h index a7196fe15..fa409edaa 100644 --- a/src/lib/send_kdm_email_job.h +++ b/src/lib/send_kdm_email_job.h @@ -19,6 +19,7 @@ */ #include "job.h" +#include "kdm_with_metadata.h" #include <dcp/types.h> #include <dcp/name_format.h> #include <boost/filesystem.hpp> @@ -27,19 +28,25 @@ namespace dcpomatic { class Screen; } -class CinemaKDMs; class Log; class SendKDMEmailJob : public Job { public: SendKDMEmailJob ( - std::list<CinemaKDMs> cinema_kdms, + std::list<KDMWithMetadataPtr> kdms, dcp::NameFormat container_name_format, dcp::NameFormat filename_format, - dcp::NameFormat::Map name_values, std::string cpl_name ); + + SendKDMEmailJob ( + std::list<std::list<KDMWithMetadataPtr> > kdms, + dcp::NameFormat container_name_format, + dcp::NameFormat filename_format, + std::string cpl_name + ); + ~SendKDMEmailJob (); std::string name () const; @@ -49,7 +56,6 @@ public: private: dcp::NameFormat _container_name_format; dcp::NameFormat _filename_format; - dcp::NameFormat::Map _name_values; std::string _cpl_name; - std::list<CinemaKDMs> _cinema_kdms; + std::list<std::list<KDMWithMetadataPtr> > _kdms; }; |
