oops -- forgot FLAC -- return bool for the FLAC::File::save() too to provide

some information on if the save was successful.


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@323170 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
Scott Wheeler
2004-06-23 18:45:26 +00:00
parent 8bdecaf320
commit 0d04000f74
4 changed files with 14 additions and 5 deletions

View File

@ -87,7 +87,7 @@ Properties *Ogg::FLAC::File::audioProperties() const
}
void Ogg::FLAC::File::save()
bool Ogg::FLAC::File::save()
{
d->xiphCommentData = d->comment->render();
@ -110,7 +110,7 @@ void Ogg::FLAC::File::save()
setPacket(d->commentPacket, v);
Ogg::File::save();
return Ogg::File::save();
}
////////////////////////////////////////////////////////////////////////////////

View File

@ -83,8 +83,9 @@ namespace TagLib {
/*!
* Save the file. This will primarily save and update the XiphComment.
* Returns true if the save is successful.
*/
virtual void save();
virtual bool save();
/*!
* Returns the length of the audio-stream, used by FLAC::Properties for