mirror of
https://github.com/taglib/taglib.git
synced 2025-07-23 15:34:30 -04:00
Added the methods to check which kind of tags the file actually has.
This commit is contained in:
@ -287,3 +287,8 @@ void Ogg::FLAC::File::scan()
|
||||
|
||||
d->scanned = true;
|
||||
}
|
||||
|
||||
bool Ogg::FLAC::File::hasXiphComment() const
|
||||
{
|
||||
return d->hasXiphComment;
|
||||
}
|
||||
|
@ -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 &);
|
||||
|
Reference in New Issue
Block a user