diff data/fileio/CachedFile.h @ 481:a82645e788fc

* Auto-select RDF datastore/parsing backend; use trees datastore if available * Make CachedFile remember whether a file has already been successfully located locally (avoiding system call out to look at filesystem)
author Chris Cannam
date Fri, 14 Nov 2008 10:10:05 +0000
parents 70b333085952
children e340b2fb9471
line wrap: on
line diff
--- a/data/fileio/CachedFile.h	Thu Nov 13 14:23:23 2008 +0000
+++ b/data/fileio/CachedFile.h	Fri Nov 14 10:10:05 2008 +0000
@@ -19,6 +19,7 @@
 #include <QString>
 #include <QUrl>
 #include <QDateTime>
+#include <map>
 
 class ProgressReporter;
 
@@ -48,6 +49,9 @@
 
     static QString getCacheDirectory();
     static QString getLocalFilenameFor(QUrl url);
+
+    typedef std::map<QString, QString> OriginLocalFilenameMap;
+    static OriginLocalFilenameMap m_knownGoodCaches;
 };
 
 #endif