16 #ifndef hifi_ArchiveDownloadInterface_h
17 #define hifi_ArchiveDownloadInterface_h
19 #include <QtCore/QObject>
20 #include <QtCore/QUrl>
73 void runUnzip(QString path, QUrl url,
bool autoAdd,
bool isZip,
bool isBlocks);
93 void unzipResult(QString zipFile, QStringList unzipFile,
bool autoAdd,
bool isZip,
bool isBlocks);
96 bool isTempDir(QString tempDir);
97 bool hasModel(QStringList fileList);
98 QStringList unzipFile(QString path, QString tempDir);
99 void recursiveFileScan(QFileInfo file, QString* dirName);
100 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, bool isBlocks)
QString getTempDir()
Definition: ArchiveDownloadInterface.cpp:119