mirror of
https://github.com/taglib/taglib.git
synced 2025-07-22 15:04:24 -04:00
Migration to new PropertyMap ... done ape to mod.
This commit is contained in:
@ -65,14 +65,14 @@ Mod::Tag *IT::File::tag() const
|
||||
return &d->tag;
|
||||
}
|
||||
|
||||
TagDict IT::File::toDict() const
|
||||
PropertyMap IT::File::properties() const
|
||||
{
|
||||
return d->tag.toDict();
|
||||
return d->tag.properties();
|
||||
}
|
||||
|
||||
void IT::File::fromDict(const TagDict &tagDict)
|
||||
PropertyMap IT::File::setProperties(const PropertyMap &properties)
|
||||
{
|
||||
d->tag.fromDict(tagDict);
|
||||
return d->tag.setProperties(properties);
|
||||
}
|
||||
|
||||
IT::Properties *IT::File::audioProperties() const
|
||||
|
@ -61,16 +61,16 @@ namespace TagLib {
|
||||
Mod::Tag *tag() const;
|
||||
|
||||
/*!
|
||||
* Forwards to Mod::Tag::toDict().
|
||||
* Forwards to Mod::Tag::properties().
|
||||
* BIC: will be removed once File::toDict() is made virtual
|
||||
*/
|
||||
TagDict toDict() const;
|
||||
PropertyMap properties() const;
|
||||
|
||||
/*!
|
||||
* Forwards to Mod::Tag::fromDict().
|
||||
* BIC: will be removed once File::fromDict() is made virtual
|
||||
* Forwards to Mod::Tag::setProperties().
|
||||
* BIC: will be removed once File::setProperties() is made virtual
|
||||
*/
|
||||
void fromDict(const TagDict &);
|
||||
PropertyMap setProperties(const PropertyMap &);
|
||||
|
||||
/*!
|
||||
* Returns the IT::Properties for this file. If no audio properties
|
||||
|
Reference in New Issue
Block a user