*
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#ifndef IFSFILE_H__
|
||||
#define IFSFILE_H__
|
||||
|
||||
//#include "IDataStream.h"
|
||||
#include "../../LString.h"
|
||||
#include "../IFile.h"
|
||||
#include "IFSStream.h"
|
||||
|
||||
namespace LifeCore
|
||||
{
|
||||
class IFSFile : public IFile
|
||||
{
|
||||
public:
|
||||
IFSFile();
|
||||
IFSFile(const String& path, int size);
|
||||
~IFSFile(){}
|
||||
String EntryName;
|
||||
bool ReadAsync(char* buffer, size_t count_read);
|
||||
IDataStreamPtr OpenWrite(int mode);
|
||||
IDataStreamPtr OpenReadWrite(int mode);
|
||||
IDataStreamPtr OpenRead();
|
||||
void Close();
|
||||
private:
|
||||
int offsetIndex;
|
||||
IFSStream* g_stream;
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user