Basics of custom DCP filename components.
[dcpomatic.git] / src / lib / screen_kdm.h
index 7ec8e9cd9bc7a3cde2bad367440bb3a703c7b497..d9031f18855ef04f770f805e7889b962967bcd8d 100644 (file)
@@ -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, dcp::NameFormat::Map name_values
+               );
 
        boost::shared_ptr<Screen> screen;
        dcp::EncryptedKDM kdm;