X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Flib%2Fscreen_kdm.h;h=9ab73b8515ac69a3c3d23b54c5250bb9da2b6708;hb=72b11d5eb036651b6ff68edf3ed270e8fc52960f;hp=7ec8e9cd9bc7a3cde2bad367440bb3a703c7b497;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/lib/screen_kdm.h b/src/lib/screen_kdm.h index 7ec8e9cd9..9ab73b851 100644 --- a/src/lib/screen_kdm.h +++ b/src/lib/screen_kdm.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013-2015 Carl Hetherington + Copyright (C) 2013-2016 Carl Hetherington This file is part of DCP-o-matic. @@ -22,6 +22,7 @@ #define DCPOMATIC_SCREEN_KDM_H #include +#include #include 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 screen_kdms, boost::filesystem::path directory); + static int write_files ( + std::list screen_kdms, boost::filesystem::path directory, + dcp::NameFormat name_format, dcp::NameFormat::Map name_values, + boost::function confirm_overwrite + ); boost::shared_ptr screen; dcp::EncryptedKDM kdm;