21 #ifndef IMPORTFOLDERTHREAD_H
22 #define IMPORTFOLDERTHREAD_H
26 #include "ImportCache.h"
27 #include "Utils/Pimpl.h"
43 void sigCachedFilesChanged();
46 explicit CachingThread(
const QStringList& fileList,
const QString& libraryPath, QObject* parent=
nullptr);
49 Library::ImportCachePtr cache()
const;
51 bool isCancelled()
const;
52 QStringList temporaryFiles()
const;
53 int cachedFileCount()
const;
54 int soundfileCount()
const;
60 void scanDirectory(
const QString& dir);
61 bool scanRarArchive(
const QString& rarFile);
62 bool scanZipArchive(
const QString& zipFile);
63 bool scanTgzArchive(
const QString& tgz);
64 void addFile(
const QString& filename,
const QString& relativeDir=QString());
66 QString createTempDirectory();
69 const QString& tempDirectory,
70 const QString& binary,
71 const QStringList& args,
76 void metadataChanged();
80 #endif // IMPORTFOLDERTHREAD_H