Change MagickImageProxy to FFmpegImageProxy and make it use FFmpeg
[dcpomatic.git] / src / lib / screen_kdm.h
index 7ec8e9cd9bc7a3cde2bad367440bb3a703c7b497..9ab73b8515ac69a3c3d23b54c5250bb9da2b6708 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2013-2015 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2013-2016 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
@@ -22,6 +22,7 @@
 #define DCPOMATIC_SCREEN_KDM_H
 
 #include <dcp/encrypted_kdm.h>
+#include <dcp/name_format.h>
 #include <boost/shared_ptr.hpp>
 
 class Screen;
@@ -35,9 +36,11 @@ 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 int write_files (
+               std::list<ScreenKDM> screen_kdms, boost::filesystem::path directory,
+               dcp::NameFormat name_format, dcp::NameFormat::Map name_values,
+               boost::function<bool (boost::filesystem::path)> confirm_overwrite
+               );
 
        boost::shared_ptr<Screen> screen;
        dcp::EncryptedKDM kdm;