26 lines
433 B
C++
26 lines
433 B
C++
#ifndef IPAKFILE_H__
|
|||
|
|
#define IPAKFILE_H__
|
||
|
|
|
||
|
|
//#include "IDataStream.h"
|
||
|
|
#include "../../LString.h"
|
||
|
|
#include "../IFile.h"
|
||
|
|
#include "IPakStream.h"
|
||
|
|
|
||
|
|
namespace LifeCore
|
||
|
|
{
|
||
|
|
class IPakFile : public IFile
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
IPakFile();
|
||
|
|
~IPakFile(){}
|
||
|
|
String EntryName;
|
||
|
|
IDataStreamPtr OpenWrite(int mode);
|
||
|
|
IDataStreamPtr OpenReadWrite(int mode);
|
||
|
|
IDataStreamPtr OpenRead();
|
||
|
|
private:
|
||
|
|
int offsetIndex;
|
||
|
|
IPakStream* g_stream;
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
#endif
|