Partial hacks to use of libdcp 1.0.
[dcpomatic.git] / src / lib / cinema.cc
index eccd46b8434bd5c19ff107acfc915ec2c64cafe2..43a4322396144417041ec801c380895f170079bf 100644 (file)
@@ -37,8 +37,8 @@ Cinema::Cinema (shared_ptr<const cxml::Node> node)
 void
 Cinema::read_screens (shared_ptr<const cxml::Node> node)
 {
-       list<shared_ptr<cxml::Node> > s = node->node_children ("Screen");
-       for (list<shared_ptr<cxml::Node> >::iterator i = s.begin(); i != s.end(); ++i) {
+       list<cxml::NodePtr> s = node->node_children ("Screen");
+       for (list<cxml::NodePtr>::iterator i = s.begin(); i != s.end(); ++i) {
                add_screen (shared_ptr<Screen> (new Screen (*i)));
        }
 }
@@ -70,7 +70,7 @@ Cinema::remove_screen (shared_ptr<Screen> s)
 Screen::Screen (shared_ptr<const cxml::Node> node)
 {
        name = node->string_child ("Name");
-       certificate = shared_ptr<libdcp::Certificate> (new libdcp::Certificate (node->string_child ("Certificate")));
+       certificate = shared_ptr<dcp::Certificate> (new dcp::Certificate (node->string_child ("Certificate")));
 }
 
 void