#include <tbytevector.h>
#include <tstring.h>
#include <tdebug.h>
+#include <tpropertymap.h>
#include <xiphcomment.h>
#include "oggflacfile.h"
return d->comment;
}
+PropertyMap Ogg::FLAC::File::properties() const
+{
+ return d->comment->properties();
+}
+
+PropertyMap Ogg::FLAC::File::setProperties(const PropertyMap &properties)
+{
+ return d->comment->setProperties(properties);
+}
+
Properties *Ogg::FLAC::File::audioProperties() const
{
return d->properties;
*/
virtual XiphComment *tag() const;
+
+
/*!
* Returns the FLAC::Properties for this file. If no audio properties
* were read then this will return a null pointer.
*/
virtual Properties *audioProperties() const;
+
+ /*!
+ * Implements the unified property interface -- export function.
+ * This forwards directly to XiphComment::properties().
+ */
+ PropertyMap properties() const;
+
+ /*!
+ * Implements the unified tag dictionary interface -- import function.
+ * Like properties(), this is a forwarder to the file's XiphComment.
+ */
+ PropertyMap setProperties(const PropertyMap &);
+
+
/*!
* Save the file. This will primarily save and update the XiphComment.
* Returns true if the save is successful.