| 30 | class FileAdapter : public filesystem::IFile { |
| 31 | public: |
| 32 | FileAdapter(Plugin& extension_, void* handle_) |
| 33 | : plugin{extension_}, handle{handle_} {} |
| 34 | ~FileAdapter() override { plugin.FileDestroy(handle); } |
| 35 | |
| 36 | io::IStream* Open(filesystem::FileOpenFlags flags) override { |
nothing calls this directly
no outgoing calls
no test coverage detected