Partial hacks to use of libdcp 1.0.
[dcpomatic.git] / src / lib / cinema.h
index 251bb5d6131e3869d12f7cecfb5b92358a2d1db2..b4a4551b0e611102d6f58e1bfffa1bb7ecf17916 100644 (file)
@@ -29,7 +29,7 @@ namespace cxml {
 class Screen
 {
 public:
-       Screen (std::string const & n, boost::shared_ptr<libdcp::Certificate> cert)
+       Screen (std::string const & n, boost::shared_ptr<dcp::Certificate> cert)
                : name (n)
                , certificate (cert)
        {}
@@ -40,7 +40,7 @@ public:
        
        boost::shared_ptr<Cinema> cinema;
        std::string name;
-       boost::shared_ptr<libdcp::Certificate> certificate;
+       boost::shared_ptr<dcp::Certificate> certificate;
 };
 
 class Cinema : public boost::enable_shared_from_this<Cinema>
@@ -53,6 +53,8 @@ public:
 
        Cinema (boost::shared_ptr<const cxml::Node>);
 
+       void read_screens (boost::shared_ptr<const cxml::Node>);
+
        void as_xml (xmlpp::Element *) const;
 
        void add_screen (boost::shared_ptr<Screen>);