*
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#ifndef IPAKFILECONTENTPROVIDER_H__
|
||||
#define IPAKFILECONTENTPROVIDER_H__
|
||||
|
||||
#include "../IContentProvider.h"
|
||||
#include "../../LString.h"
|
||||
#include "../IFileSystem.h"
|
||||
#include "pak_io/PakFile.h"
|
||||
#include "IPakFolder.h"
|
||||
|
||||
namespace LifeCore
|
||||
{
|
||||
class IPakFileContentProvider : public IContentProvider
|
||||
{
|
||||
public:
|
||||
~IPakFileContentProvider(){};
|
||||
void Close(){}
|
||||
IFileSystem* getFileSystem(){return fileSystem;}
|
||||
IPakFileContentProvider(IDataStream* pakFile, const String& name);
|
||||
String g_rootFolder;
|
||||
PakFile g_sourceFile;
|
||||
IFileSystem* fileSystem;
|
||||
|
||||
private:
|
||||
void BuildTree();
|
||||
String GetPakPathWithoutFilename(const String& path);
|
||||
};
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user