summaryrefslogtreecommitdiff
path: root/src/lib/kdm_recipient.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-01-21 23:39:03 +0100
committerCarl Hetherington <cth@carlh.net>2022-03-09 17:04:02 +0100
commit2fd641547b5fb795fc17e98e47f489fa82e8ff42 (patch)
treeebfd84898df8e1eabaaa2888c89e0c71137cb301 /src/lib/kdm_recipient.h
parentcf65c2709664936940935996499ac87dc47515f0 (diff)
Display the filename / URL that a screen certificate was obtained from (#1894).
Diffstat (limited to 'src/lib/kdm_recipient.h')
-rw-r--r--src/lib/kdm_recipient.h7
1 files changed, 6 insertions, 1 deletions
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<dcp::Certificate> recipient_)
+ KDMRecipient (std::string const& name_, std::string const& notes_, boost::optional<dcp::Certificate> recipient_, boost::optional<std::string> 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<dcp::Certificate> recipient;
+ /** The pathname or URL that the recipient certificate was obtained from; purely
+ * to inform the user.
+ */
+ boost::optional<std::string> recipient_file;
};