Use libxml++ for writing XML.
[libdcp.git] / src / cpl.h
index c04fd6addd5390c7c6f48828fff563e1d7554dd4..0c86b91e0547a941ea3a80fe7e3152f103a6f5d3 100644 (file)
--- a/src/cpl.h
+++ b/src/cpl.h
@@ -20,6 +20,7 @@
 #include <list>
 #include <boost/shared_ptr.hpp>
 #include <boost/function.hpp>
+#include <libxml++/libxml++.h>
 #include "types.h"
 
 namespace libdcp {
@@ -74,8 +75,8 @@ public:
        bool equals (CPL const & other, EqualityOptions options, boost::function<void (NoteType, std::string)> note) const;
        
        void write_xml (XMLMetadata const &) const;
-       void write_to_assetmap (std::ostream& s) const;
-       void write_to_pkl (std::ostream& s) const;
+       void write_to_assetmap (xmlpp::Node *) const;
+       void write_to_pkl (xmlpp::Node *) const;
        
 private:
        std::string _directory;