Mercurial > hg > svcore
comparison data/fileio/FileSource.h @ 1033:3a48b22fed48
Debug reporting from FileSource
author | Chris Cannam |
---|---|
date | Thu, 26 Feb 2015 09:43:12 +0000 |
parents | c6f2b93a7d52 |
children | 329ddaf7415d |
comparison
equal
deleted
inserted
replaced
1030:920699b6989d | 1033:3a48b22fed48 |
---|---|
193 * Return true if FileSource can handle the retrieval scheme for | 193 * Return true if FileSource can handle the retrieval scheme for |
194 * the given URL (or if the URL is for a local file). | 194 * the given URL (or if the URL is for a local file). |
195 */ | 195 */ |
196 static bool canHandleScheme(QUrl url); | 196 static bool canHandleScheme(QUrl url); |
197 | 197 |
198 /** | |
199 * Print some stats, if FileSource was compiled with debugging. | |
200 * It's safe to leave a call to this function in release code, as | |
201 * long as FileSource itself is compiled with release flags. | |
202 */ | |
203 static void debugReport(); | |
204 | |
198 signals: | 205 signals: |
199 /** | 206 /** |
200 * Emitted during URL retrieval, when the retrieval progress | 207 * Emitted during URL retrieval, when the retrieval progress |
201 * notches up to a new percentage. | 208 * notches up to a new percentage. |
202 */ | 209 */ |