Fixed an API change

This commit is contained in:
Tsuda Kageyu 2012-08-27 18:29:12 +09:00
parent 61c8013f2c
commit 071a1477b5
2 changed files with 13 additions and 4 deletions

View File

@ -86,9 +86,9 @@ RIFF::WAV::File::~File()
delete d;
}
Tag *RIFF::WAV::File::tag() const
ID3v2::Tag *RIFF::WAV::File::tag() const
{
return &d->tag;
return ID3v2Tag();
}
ID3v2::Tag *RIFF::WAV::File::ID3v2Tag() const

View File

@ -94,12 +94,21 @@ namespace TagLib {
virtual ~File();
/*!
* Returns the Tag for this file.
* Returns the ID3v2 Tag for this file.
*
* \note This method does not return all the tags for this file for
* backward compatibility. Will be fixed in TagLib 2.0.
*/
virtual Tag *tag() const;
ID3v2::Tag *RIFF::WAV::File::tag() const;
/*!
* Returns the ID3v2 Tag for this file.
*/
ID3v2::Tag *ID3v2Tag() const;
/*!
* Returns the RIFF INFO Tag for this file.
*/
Info::Tag *InfoTag() const;
/*!