X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fasset.h;h=3dffa9abc3becc84b126d7ddeaf1dcfe64873711;hb=ad3d9f8bbe623f87e440bd6a5a12520361a7661f;hp=06c6635636141882b35dc11fab5895ce1e16e2c5;hpb=568d433830710baa7b0c64a5b7491758beb95b1c;p=libdcp.git diff --git a/src/asset.h b/src/asset.h index 06c66356..3dffa9ab 100644 --- a/src/asset.h +++ b/src/asset.h @@ -28,12 +28,17 @@ #include #include #include +#include #include "types.h" namespace ASDCP { class WriterInfo; } +namespace xmlpp { + class Element; +} + namespace libdcp { @@ -52,20 +57,20 @@ 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::Node *) const = 0; - /** Write details of the asset to a PKL stream. - * @param s Stream. + /** Write details of the asset to a PKL AssetList node. + * @param p Parent node. */ - void write_to_pkl (std::ostream& s) const; + void write_to_pkl (xmlpp::Node *) const; /** Write details of the asset to a ASSETMAP stream. * @param s Stream. */ - void write_to_assetmap (std::ostream& s) const; + void write_to_assetmap (xmlpp::Node *) const; std::string uuid () const { return _uuid;