MythTV
master
|
#include <libmythbase/unzip2.h>
Classes | |
struct | zipEntry |
Public Member Functions | |
UnZip (QString zipFile) | |
~UnZip () | |
bool | extractFile (const QString &outDir) |
Private Member Functions | |
bool | isValid () |
bool | getEntryStats (zipEntry &entry) |
void | getEntryAttrs (zipEntry &entry) |
bool | zipValidateFilename (const QFileInfo &fi) |
bool | zipCreateSymlink (const zipEntry &entry) |
bool | zipWriteOneFile (const zipEntry &entry) |
Static Private Member Functions | |
static QFileDevice::Permissions | zipToQtPerms (const zipEntry &entry) |
static bool | zipCreateDirectory (const zipEntry &entry) |
static void | zipSetFileAttributes (const zipEntry &entry, QFile &outfile) |
Private Attributes | |
QDir | m_outDir |
QString | m_zipFileName |
zip_t * | m_zip {nullptr} |
zip_int64_t | m_zipFileCount {-1} |
Static Private Attributes | |
static constexpr uint64_t | kSTATS_REQUIRED {ZIP_STAT_NAME|ZIP_STAT_INDEX|ZIP_STAT_SIZE|ZIP_STAT_MTIME|ZIP_STAT_ENCRYPTION_METHOD} |
|
explicit |
Definition at line 38 of file unzip2.cpp.
UnZip::~UnZip | ( | ) |
Definition at line 51 of file unzip2.cpp.
bool UnZip::extractFile | ( | const QString & | outDir | ) |
Definition at line 264 of file unzip2.cpp.
Referenced by extractZIP().
|
inlineprivate |
Definition at line 48 of file unzip2.h.
Referenced by extractFile().
Definition at line 62 of file unzip2.cpp.
Referenced by extractFile().
|
private |
Definition at line 82 of file unzip2.cpp.
Referenced by extractFile().
|
staticprivate |
Definition at line 118 of file unzip2.cpp.
Referenced by zipSetFileAttributes().
Definition at line 91 of file unzip2.cpp.
Referenced by extractFile().
|
private |
Definition at line 107 of file unzip2.cpp.
Referenced by extractFile(), and zipCreateSymlink().
|
staticprivate |
Definition at line 148 of file unzip2.cpp.
Referenced by zipWriteOneFile().
Definition at line 163 of file unzip2.cpp.
Referenced by extractFile().
Definition at line 201 of file unzip2.cpp.
Referenced by extractFile().
|
staticconstexprprivate |
Definition at line 32 of file unzip2.h.
Referenced by getEntryStats().
|
private |
Definition at line 58 of file unzip2.h.
Referenced by extractFile(), and zipValidateFilename().
|
private |
Definition at line 61 of file unzip2.h.
Referenced by extractFile(), getEntryStats(), UnZip(), zipCreateSymlink(), zipWriteOneFile(), and ~UnZip().
|
private |
Definition at line 62 of file unzip2.h.
Referenced by extractFile(), getEntryAttrs(), getEntryStats(), isValid(), UnZip(), zipCreateSymlink(), zipWriteOneFile(), and ~UnZip().
|
private |
Definition at line 63 of file unzip2.h.
Referenced by extractFile().