summaryrefslogtreecommitdiff
path: root/src/lib/config.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-26 11:19:34 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-26 11:19:34 +0100
commitcb2546eaf5e2f109ca5309f3dc04e6c17b8037e5 (patch)
tree3f1e2e897a6090dae55101c42e22405f87e4f29f /src/lib/config.h
parent4f8442947b0c35fd50cb58e99036ba4d45e1d12e (diff)
Confirm sending of KDM emails.
Diffstat (limited to 'src/lib/config.h')
-rw-r--r--src/lib/config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h
index e18cd3312..a38fb129c 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -268,6 +268,10 @@ public:
return _show_hints_before_make_dcp;
}
+ bool confirm_kdm_email () const {
+ return _confirm_kdm_email;
+ }
+
dcp::NameFormat kdm_filename_format () const {
return _kdm_filename_format;
}
@@ -487,6 +491,10 @@ public:
maybe_set (_show_hints_before_make_dcp, s);
}
+ void set_confirm_kdm_email (bool s) {
+ maybe_set (_confirm_kdm_email, s);
+ }
+
void set_kdm_filename_format (dcp::NameFormat n) {
maybe_set (_kdm_filename_format, n);
}
@@ -617,6 +625,7 @@ private:
std::vector<dcp::EncryptedKDM> _dkdms;
boost::filesystem::path _cinemas_file;
bool _show_hints_before_make_dcp;
+ bool _confirm_kdm_email;
dcp::NameFormat _kdm_filename_format;
dcp::NameFormat _dcp_metadata_filename_format;
dcp::NameFormat _dcp_asset_filename_format;