aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/PalmOS
diff options
context:
space:
mode:
authorMax Horn2009-01-23 03:30:40 +0000
committerMax Horn2009-01-23 03:30:40 +0000
commite4b013f616818f6da4cf7a1896f31d1429ef8f04 (patch)
tree81ea72ac2ccb737bd8e2934af9335c1f56f46c18 /backends/platform/PalmOS
parent3e7155981e020bc19540abc8486b816cb57c8a41 (diff)
downloadscummvm-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/PalmOS')
-rw-r--r--backends/platform/PalmOS/Src/be_base.cpp4
-rw-r--r--backends/platform/PalmOS/Src/be_base.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/backends/platform/PalmOS/Src/be_base.cpp b/backends/platform/PalmOS/Src/be_base.cpp
index 9e1fdf39d1..c1a694292f 100644
--- a/backends/platform/PalmOS/Src/be_base.cpp
+++ b/backends/platform/PalmOS/Src/be_base.cpp
@@ -181,12 +181,12 @@ Common::TimerManager *OSystem_PalmBase::getTimerManager() {
#define PALMOS_CONFIG_FILE "/PALM/Programs/ScummVM/scummvm.ini"
-Common::SeekableReadStream *OSystem_PalmBase::openConfigFileForReading() {
+Common::SeekableReadStream *OSystem_PalmBase::createConfigReadStream() {
Common::FSNode file(PALMOS_CONFIG_FILE);
return file.openForReading();
}
-Common::WriteStream *OSystem_PalmBase::openConfigFileForWriting() {
+Common::WriteStream *OSystem_PalmBase::createConfigWriteStream() {
Common::FSNode file(PALMOS_CONFIG_FILE);
return file.openForWriting();
}
diff --git a/backends/platform/PalmOS/Src/be_base.h b/backends/platform/PalmOS/Src/be_base.h
index 009c5a9997..36f8a1d080 100644
--- a/backends/platform/PalmOS/Src/be_base.h
+++ b/backends/platform/PalmOS/Src/be_base.h
@@ -254,8 +254,8 @@ public:
Common::SaveFileManager *getSavefileManager();
Common::TimerManager *getTimerManager();
- virtual Common::SeekableReadStream *openConfigFileForReading();
- virtual Common::WriteStream *openConfigFileForWriting();
+ virtual Common::SeekableReadStream *createConfigReadStream();
+ virtual Common::WriteStream *createConfigWriteStream();
};
#endif