/*
- Copyright (C) 2020 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2020-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
*/
+
#ifndef DCPOMATIC_KDM_RECIPIENT_H
#define DCPOMATIC_KDM_RECIPIENT_H
+
+#include "warnings.h"
#include <dcp/certificate.h>
#include <libcxml/cxml.h>
+DCPOMATIC_DISABLE_WARNINGS
#include <libxml++/libxml++.h>
+DCPOMATIC_ENABLE_WARNINGS
#include <boost/optional.hpp>
#include <string>
+
class KDMRecipient
{
public:
explicit KDMRecipient (cxml::ConstNodePtr);
+ virtual ~KDMRecipient () {}
+
virtual void as_xml (xmlpp::Element *) const;
std::string name;
boost::optional<dcp::Certificate> recipient;
};
+
#endif