mirror of
https://github.com/rrika/cdcEngineDXHR.git
synced 2024-11-27 07:20:22 +00:00
23 lines
537 B
C++
23 lines
537 B
C++
#pragma once
|
|
#include "FileSystem.h"
|
|
|
|
namespace cdc {
|
|
|
|
class FileSystemLayer : public FileSystem {
|
|
protected:
|
|
FileSystem *wrapped;
|
|
public:
|
|
FileSystemLayer(FileSystem *wrapped) : wrapped(wrapped) {}
|
|
|
|
FileRequest *createRequest(FileReceiver*, const char*, uint32_t) override;
|
|
File *createFile(const char*) override;
|
|
uint32_t getSize(const char*) override;
|
|
void setLanguageMask(uint32_t) override;
|
|
uint32_t getLanguageMask() override;
|
|
bool hasRequests() override;
|
|
void processRequest() override;
|
|
void processAll() override;
|
|
};
|
|
|
|
}
|