22 #ifndef BACKENDS_FS_ROMFSSTREAM_H 23 #define BACKENDS_FS_ROMFSSTREAM_H 25 #include "common/scummsys.h" 26 #include "common/noncopyable.h" 27 #include "common/stream.h" 28 #include "common/str.h" 45 bool err()
const override;
47 bool eos()
const override;
49 uint32
write(
const void *dataPtr, uint32 dataSize)
override;
50 bool flush()
override;
52 int64
pos()
const override;
53 int64
size()
const override;
54 bool seek(int64 offs,
int whence = SEEK_SET)
override;
55 uint32
read(
void *dataPtr, uint32 dataSize)
override;
int64 size() const override
void * _handle
Definition: romfsstream.h:33
bool seek(int64 offs, int whence=SEEK_SET) override
Definition: noncopyable.h:39
bool eos() const override
uint32 read(void *dataPtr, uint32 dataSize) override
static RomfsStream * makeFromPath(const Common::String &path, bool writeMode)
bool err() const override
int64 pos() const override
uint32 write(const void *dataPtr, uint32 dataSize) override
Definition: romfsstream.h:30