Added the methods to check which kind of tags the file actually has.

This commit is contained in:
Tsuda Kageyu
2013-07-04 18:11:33 +09:00
parent 7e866e11ad
commit 1503909824
17 changed files with 164 additions and 8 deletions

View File

@ -287,3 +287,8 @@ void Ogg::FLAC::File::scan()
d->scanned = true;
}
bool Ogg::FLAC::File::hasXiphComment() const
{
return d->hasXiphComment;
}

View File

@ -128,6 +128,11 @@ namespace TagLib {
*/
long streamLength();
/*!
* Returns whether or not the file on disk contains a Xiph comment.
*/
bool hasXiphComment() const;
private:
File(const File &);
File &operator=(const File &);