diff SqliteDBLink.hpp @ 85:1f9e27a0bd7f

Allow for lazy calculation of checksums, ignore them, if only one file of given size.
author Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no>
date Thu, 10 Oct 2013 15:55:30 +0200
parents 69a30d9f126e
children af7962f3274b
line wrap: on
line diff
--- a/SqliteDBLink.hpp	Thu Oct 10 14:14:20 2013 +0200
+++ b/SqliteDBLink.hpp	Thu Oct 10 15:55:30 2013 +0200
@@ -16,6 +16,9 @@
   bool exists(const QString& path);
   DBStatus existsWithMtime(const QString& path, const QDateTime& mtime);
 
+  virtual const QList<dbinf_ptr_t> filesWithSize(qint64 size, const QString& prefix = QString()) const;
+
+
   QStringList toStringList();
   const QList<dbinf_ptr_t > values(const QString& prefix = QString() ) const;
   virtual void keepOnlyFromPrefix(const QString& prefix,