summaryrefslogtreecommitdiff
path: root/src/lib/cinema_kdms.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-07-29 09:57:58 +0100
committerCarl Hetherington <cth@carlh.net>2016-07-29 09:57:58 +0100
commit736b3a068ba5a402b541d32f270669e6e1a4e5c4 (patch)
tree2185f71bde7283683161bd3a557f13b7a610e967 /src/lib/cinema_kdms.h
parent71be005818ddaa59cdcca2fa5fb3210d8ea7ae4f (diff)
Allow configuration of KDM filename format.
Diffstat (limited to 'src/lib/cinema_kdms.h')
-rw-r--r--src/lib/cinema_kdms.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/lib/cinema_kdms.h b/src/lib/cinema_kdms.h
index e7efcb985..a9ab4867e 100644
--- a/src/lib/cinema_kdms.h
+++ b/src/lib/cinema_kdms.h
@@ -27,16 +27,22 @@ class Log;
class CinemaKDMs
{
public:
- void make_zip_file (std::string film_name, boost::filesystem::path zip_file) const;
+ void make_zip_file (boost::filesystem::path zip_file, KDMNameFormat name_format, NameFormat::Map name_values) const;
static std::list<CinemaKDMs> collect (std::list<ScreenKDM> kdms);
- static void write_zip_files (std::string film_name, std::list<CinemaKDMs> cinema_kdms, boost::filesystem::path directory);
+
+ static void write_zip_files (
+ std::list<CinemaKDMs> cinema_kdms,
+ boost::filesystem::path directory,
+ KDMNameFormat name_format,
+ NameFormat::Map name_values
+ );
+
static void email (
- std::string film_name,
- std::string cpl_name,
std::list<CinemaKDMs> cinema_kdms,
- dcp::LocalTime from,
- dcp::LocalTime to,
+ KDMNameFormat name_format,
+ NameFormat::Map name_values,
+ std::string cpl_name,
boost::shared_ptr<Log> log
);