comparison 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
comparison
equal deleted inserted replaced
677:ce73529405e4 678:948271d124ac
139 * was a local file, this will return the same filename; otherwise 139 * was a local file, this will return the same filename; otherwise
140 * this will be the name of the temporary cache file owned by the 140 * this will be the name of the temporary cache file owned by the
141 * FileSource. 141 * FileSource.
142 */ 142 */
143 QString getLocalFilename() const; 143 QString getLocalFilename() const;
144
145 /**
146 * Return the base name, i.e. the final path element (including
147 * extension, if any) of the location.
148 */
149 QString getBasename() const;
144 150
145 /** 151 /**
146 * Return the MIME content type of this file, if known. 152 * Return the MIME content type of this file, if known.
147 */ 153 */
148 QString getContentType() const; 154 QString getContentType() const;