Accessor for ClosedCaptionsDialog.
[dcpomatic.git] / src / lib / screen.h
index eff2e5ffe71c96b4ca390cf634673f83347a786c..40990b684e04a4f6eac4e86c717e749032977e4d 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2013-2018 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2013-2019 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
@@ -46,6 +46,8 @@ private:
        boost::optional<std::string> _thumbprint;
 };
 
+namespace dcpomatic {
+
 /** @class Screen
  *  @brief A representation of a Screen for KDM generation.
  *
@@ -56,8 +58,9 @@ private:
 class Screen
 {
 public:
-       Screen (std::string const & n, boost::optional<dcp::Certificate> rec, std::vector<TrustedDevice> td)
-               : name (n)
+       Screen (std::string const & na, std::string const & no, boost::optional<dcp::Certificate> rec, std::vector<TrustedDevice> td)
+               : name (na)
+               , notes (no)
                , recipient (rec)
                , trusted_devices (td)
        {}
@@ -74,4 +77,6 @@ public:
        std::vector<TrustedDevice> trusted_devices;
 };
 
+}
+
 #endif