diff transform/FeatureWriter.h @ 504:3376dc26dece

* Add FeatureWriter method to set basic track metadata; write it out from RDFFeatureWriter if present
author Chris Cannam
date Fri, 05 Dec 2008 11:09:44 +0000
parents fdf5930b7ccc
children 1aefb666ecfc
line wrap: on
line diff
--- a/transform/FeatureWriter.h	Fri Dec 05 09:40:42 2008 +0000
+++ b/transform/FeatureWriter.h	Fri Dec 05 11:09:44 2008 +0000
@@ -53,6 +53,12 @@
         return;
     }
 
+    struct TrackMetadata {
+        QString title;
+        QString maker;
+    };
+    virtual void setTrackMetadata(QString trackid, TrackMetadata metadata) { }
+
     // may throw FailedToOpenFile or other exceptions
 
     virtual void write(QString trackid,