Basic (untested) ebur128 (#368).
[dcpomatic.git] / src / lib / screen.h
index 6bac3ec14f12186b567324e34665c8283f4cee29..0ae4835446187616a8f927387de244a6eb41ca8b 100644 (file)
@@ -28,14 +28,15 @@ class Cinema;
  *  @brief A representation of a Screen for KDM generation.
  *
  *  This is the name of the screen and the certificate of its
- *  server.
+ *  `recipient' (i.e. the servers).
  */
 class Screen
 {
 public:
-       Screen (std::string const & n, boost::optional<dcp::Certificate> cert)
+       Screen (std::string const & n, boost::optional<dcp::Certificate> rec, std::vector<dcp::Certificate> td)
                : name (n)
-               , certificate (cert)
+               , recipient (rec)
+               , trusted_devices (td)
        {}
 
        Screen (cxml::ConstNodePtr);
@@ -44,5 +45,6 @@ public:
 
        boost::shared_ptr<Cinema> cinema;
        std::string name;
-       boost::optional<dcp::Certificate> certificate;
+       boost::optional<dcp::Certificate> recipient;
+       std::vector<dcp::Certificate> trusted_devices;
 };