From 2fd641547b5fb795fc17e98e47f489fa82e8ff42 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 21 Jan 2022 23:39:03 +0100 Subject: Display the filename / URL that a screen certificate was obtained from (#1894). --- src/lib/kdm_recipient.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/lib/kdm_recipient.h') diff --git a/src/lib/kdm_recipient.h b/src/lib/kdm_recipient.h index 85352f0ee..90e9fd16d 100644 --- a/src/lib/kdm_recipient.h +++ b/src/lib/kdm_recipient.h @@ -36,10 +36,11 @@ DCPOMATIC_ENABLE_WARNINGS class KDMRecipient { public: - KDMRecipient (std::string const& name_, std::string const& notes_, boost::optional recipient_) + KDMRecipient (std::string const& name_, std::string const& notes_, boost::optional recipient_, boost::optional recipient_file_) : name (name_) , notes (notes_) , recipient (recipient_) + , recipient_file (recipient_file_) {} explicit KDMRecipient (cxml::ConstNodePtr); @@ -51,6 +52,10 @@ public: std::string name; std::string notes; boost::optional recipient; + /** The pathname or URL that the recipient certificate was obtained from; purely + * to inform the user. + */ + boost::optional recipient_file; }; -- cgit v1.2.3