Change some uses of frame to sample when talking about audio (#814).
[dcpomatic.git] / src / lib / screen.h
index 6bac3ec14f12186b567324e34665c8283f4cee29..5b875b388baa60bd5d86b193e988073224010a06 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2013-2015 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2013-2016 Carl Hetherington <cth@carlh.net>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -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,7 @@ public:
 
        boost::shared_ptr<Cinema> cinema;
        std::string name;
-       boost::optional<dcp::Certificate> certificate;
+       std::string notes;
+       boost::optional<dcp::Certificate> recipient;
+       std::vector<dcp::Certificate> trusted_devices;
 };