Improve ratings dialog to allow only valid values (#2199).
[dcpomatic.git] / src / lib / dkdm_recipient.h
index ecaccd0a0200ab2511ab82c0898d96d3873de7e2..50f2f3e15277ad6fba80d742c823aff35ff23508 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_)
@@ -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
        );