diff options
author | Max Horn | 2009-01-23 03:30:40 +0000 |
---|---|---|
committer | Max Horn | 2009-01-23 03:30:40 +0000 |
commit | e4b013f616818f6da4cf7a1896f31d1429ef8f04 (patch) | |
tree | 81ea72ac2ccb737bd8e2934af9335c1f56f46c18 /backends/platform/iphone | |
parent | 3e7155981e020bc19540abc8486b816cb57c8a41 (diff) | |
download | scummvm-rg350-e4b013f616818f6da4cf7a1896f31d1429ef8f04.tar.gz scummvm-rg350-e4b013f616818f6da4cf7a1896f31d1429ef8f04.tar.bz2 scummvm-rg350-e4b013f616818f6da4cf7a1896f31d1429ef8f04.zip |
Renamed OSystem::openConfigFileForReading & openConfigFileForWriting to createConfigReadStream & createConfigWriteStream, in order to make it clear that the *caller* is responsible for deleting the streams (i.e., 'owns' them)
svn-id: r36013
Diffstat (limited to 'backends/platform/iphone')
-rw-r--r-- | backends/platform/iphone/osys_iphone.cpp | 4 | ||||
-rw-r--r-- | backends/platform/iphone/osys_iphone.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/backends/platform/iphone/osys_iphone.cpp b/backends/platform/iphone/osys_iphone.cpp index c9fd0e4dff..48e95074e0 100644 --- a/backends/platform/iphone/osys_iphone.cpp +++ b/backends/platform/iphone/osys_iphone.cpp @@ -1312,12 +1312,12 @@ OSystem *OSystem_IPHONE_create() { return new OSystem_IPHONE(); } -Common::SeekableReadStream *OSystem_IPHONE::openConfigFileForReading() { +Common::SeekableReadStream *OSystem_IPHONE::createConfigReadStream() { Common::FSNode file(SCUMMVM_PREFS_PATH); return file.openForReading(); } -Common::WriteStream *OSystem_IPHONE::openConfigFileForWriting() { +Common::WriteStream *OSystem_IPHONE::createConfigWriteStream() { Common::FSNode file(SCUMMVM_PREFS_PATH); return file.openForWriting(); } diff --git a/backends/platform/iphone/osys_iphone.h b/backends/platform/iphone/osys_iphone.h index 1f16a8d0c3..746a6e848f 100644 --- a/backends/platform/iphone/osys_iphone.h +++ b/backends/platform/iphone/osys_iphone.h @@ -178,8 +178,8 @@ public: void startSoundsystem(); void stopSoundsystem(); - virtual Common::SeekableReadStream *openConfigFileForReading(); - virtual Common::WriteStream *openConfigFileForWriting(); + virtual Common::SeekableReadStream *createConfigReadStream(); + virtual Common::WriteStream *createConfigWriteStream(); protected: inline void addDirtyRect(int16 x1, int16 y1, int16 w, int16 h); |