diff options
Diffstat (limited to 'engines/sword25/util/lua/scummvm_file.h')
-rw-r--r-- | engines/sword25/util/lua/scummvm_file.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/sword25/util/lua/scummvm_file.h b/engines/sword25/util/lua/scummvm_file.h index 8ecfd34498..a4cbd2a6cf 100644 --- a/engines/sword25/util/lua/scummvm_file.h +++ b/engines/sword25/util/lua/scummvm_file.h @@ -35,13 +35,20 @@ class Sword25FileProxy { private: Common::String _readData; uint _readPos; + Common::String _settings; void setupConfigFile(); Common::String getLanguage(); + void setLanguage(const Common::String &lang); + void writeSettings(); + void updateSetting(const Common::String &setting, const Common::String &value); public: Sword25FileProxy(const Common::String &filename, const Common::String &mode); + ~Sword25FileProxy(); + bool eof() const { return _readPos >= _readData.size(); } size_t read(void *ptr, size_t size, size_t count); + size_t write(const char *ptr, size_t count); }; } // End of namespace Sword25 |