27 lines
449 B
C++
27 lines
449 B
C++
#ifndef IZIPFILE_H__
|
|||
|
|
#define IZIPFILE_H__
|
||
|
|
|
||
|
|
//#include "IDataStream.h"
|
||
|
|
#include "../../LString.h"
|
||
|
|
#include "../IFile.h"
|
||
|
|
#include "IZipStream.h"
|
||
|
|
|
||
|
|
namespace LifeCore
|
||
|
|
{
|
||
|
|
class IZipFile : public IFile
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
IZipFile();
|
||
|
|
~IZipFile(){}
|
||
|
|
String EntryName;
|
||
|
|
IDataStreamPtr OpenWrite(int mode);
|
||
|
|
IDataStreamPtr OpenReadWrite(int mode);
|
||
|
|
IDataStreamPtr OpenRead();
|
||
|
|
void Close();
|
||
|
|
private:
|
||
|
|
int offsetIndex;
|
||
|
|
IZipStream* g_stream;
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
#endif
|