diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-07-29 09:57:58 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-07-29 09:57:58 +0100 |
| commit | 736b3a068ba5a402b541d32f270669e6e1a4e5c4 (patch) | |
| tree | 2185f71bde7283683161bd3a557f13b7a610e967 /src/lib/screen_kdm.h | |
| parent | 71be005818ddaa59cdcca2fa5fb3210d8ea7ae4f (diff) | |
Allow configuration of KDM filename format.
Diffstat (limited to 'src/lib/screen_kdm.h')
| -rw-r--r-- | src/lib/screen_kdm.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/screen_kdm.h b/src/lib/screen_kdm.h index 7ec8e9cd9..2e015e63e 100644 --- a/src/lib/screen_kdm.h +++ b/src/lib/screen_kdm.h @@ -21,6 +21,7 @@ #ifndef DCPOMATIC_SCREEN_KDM_H #define DCPOMATIC_SCREEN_KDM_H +#include "kdm_name_format.h" #include <dcp/encrypted_kdm.h> #include <boost/shared_ptr.hpp> @@ -35,9 +36,10 @@ public: , kdm (k) {} - std::string filename (std::string film_name) const; - - static void write_files (std::string film_name, std::list<ScreenKDM> screen_kdms, boost::filesystem::path directory); + static void write_files ( + std::list<ScreenKDM> screen_kdms, boost::filesystem::path directory, + KDMNameFormat name_format, NameFormat::Map name_values + ); boost::shared_ptr<Screen> screen; dcp::EncryptedKDM kdm; |
