Turned SymbianFilesystemFactory from a singleton into a normal class; adapted symbian backend accordingly
svn-id: r34101
This commit is contained in:
parent
79751b07ae
commit
16e02f051d
5 changed files with 6 additions and 19 deletions
|
@ -123,10 +123,6 @@ void OSystem_SDL_Symbian::setFeatureState(Feature f, bool enable) {
|
|||
}
|
||||
}
|
||||
|
||||
FilesystemFactory *OSystem_SDL_Symbian::getFilesystemFactory() {
|
||||
return &SymbianFilesystemFactory::instance();
|
||||
}
|
||||
|
||||
static Common::String getDefaultConfigFileName() {
|
||||
char configFile[MAXPATHLEN];
|
||||
strcpy(configFile, Symbian::GetExecutablePath());
|
||||
|
@ -164,6 +160,8 @@ void OSystem_SDL_Symbian::initBackend() {
|
|||
actions->initInstanceMain(this);
|
||||
actions->loadMapping();
|
||||
initZones();
|
||||
|
||||
_fsFactory = new SymbianFilesystemFactory();
|
||||
}
|
||||
|
||||
OSystem_SDL_Symbian::~OSystem_SDL_Symbian() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue