Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

pZipExtractor Class Reference

Wrapper class for unzip.c functions to unzip files. More...

#include <pzipextractor.h>

List of all members.

Public Methods

 pZipExtractor ()
 Constructor.

 ~pZipExtractor ()
 Deconstructor.

int openFile (const DocLnk &lnkDoc)
 Opens lnkDoc for uncompressing.

int closeFile ()
 Closes the current file.

QByteArray * extractFile (QString &filename)
 extracts compressed file from open file to buffer


Private Attributes

unzFile uf
 Internal unzFile for currently opened file.


Detailed Description

Author:
Ryan Rusaw

Definition at line 31 of file pzipextractor.h.


Constructor & Destructor Documentation

pZipExtractor::pZipExtractor   [inline]
 

Definition at line 37 of file pzipextractor.h.

00037 {};

pZipExtractor::~pZipExtractor   [inline]
 

Definition at line 41 of file pzipextractor.h.

00041 {};


Member Function Documentation

int pZipExtractor::closeFile   [inline]
 

Definition at line 49 of file pzipextractor.h.

References uf.

00049 { unzClose(uf); };

QByteArray* pZipExtractor::extractFile QString &    filename
 

Parameters:
filename  filename to extract
Returns:
byte array of the file.

int pZipExtractor::openFile const DocLnk &    lnkDoc
 


Member Data Documentation

unzFile pZipExtractor::uf [private]
 

Definition at line 60 of file pzipextractor.h.

Referenced by closeFile().


The documentation for this class was generated from the following file:
Generated on Sun Feb 2 21:28:30 2003 for PoqetPresenter by doxygen1.2.18