/*
- 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.
#ifndef DCPOMATIC_SCREEN_KDM_H
#define DCPOMATIC_SCREEN_KDM_H
-#include "kdm_name_format.h"
#include <dcp/encrypted_kdm.h>
+#include <dcp/name_format.h>
#include <boost/shared_ptr.hpp>
class Screen;
, kdm (k)
{}
- static void write_files (
+ static int write_files (
std::list<ScreenKDM> screen_kdms, boost::filesystem::path directory,
- KDMNameFormat 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;