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

pzipextractor.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           pzipextractor.h  -  description
00003                              -------------------
00004     begin                : Sat Jan 18 2003
00005     copyright            : (C) 2003 by Ryan Rusaw
00006     email                : rrusaw@sasktel.net
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018  #ifndef PZIPEXTRACTOR_H
00019  #define PZIPEXTRACTOR_H
00020 
00021  #include <qpe/applnk.h>
00022  #include <qcstring.h>
00023  #include <qbuffer.h>
00024  #include "unzip.h"
00025 
00026  #define WRITEBUFFERSIZE (8192)
00027 
00031  class pZipExtractor : public QObject
00032  {
00033  public:
00037           pZipExtractor(){};
00041           ~pZipExtractor(){};
00045           int openFile(const DocLnk &lnkDoc);
00049           int closeFile(){ unzClose(uf); };
00055           QByteArray *extractFile(QString &filename);
00056  private:
00060           unzFile uf;          
00061  };
00062  #endif

Generated on Sun Feb 2 21:28:28 2003 for PoqetPresenter by doxygen1.2.18