Add TagUnion::removeUnsupportedProperties, further reducing SLOCs. :-)

This commit is contained in:
Michael Helmling
2012-12-27 13:32:01 +01:00
parent fa38c805f5
commit 90fd336a22
14 changed files with 11 additions and 82 deletions

View File

@ -112,14 +112,6 @@ TagLib::Tag *APE::File::tag() const
return &d->tag;
}
void APE::File::removeUnsupportedProperties(const StringList &properties)
{
if(d->hasAPE)
d->tag.access<APE::Tag>(ApeAPEIndex, false)->removeUnsupportedProperties(properties);
if(d->hasID3v1)
d->tag.access<ID3v1::Tag>(ApeID3v1Index, false)->removeUnsupportedProperties(properties);
}
PropertyMap APE::File::setProperties(const PropertyMap &properties)
{
if(d->hasID3v1)

View File

@ -113,12 +113,6 @@ namespace TagLib {
*/
virtual TagLib::Tag *tag() const;
/*!
* Removes unsupported properties. Forwards to the actual Tag's
* removeUnsupportedProperties() function.
*/
void removeUnsupportedProperties(const StringList &properties);
/*!
* Implements the unified property interface -- import function.
* Creates an APEv2 tag if necessary. A pontentially existing ID3v1