koZipStore.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
#ifndef koZipStore_h
00021
#define koZipStore_h
00022
00023
#include "koStore.h"
00024
00025
class KZip;
00026
class KArchiveDirectory;
00027
00028
class KoZipStore :
public KoStore
00029 {
00030
public:
00031 KoZipStore(
const QString & _filename, Mode _mode,
const QCString & appIdentification );
00032 KoZipStore(
QIODevice *dev, Mode mode,
const QCString & appIdentification );
00033 ~KoZipStore();
00034
00035
virtual Q_LONG
write(
const char* _data, Q_ULONG _len );
00036
protected:
00037
virtual bool init( Mode _mode,
const QCString& appIdentification );
00038
virtual bool openWrite(
const QString& name );
00039
virtual bool openRead(
const QString& name );
00040
virtual bool closeWrite();
00041
virtual bool closeRead() {
return true; }
00042
virtual bool enterRelativeDirectory(
const QString& dirName );
00043
virtual bool enterAbsoluteDirectory(
const QString& path );
00044
virtual bool fileExists(
const QString& absPath );
00045
00046
00047 KZip * m_pZip;
00048
00049
00050
00051
const KArchiveDirectory* m_currentDir;
00052 };
00053
00054
#endif
This file is part of the documentation for lib Library Version 1.3.3.