Use cxml::ConstNodePtr.
[dcpomatic.git] / src / lib / dci_metadata.h
index 738e439de5cbe789828c978d64b95124ef423d50..6563ff95c50c9d797374b90c0f6437ac66d4493b 100644 (file)
 
 #include <string>
 #include <libxml++/libxml++.h>
-
-namespace cxml {
-       class Node;
-}
+#include <libcxml/cxml.h>
 
 class DCIMetadata
 {
@@ -34,7 +31,7 @@ public:
                : content_version (1)
        {}
        
-       DCIMetadata (boost::shared_ptr<const cxml::Node>);
+       DCIMetadata (cxml::ConstNodePtr);
 
        void as_xml (xmlpp::Node *) const;
        void read_old_metadata (std::string, std::string);