X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fkdm_recipient.h;h=f18e714290d0a530a68ba7757cf066fd70b11ed3;hb=6d686ea45f5cd01a0d11f92a903ac77779ad8562;hp=e92fc3c48d5bb8e17ded5c01052383abd5c6dbe2;hpb=2bec3708fc744c18128c5bdb4c2a332f5c8eb283;p=dcpomatic.git diff --git a/src/lib/kdm_recipient.h b/src/lib/kdm_recipient.h index e92fc3c48..f18e71429 100644 --- a/src/lib/kdm_recipient.h +++ b/src/lib/kdm_recipient.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2020 Carl Hetherington + Copyright (C) 2020-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,25 +18,29 @@ */ + #ifndef DCPOMATIC_KDM_RECIPIENT_H #define DCPOMATIC_KDM_RECIPIENT_H -#include "warnings.h" + #include +#include #include -DCPOMATIC_DISABLE_WARNINGS +LIBDCP_DISABLE_WARNINGS #include -DCPOMATIC_ENABLE_WARNINGS +LIBDCP_ENABLE_WARNINGS #include #include + 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); @@ -48,6 +52,11 @@ 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; }; + #endif