diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-05-03 23:31:29 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-05-03 23:32:50 +0200 |
| commit | 2a1c9e9cfeb1049b1ea0e3b300029218f652f002 (patch) | |
| tree | 5e4e3849b99f7ba69a6372a523a66af58d465b5d /src/lib/send_dkdm_email_job.h | |
| parent | 348d7b4a29552204a8d049105a623b15a5786693 (diff) | |
wip: stuff.
Diffstat (limited to 'src/lib/send_dkdm_email_job.h')
| -rw-r--r-- | src/lib/send_dkdm_email_job.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/src/lib/send_dkdm_email_job.h b/src/lib/send_dkdm_email_job.h new file mode 100644 index 000000000..2b475574e --- /dev/null +++ b/src/lib/send_dkdm_email_job.h @@ -0,0 +1,54 @@ +/* + Copyright (C) 2013-2020 Carl Hetherington <cth@carlh.net> + + This file is part of DCP-o-matic. + + DCP-o-matic is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + DCP-o-matic is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with DCP-o-matic. If not, see <http://www.gnu.org/licenses/>. + +*/ + +#include "job.h" +#include "recipient_with_dkdm.h" +#include <dcp/types.h> +#include <dcp/name_format.h> +#include <boost/filesystem.hpp> + +namespace dcpomatic { + class Screen; +} + +class CinemaKDMs; +class Log; + +class SendDKDMEmailJob : public Job +{ +public: + SendDKDMEmailJob ( + std::vector<RecipientWithDKDM> kdms, + dcp::NameFormat filename_format, + dcp::NameFormat::Map name_values, + std::string cpl_name + ); + ~SendDKDMEmailJob (); + + std::string name () const; + std::string json_name () const; + void run (); + +private: + dcp::NameFormat _filename_format; + dcp::NameFormat::Map _name_values; + std::string _cpl_name; + std::vector<RecipientWithDKDM> _kdms; +}; |
