Basic release notes support (#2282).
[dcpomatic.git] / src / lib / dkdm_recipient.h
index ecaccd0a0200ab2511ab82c0898d96d3873de7e2..6e9e4dfb1721bdbb0fdc19dd2954e1f57b53eb25 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.
 
 
 */
 
+
 #include "kdm_recipient.h"
 #include "kdm_with_metadata.h"
 
+
 class Film;
 
+
 class DKDMRecipient : public KDMRecipient
 {
 public:
@@ -34,7 +37,7 @@ public:
                int utc_offset_hour_,
                int utc_offset_minute_
                )
-               : KDMRecipient (name_, notes_, recipient_)
+               : KDMRecipient (name_, notes_, recipient_, boost::none)
                , emails (emails_)
                , utc_offset_hour (utc_offset_hour_)
                , utc_offset_minute (utc_offset_minute_)
@@ -44,7 +47,7 @@ public:
 
        explicit DKDMRecipient (cxml::ConstNodePtr);
 
-       void as_xml (xmlpp::Element *) const;
+       void as_xml (xmlpp::Element *) const override;
 
        std::list<std::string> emails;
        int utc_offset_hour;
@@ -54,9 +57,9 @@ public:
 
 KDMWithMetadataPtr
 kdm_for_dkdm_recipient (
-       boost::shared_ptr<const Film> film,
+       std::shared_ptr<const Film> film,
        boost::filesystem::path cpl,
-       boost::shared_ptr<DKDMRecipient> recipient,
+       std::shared_ptr<DKDMRecipient> recipient,
        boost::posix_time::ptime valid_from,
        boost::posix_time::ptime valid_to
        );