FIXME: Remove all use of add_child() from xmlpp.
[dcpomatic.git] / src / lib / atmos_content.h
index 8edab8c3168937057d4a9085250a829d4a3e51f3..ffa1814972240b17a69079e081033f0a03fe3a99 100644 (file)
@@ -20,6 +20,8 @@
 
 
 #include "content_part.h"
+#include "types.h"
+#include <dcp/types.h>
 
 
 class Content;
@@ -40,7 +42,7 @@ public:
 
        static std::shared_ptr<AtmosContent> from_xml (Content* parent, cxml::ConstNodePtr node);
 
-       void as_xml (xmlpp::Node* node) const;
+       void as_xml(xmlpp::Element* element) const;
 
        void set_length (Frame len);