projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More OS X debug.
[dcpomatic.git]
/
src
/
lib
/
dci_metadata.h
diff --git
a/src/lib/dci_metadata.h
b/src/lib/dci_metadata.h
index eecdc765511a6ac2d6fa83301eb647cd1e78fab9..738e439de5cbe789828c978d64b95124ef423d50 100644
(file)
--- a/
src/lib/dci_metadata.h
+++ b/
src/lib/dci_metadata.h
@@
-17,17
+17,29
@@
*/
*/
-#ifndef D
VD
OMATIC_DCI_METADATA_H
-#define D
VD
OMATIC_DCI_METADATA_H
+#ifndef D
CP
OMATIC_DCI_METADATA_H
+#define D
CP
OMATIC_DCI_METADATA_H
#include <string>
#include <string>
+#include <libxml++/libxml++.h>
+
+namespace cxml {
+ class Node;
+}
class DCIMetadata
{
public:
class DCIMetadata
{
public:
- void read (std::string, std::string);
- void write (std::ostream &) const;
+ DCIMetadata ()
+ : content_version (1)
+ {}
+ DCIMetadata (boost::shared_ptr<const cxml::Node>);
+
+ void as_xml (xmlpp::Node *) const;
+ void read_old_metadata (std::string, std::string);
+
+ int content_version;
std::string audio_language;
std::string subtitle_language;
std::string territory;
std::string audio_language;
std::string subtitle_language;
std::string territory;