Switch the return type of File::save() from void to bool to provide a little

bit of feedback on whether or not the safe operation worked.

CCMAIL:83882@bugs.kde.org


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@323165 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
Scott Wheeler
2004-06-23 18:35:52 +00:00
parent 5f2e59150c
commit 420541441c
7 changed files with 39 additions and 28 deletions

View File

@ -79,9 +79,9 @@ namespace TagLib {
/*!
* Save the file and its associated tags. This should be reimplemented in
* the concrete subclasses.
* the concrete subclasses. Returns true if the save succeeds.
*/
virtual void save() = 0;
virtual bool save() = 0;
/*!
* Reads a block of size \a length at the current get pointer.