projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a 'Make DKDM' dialogue box to simplify and (hopefully) clarify DKDM creation...
[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 b4e007e3ba51cac9d576c115b90e4bac20245070..fa409edaaed9041793cb7f7c3f9f742cb1dad04f 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
-2019
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-19,25
+19,36
@@
*/
#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 SendKDMEmailJob : public Job
{
public:
SendKDMEmailJob (
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,
+ std::string cpl_name
+ );
+
+ SendKDMEmailJob (
+ std::list<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
);
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 ();
@@
-45,7
+56,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;
+ std::list<
std::list<KDMWithMetadataPtr> >
_kdms;
};
};