projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated it_IT translation from Riccardo Mantani.
[dcpomatic.git]
/
src
/
lib
/
kdm_recipient.h
diff --git
a/src/lib/kdm_recipient.h
b/src/lib/kdm_recipient.h
index ee4e8c39c8ff053f563ea3ea405febda6014a98e..85352f0ee7312bd6416c3303845efe241beccf41 100644
(file)
--- a/
src/lib/kdm_recipient.h
+++ b/
src/lib/kdm_recipient.h
@@
-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.
This file is part of DCP-o-matic.
@@
-18,12
+18,21
@@
*/
*/
+
+#ifndef DCPOMATIC_KDM_RECIPIENT_H
+#define DCPOMATIC_KDM_RECIPIENT_H
+
+
+#include "warnings.h"
#include <dcp/certificate.h>
#include <libcxml/cxml.h>
#include <dcp/certificate.h>
#include <libcxml/cxml.h>
+DCPOMATIC_DISABLE_WARNINGS
#include <libxml++/libxml++.h>
#include <libxml++/libxml++.h>
+DCPOMATIC_ENABLE_WARNINGS
#include <boost/optional.hpp>
#include <string>
#include <boost/optional.hpp>
#include <string>
+
class KDMRecipient
{
public:
class KDMRecipient
{
public:
@@
-35,9
+44,14
@@
public:
explicit KDMRecipient (cxml::ConstNodePtr);
explicit KDMRecipient (cxml::ConstNodePtr);
+ virtual ~KDMRecipient () {}
+
virtual void as_xml (xmlpp::Element *) const;
std::string name;
std::string notes;
boost::optional<dcp::Certificate> recipient;
};
virtual void as_xml (xmlpp::Element *) const;
std::string name;
std::string notes;
boost::optional<dcp::Certificate> recipient;
};
+
+
+#endif