projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add accessor for _text.
[dcpomatic.git]
/
src
/
lib
/
send_kdm_email_job.h
diff --git
a/src/lib/send_kdm_email_job.h
b/src/lib/send_kdm_email_job.h
index 88de1e9fee6bf86f8e997152391f2829e2674369..2b010665cae79e08bb57b71a2035576996e9e9da 100644
(file)
--- a/
src/lib/send_kdm_email_job.h
+++ b/
src/lib/send_kdm_email_job.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2013 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2013
-2021
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-18,27
+18,41
@@
*/
*/
+
#include "job.h"
#include "job.h"
+#include "kdm_with_metadata.h"
#include <dcp/types.h>
#include <dcp/name_format.h>
#include <boost/filesystem.hpp>
#include <dcp/types.h>
#include <dcp/name_format.h>
#include <boost/filesystem.hpp>
-class Screen;
-class CinemaKDMs;
+
+namespace dcpomatic {
+ class Screen;
+}
+
+
class Log;
class Log;
+
class SendKDMEmailJob : public Job
{
public:
SendKDMEmailJob (
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 container_name_format,
dcp::NameFormat filename_format,
- dcp::NameFormat::Map name_values,
- std::string cpl_name,
- boost::shared_ptr<Log> log
+ 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;
std::string json_name () const;
void run ();
std::string name () const;
std::string json_name () const;
void run ();
@@
-46,8
+60,6
@@
public:
private:
dcp::NameFormat _container_name_format;
dcp::NameFormat _filename_format;
private:
dcp::NameFormat _container_name_format;
dcp::NameFormat _filename_format;
- dcp::NameFormat::Map _name_values;
std::string _cpl_name;
std::string _cpl_name;
- std::list<CinemaKDMs> _cinema_kdms;
- boost::shared_ptr<Log> _log;
+ std::list<std::list<KDMWithMetadataPtr>> _kdms;
};
};