Merge master.
[dcpomatic.git] / src / lib / dci_metadata.h
index eecdc765511a6ac2d6fa83301eb647cd1e78fab9..b87609ed0060224e573186f109c213aa2a074911 100644 (file)
 
 */
 
-#ifndef DVDOMATIC_DCI_METADATA_H
-#define DVDOMATIC_DCI_METADATA_H
+#ifndef DCPOMATIC_DCI_METADATA_H
+#define DCPOMATIC_DCI_METADATA_H
 
 #include <string>
+#include <libxml++/libxml++.h>
+
+namespace cxml {
+       class Node;
+}
 
 class DCIMetadata
 {
 public:
-       void read (std::string, std::string);
-       void write (std::ostream &) const;
+       DCIMetadata () {}
+       DCIMetadata (boost::shared_ptr<const cxml::Node>);
+
+       void as_xml (xmlpp::Node *) const;
+       void read_old_metadata (std::string, std::string);
        
        std::string audio_language;
        std::string subtitle_language;