projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nearly pretty-print subtitle XML (though not in <Text> nodes).
[libdcp.git]
/
src
/
subtitle_asset.h
diff --git
a/src/subtitle_asset.h
b/src/subtitle_asset.h
index f51906e22aabfe49c87611a3531dee868d942182..88b5378cab2986661b27af9f38bd3371a3f24d64 100644
(file)
--- a/
src/subtitle_asset.h
+++ b/
src/subtitle_asset.h
@@
-48,9
+48,13
@@
#include <libcxml/cxml.h>
#include <boost/shared_array.hpp>
#include <map>
#include <libcxml/cxml.h>
#include <boost/shared_array.hpp>
#include <map>
+#include <string>
+#include <utility>
+#include <vector>
namespace xmlpp {
namespace xmlpp {
+ class Document;
class Element;
}
class Element;
}
@@
-128,6
+132,8
@@
public:
return _raw_xml;
}
return _raw_xml;
}
+ static std::string format_xml (xmlpp::Document const& document, std::vector<std::pair<std::string, std::string>> const& namespaces);
+
protected:
friend struct ::interop_dcp_font_test;
friend struct ::smpte_dcp_font_test;
protected:
friend struct ::interop_dcp_font_test;
friend struct ::smpte_dcp_font_test;