26 lines
540 B
C++
26 lines
540 B
C++
#ifndef IFSCONTENTPROVIDER_H__
|
|
#define IFSCONTENTPROVIDER_H__
|
|
|
|
#include "../IContentProvider.h"
|
|
#include "../../LString.h"
|
|
#include "../IFileSystem.h"
|
|
#include "IFSFolder.h"
|
|
#include <windows.h>
|
|
|
|
namespace LifeCore
|
|
{
|
|
class IFSContentProvider : public IContentProvider
|
|
{
|
|
public:
|
|
~IFSContentProvider();
|
|
void Close(){}
|
|
IFileSystem* getFileSystem(){return fileSystem;}
|
|
IFSContentProvider(const String& file);
|
|
String g_rootFolder;
|
|
IFileSystem* fileSystem;
|
|
|
|
private:
|
|
void ScanDir( String path, IFolder* directory);
|
|
};
|
|
}
|
|
#endif |