summaryrefslogtreecommitdiff
path: root/src/asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-01-01 23:17:07 +0000
committerCarl Hetherington <cth@carlh.net>2013-01-01 23:17:07 +0000
commitaef58f7a1caf6a67c2c0b12ba3a6bc632d890f4e (patch)
treede09dea793415454c0e656b5cfd27a027abc8f57 /src/asset.h
parent039ea029c811b7f74f02befad10d2106ad645e74 (diff)
Use libxml++ to write CPLs.
Diffstat (limited to 'src/asset.h')
-rw-r--r--src/asset.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/asset.h b/src/asset.h
index cc6fbcb7..4a52e819 100644
--- a/src/asset.h
+++ b/src/asset.h
@@ -33,6 +33,10 @@ namespace ASDCP {
class WriterInfo;
}
+namespace xmlpp {
+ class Element;
+}
+
namespace libdcp
{
@@ -51,10 +55,10 @@ public:
virtual ~Asset() {}
- /** Write details of the asset to a CPL stream.
- * @param s Stream.
+ /** Write details of the asset to a CPL AssetList node.
+ * @param p Parent node.
*/
- virtual void write_to_cpl (std::ostream& s) const = 0;
+ virtual void write_to_cpl (xmlpp::Element* p) const = 0;
/** Write details of the asset to a PKL stream.
* @param s Stream.