16 #ifndef hifi_ArchiveDownloadInterface_h
17 #define hifi_ArchiveDownloadInterface_h
19 #include <QtCore/QObject>
20 #include <QtCore/QUrl>
70 void runUnzip(QString path, QUrl url,
bool autoAdd,
bool isZip);
89 void unzipResult(QString zipFile, QStringList unzipFile,
bool autoAdd,
bool isZip);
92 bool isTempDir(QString tempDir);
93 bool hasModel(QStringList fileList);
94 QStringList unzipFile(QString path, QString tempDir);
95 void recursiveFileScan(QFileInfo file, QString* dirName);
96 void downloadZip(QString path,
const QString link);
The ArchiveDownloadInterface API provides some facilities for working with the file system.
Definition: ArchiveDownloadInterface.h:27
QString convertUrlToPath(QUrl url)
Extracts a filename from a URL, where the filename is specified in the query part of the URL as filen...
Definition: ArchiveDownloadInterface.cpp:126
void unzipResult(QString zipFile, QStringList unzipFile, bool autoAdd, bool isZip)
QString getTempDir()
Definition: ArchiveDownloadInterface.cpp:119