This commit is contained in:
2025-05-13 02:46:21 +03:00
parent 143e16692e
commit 86914b7fcc
610 changed files with 92343 additions and 2 deletions
@@ -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