Return a bool indicating if the save was successful as in File::save()

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@332349 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
Scott Wheeler
2004-07-24 17:30:54 +00:00
parent ab51136a54
commit d8fc67ac67
2 changed files with 4 additions and 4 deletions

View File

@ -82,9 +82,9 @@ File *FileRef::file() const
return d->file;
}
void FileRef::save()
bool FileRef::save()
{
d->file->save();
return d->file->save();
}
bool FileRef::isNull() const

View File

@ -133,9 +133,9 @@ namespace TagLib {
File *file() const;
/*!
* Saves the file.
* Saves the file. Returns true on success.
*/
void save();
bool save();
/*!
* Returns true if the file (and as such other pointers) are null.