summaryrefslogtreecommitdiff
path: root/src/lib/screen_kdm.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-12-16 15:59:02 +0000
committerCarl Hetherington <cth@carlh.net>2016-12-16 15:59:02 +0000
commit7e4d7d9e4f146576a63c6ab1be9bca5a79b507d9 (patch)
tree96c0edcde9d9bcaface13ce6bbdf00f24d46619d /src/lib/screen_kdm.h
parent7af655af72ef6259368583a917987dee6d7e4646 (diff)
Confirm overwrite of KDMs (#1008).
Diffstat (limited to 'src/lib/screen_kdm.h')
-rw-r--r--src/lib/screen_kdm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/screen_kdm.h b/src/lib/screen_kdm.h
index 60486c259..9ab73b851 100644
--- a/src/lib/screen_kdm.h
+++ b/src/lib/screen_kdm.h
@@ -36,9 +36,10 @@ public:
, kdm (k)
{}
- static void write_files (
+ static int write_files (
std::list<ScreenKDM> screen_kdms, boost::filesystem::path directory,
- dcp::NameFormat name_format, dcp::NameFormat::Map name_values
+ dcp::NameFormat name_format, dcp::NameFormat::Map name_values,
+ boost::function<bool (boost::filesystem::path)> confirm_overwrite
);
boost::shared_ptr<Screen> screen;