X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fasset.h;h=773e3d48ae2fb9c2b060519b2620693db36107e9;hb=71de90f74085744d1c5ca35253eec003e41497a2;hp=269d5c4b1e6ddf0486cfafc32ebd60d2427eb73e;hpb=054cc86d5ba734c72780b07a772a55e3a7000a4f;p=libdcp.git diff --git a/src/asset.h b/src/asset.h index 269d5c4b..773e3d48 100644 --- a/src/asset.h +++ b/src/asset.h @@ -65,7 +65,7 @@ public: /** Write details of the asset to a PKL AssetList node. * @param p Parent node. */ - void write_to_pkl (xmlpp::Node *) const; + void write_to_pkl (xmlpp::Node *, bool interop) const; /** Write details of the asset to a ASSETMAP stream. * @param s Stream. @@ -129,6 +129,9 @@ public: virtual bool equals (boost::shared_ptr other, EqualityOptions opt, boost::function) const; protected: + + /** @return Interop PKL asdcpKind for the <Type> tag e.g. Picture, Sound etc. */ + virtual std::string asdcp_kind () const = 0; std::string digest () const;