FGx  1
Public Member Functions | Public Attributes | List of all members
ZipPrivate Class Reference
+ Inheritance diagram for ZipPrivate:

Public Member Functions

Zip::ErrorCode createArchive (QIODevice *device)
 
Zip::ErrorCode closeArchive ()
 
void reset ()
 
bool zLibInit ()
 
Zip::ErrorCode createEntry (const QFileInfo &file, const QString &root, Zip::CompressionLevel level)
 
Zip::CompressionLevel detectCompressionByMime (const QString &ext)
 
void encryptBytes (quint32 *keys, char *buffer, qint64 read)
 
void setULong (quint32 v, char *buffer, unsigned int offset)
 
void updateKeys (quint32 *keys, int c) const
 
void initKeys (quint32 *keys) const
 
int decryptByte (quint32 key2) const
 
QString extractRoot (const QString &p)
 

Public Attributes

QMap< QString, ZipEntryP * > * headers
 
QIODevice * device
 
QFile * file
 
char buffer1 [ZIP_READ_BUFFER]
 
char buffer2 [ZIP_READ_BUFFER]
 
unsigned char * uBuffer
 
const quint32 * crcTable
 
QString comment
 
QString password
 

Member Function Documentation

◆ closeArchive()

Zip::ErrorCode ZipPrivate::closeArchive ( )

Closes the current archive and writes out pending data.

◆ createEntry()

Zip::ErrorCode ZipPrivate::createEntry ( const QFileInfo &  file,
const QString &  root,
Zip::CompressionLevel  level 
)
Todo:
Automatic level detection (cpu, extension & file size)

The documentation for this class was generated from the following files: