Add defaults for facility, studio, chain, distributor (#2075).
[dcpomatic.git] / src / lib / kdm_recipient.h
index c0533daeb07d2d6c3388c22fde2dea9189824145..85352f0ee7312bd6416c3303845efe241beccf41 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    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:
@@ -38,6 +44,8 @@ public:
 
        explicit KDMRecipient (cxml::ConstNodePtr);
 
+       virtual ~KDMRecipient () {}
+
        virtual void as_xml (xmlpp::Element *) const;
 
        std::string name;
@@ -45,4 +53,5 @@ public:
        boost::optional<dcp::Certificate> recipient;
 };
 
+
 #endif