22 #ifndef LUA_SCUMMVM_FILE_H 23 #define LUA_SCUMMVM_FILE_H 25 #include "common/str.h" 26 #include "common/file.h" 35 virtual bool eof()
const = 0;
36 virtual size_t read(
void *ptr,
size_t size,
size_t count) = 0;
37 virtual size_t write(
const char *ptr,
size_t count) = 0;
52 void setupConfigFile();
62 bool eof()
const override {
return _readPos >= _readData.size(); }
63 size_t read(
void *ptr,
size_t size,
size_t count)
override;
64 size_t write(
const char *ptr,
size_t count)
override;
76 bool eof()
const override;
77 size_t read(
void *ptr,
size_t size,
size_t count)
override;
78 size_t write(
const char *ptr,
size_t count)
override;
Definition: scummvm_file.h:44
Definition: lua_persistence.h:57
Definition: scummvm_file.h:30
Definition: scummvm_file.h:67