Mercurial > hg > svcore
diff data/fileio/FileSource.h @ 678:948271d124ac
Make more (though still not entirely) robust in the face of running out of disc space
author | Chris Cannam |
---|---|
date | Thu, 14 Apr 2011 15:20:27 +0100 |
parents | e340b2fb9471 |
children | b4a8d8221eaf |
line wrap: on
line diff
--- a/data/fileio/FileSource.h Thu Apr 07 15:20:35 2011 +0100 +++ b/data/fileio/FileSource.h Thu Apr 14 15:20:27 2011 +0100 @@ -143,6 +143,12 @@ QString getLocalFilename() const; /** + * Return the base name, i.e. the final path element (including + * extension, if any) of the location. + */ + QString getBasename() const; + + /** * Return the MIME content type of this file, if known. */ QString getContentType() const;