[Scummvm-cvs-logs] SF.net SVN: scummvm:[34363] scummvm/trunk/backends/platform/symbian/src
anotherguest at users.sourceforge.net
anotherguest at users.sourceforge.net
Fri Sep 5 21:03:31 CEST 2008
Revision: 34363
http://scummvm.svn.sourceforge.net/scummvm/?rev=34363&view=rev
Author: anotherguest
Date: 2008-09-05 19:03:30 +0000 (Fri, 05 Sep 2008)
Log Message:
-----------
Add symbian implementations to create read/write configfile handles
Modified Paths:
--------------
scummvm/trunk/backends/platform/symbian/src/SymbianOS.cpp
scummvm/trunk/backends/platform/symbian/src/SymbianOS.h
Modified: scummvm/trunk/backends/platform/symbian/src/SymbianOS.cpp
===================================================================
--- scummvm/trunk/backends/platform/symbian/src/SymbianOS.cpp 2008-09-05 18:49:13 UTC (rev 34362)
+++ scummvm/trunk/backends/platform/symbian/src/SymbianOS.cpp 2008-09-05 19:03:30 UTC (rev 34363)
@@ -130,6 +130,16 @@
return configFile;
}
+Common::SeekableReadStream *OSystem_SDL_Symbian::openConfigFileForReading() {
+ Common::FilesystemNode file(getDefaultConfigFileName());
+ return file.openForReading();
+}
+
+Common::WriteStream *OSystem_SDL_Symbian::openConfigFileForWriting() {
+ Common::FilesystemNode file(getDefaultConfigFileName());
+ return file.openForWriting();
+}
+
OSystem_SDL_Symbian::zoneDesc OSystem_SDL_Symbian::_zones[TOTAL_ZONES] = {
{ 0, 0, 320, 145 },
{ 0, 145, 150, 55 },
Modified: scummvm/trunk/backends/platform/symbian/src/SymbianOS.h
===================================================================
--- scummvm/trunk/backends/platform/symbian/src/SymbianOS.h 2008-09-05 18:49:13 UTC (rev 34362)
+++ scummvm/trunk/backends/platform/symbian/src/SymbianOS.h 2008-09-05 19:03:30 UTC (rev 34363)
@@ -74,6 +74,9 @@
//
static void symbianMixCallback(void *s, byte *samples, int len);
+
+ virtual Common::SeekableReadStream *openConfigFileForReading();
+ virtual Common::WriteStream *openConfigFileForWriting();
public:
// vibration support
#ifdef USE_VIBRA_SE_PXXX
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list