summaryrefslogtreecommitdiff
path: root/src/lib/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-05-21 00:05:50 +0200
committerCarl Hetherington <cth@carlh.net>2020-05-21 00:05:50 +0200
commit83416808c0b1ca732e7a186d3811f1ec796fea08 (patch)
treef18fde5c358212f5cb0c2ee12700d5b0081590d8 /src/lib/util.h
parentdda7d841eac2305379aa86d11249dbb4b98d5bb7 (diff)
Give 'wrong target' KDM errors in a dialogue box rather than in the job manager (part of #1161).
Diffstat (limited to 'src/lib/util.h')
-rw-r--r--src/lib/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/util.h b/src/lib/util.h
index f7b4704ac..14228ff7f 100644
--- a/src/lib/util.h
+++ b/src/lib/util.h
@@ -28,6 +28,7 @@
#include "types.h"
#include "dcpomatic_time.h"
#include "audio_mapping.h"
+#include <dcp/decrypted_kdm.h>
#include <dcp/util.h>
#include <dcp/subtitle_image.h>
#include <boost/shared_ptr.hpp>
@@ -117,6 +118,7 @@ extern boost::shared_ptr<dcp::CertificateChain> read_swaroop_chain (boost::files
extern void write_swaroop_chain (boost::shared_ptr<const dcp::CertificateChain> chain, boost::filesystem::path output);
#endif
extern dcp::Size scale_for_display (dcp::Size s, dcp::Size display_container, dcp::Size film_container);
+extern dcp::DecryptedKDM decrypt_kdm_with_helpful_error (dcp::EncryptedKDM kdm);
template <class T>
std::list<T>