21 #ifndef IMPORTFOLDERTHREAD_H 22 #define IMPORTFOLDERTHREAD_H 26 #include "ImportCache.h" 27 #include "Utils/Pimpl.h" 43 void sig_progress(
int);
46 explicit CachingThread(
const QStringList& file_list,
const QString& library_path, QObject *parent=
nullptr);
49 Library::ImportCachePtr cache()
const;
51 bool is_cancelled()
const;
54 QStringList temporary_files()
const;
59 void update_progress();
60 void scan_dir(
const QString& dir);
61 bool scan_rar(
const QString& rar);
62 bool scan_zip(
const QString& zip);
63 bool scan_tgz(
const QString& tgz);
64 void add_file(
const QString& filename,
const QString& relative_dir=QString());
67 QString create_temp_dir();
70 const QString& temp_dir,
71 const QString& binary,
72 const QStringList& args,
78 #endif // IMPORTFOLDERTHREAD_H
The CachingThread class.
Definition: CachingThread.h:36
An interface class needed when implementing a library plugin.
Definition: LocalLibraryWatcher.h:32
Definition: EngineUtils.h:33