]> granicus.if.org Git - taglib/commitdiff
Ported xm.
authorMichael Helmling <helmling@mathematik.uni-kl.de>
Tue, 14 Feb 2012 20:35:50 +0000 (21:35 +0100)
committerMichael Helmling <helmling@mathematik.uni-kl.de>
Tue, 14 Feb 2012 20:35:50 +0000 (21:35 +0100)
taglib/xm/xmfile.cpp
taglib/xm/xmfile.h

index bd450c85b043eecfa9f3c17cd704ae7554113935..d4225c453f1733d3b46d021ee596150ac9c2c215 100644 (file)
@@ -379,14 +379,14 @@ Mod::Tag *XM::File::tag() const
   return &d->tag;
 }
 
-TagDict XM::File::toDict() const
+PropertyMap XM::File::properties() const
 {
-  return d->tag.toDict();
+  return d->tag.properties();
 }
 
-void XM::File::fromDict(const TagDict &tagDict)
+PropertyMap XM::File::setProperties(const PropertyMap &properties)
 {
-  d->tag.fromDict(tagDict);
+  return d->tag.setProperties(properties);
 }
 
 XM::Properties *XM::File::audioProperties() const
index 27257fca5e4f704144a11eea700512822de48180..1b07010b788585b1203bb2884285af86d6d4e70b 100644 (file)
@@ -61,16 +61,16 @@ namespace TagLib {
         Mod::Tag *tag() const;
 
         /*!
-         * Implements the unified tag dictionary interface -- export function.
-         * Forwards to Mod::Tag::toDict().
+         * Implements the unified property interface -- export function.
+         * Forwards to Mod::Tag::properties().
          */
-        TagDict toDict() const;
+        PropertyMap properties() const;
 
         /*!
-         * Implements the unified tag dictionary interface -- import function.
-         * Forwards to Mod::Tag::fromDict().
+         * Implements the unified property interface -- import function.
+         * Forwards to Mod::Tag::setProperties().
          */
-        void fromDict(const TagDict &);
+        PropertyMap setProperties(const PropertyMap &);
 
         /*!
          * Returns the XM::Properties for this file. If no audio properties