diff data/fileio/FileSource.h @ 1056:c4898e57eea5 tonioni

Merge from default branch
author Chris Cannam
date Mon, 23 Mar 2015 10:04:48 +0000
parents 3a48b22fed48
children 329ddaf7415d
line wrap: on
line diff
--- a/data/fileio/FileSource.h	Mon Nov 10 09:19:49 2014 +0000
+++ b/data/fileio/FileSource.h	Mon Mar 23 10:04:48 2015 +0000
@@ -195,6 +195,13 @@
      */
     static bool canHandleScheme(QUrl url);
 
+    /**
+     * Print some stats, if FileSource was compiled with debugging.
+     * It's safe to leave a call to this function in release code, as
+     * long as FileSource itself is compiled with release flags.
+     */
+    static void debugReport();
+    
 signals:
     /**
      * Emitted during URL retrieval, when the retrieval progress