QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGClibarchive.cc File Reference
#include "QGClibarchive.h"
#include <QtCore/QDir>
#include <QtCore/QFileInfo>
#include <QtCore/QSaveFile>
#include <QtCore/QSet>
#include <QtCore/QTemporaryDir>
#include <archive.h>
#include <archive_entry.h>
#include "QGCFileHelper.h"
#include "QGCLoggingCategory.h"
Include dependency graph for QGClibarchive.cc:

Go to the source code of this file.

Namespaces

namespace  QGClibarchive

Functions

QString QGClibarchive::lastDetectedFormatName ()
QString QGClibarchive::lastDetectedFilterName ()
la_ssize_t QGClibarchive::deviceReadCallback (struct archive *, void *clientData, const void **buffer)
la_int64_t QGClibarchive::deviceSkipCallback (struct archive *, void *clientData, la_int64_t request)
int QGClibarchive::deviceCloseCallback (struct archive *, void *)
la_int64_t QGClibarchive::deviceSeekCallback (struct archive *, void *clientData, la_int64_t offset, int whence)
ArchiveEntry QGClibarchive::toArchiveEntry (struct archive_entry *entry)
bool QGClibarchive::openArchiveForReading (struct archive *a, const QString &filePath, QByteArray &resourceData)
bool QGClibarchive::extractAnyArchive (const QString &archivePath, const QString &outputDirectoryPath, ProgressCallback progress, qint64 maxBytes)
bool QGClibarchive::extractArchiveAtomic (const QString &archivePath, const QString &outputDirectoryPath, ProgressCallback progress, qint64 maxBytes)
bool QGClibarchive::extractSingleFile (const QString &archivePath, const QString &fileName, const QString &outputPath)
QByteArray QGClibarchive::extractFileToMemory (const QString &archivePath, const QString &fileName)
bool QGClibarchive::extractMultipleFiles (const QString &archivePath, const QStringList &fileNames, const QString &outputDirectoryPath)
bool QGClibarchive::extractByPattern (const QString &archivePath, const QStringList &patterns, const QString &outputDirectoryPath, QStringList *extractedFiles)
bool QGClibarchive::validateArchive (const QString &archivePath)
bool QGClibarchive::fileExistsInArchive (const QString &archivePath, const QString &fileName)
QStringList QGClibarchive::listArchiveEntries (const QString &archivePath)
QList< ArchiveEntry > QGClibarchive::listArchiveEntriesDetailed (const QString &archivePath)
ArchiveStats QGClibarchive::getArchiveStats (const QString &archivePath)
bool QGClibarchive::extractWithFilter (const QString &archivePath, const QString &outputDirectoryPath, EntryFilter filter, ProgressCallback progress, qint64 maxBytes)
bool QGClibarchive::decompressSingleFile (const QString &inputPath, const QString &outputPath, ProgressCallback progress, qint64 maxBytes)
QByteArray QGClibarchive::decompressDataFromMemory (const QByteArray &data, qint64 maxBytes)
bool QGClibarchive::extractFromDevice (QIODevice *device, const QString &outputDirectoryPath, ProgressCallback progress, qint64 maxBytes)
QByteArray QGClibarchive::extractFileDataFromDevice (QIODevice *device, const QString &fileName)
bool QGClibarchive::decompressFromDevice (QIODevice *device, const QString &outputPath, ProgressCallback progress, qint64 maxBytes)
QByteArray QGClibarchive::decompressDataFromDevice (QIODevice *device, qint64 maxBytes)