cdcEngineDXHR/cdcFile/FileSystemLayer.h

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;
};
}