summaryrefslogtreecommitdiff
path: root/src/asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-02-08 13:30:42 +0000
committerCarl Hetherington <cth@carlh.net>2014-02-08 13:30:42 +0000
commit71de90f74085744d1c5ca35253eec003e41497a2 (patch)
tree637e6c2b6c2fa04da3d64864e0adcef30a0847dd /src/asset.h
parent054cc86d5ba734c72780b07a772a55e3a7000a4f (diff)
Fix a couple of errors in Interop XML
Reported-by: Ivan Pullman
Diffstat (limited to 'src/asset.h')
-rw-r--r--src/asset.h5
1 files changed, 4 insertions, 1 deletions
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<const Asset> other, EqualityOptions opt, boost::function<void (NoteType, std::string)>) const;
protected:
+
+ /** @return Interop PKL asdcpKind for the &lt;Type&gt; tag e.g. Picture, Sound etc. */
+ virtual std::string asdcp_kind () const = 0;
std::string digest () const;