Add symbian implementations to create read/write configfile handles

svn-id: r34363
This commit is contained in:
Lars Persson 2008-09-05 19:03:30 +00:00
parent f88ad12952
commit 5388ecf722
2 changed files with 13 additions and 0 deletions

View File

@ -130,6 +130,16 @@ static Common::String getDefaultConfigFileName() {
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 },

View File

@ -74,6 +74,9 @@ protected:
//
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