diff options
author | Lars Persson | 2008-01-20 12:50:27 +0000 |
---|---|---|
committer | Lars Persson | 2008-01-20 12:50:27 +0000 |
commit | f3e42ffa39cde156438b6293d0eb8335d0a18fe5 (patch) | |
tree | 628057a95ac4f2567f7662c10ff37d247a1a488d /backends/fs/symbian/symbian-fs.cpp | |
parent | c9b682243821a6310c6299cb2950d60a16a278ae (diff) | |
download | scummvm-rg350-f3e42ffa39cde156438b6293d0eb8335d0a18fe5.tar.gz scummvm-rg350-f3e42ffa39cde156438b6293d0eb8335d0a18fe5.tar.bz2 scummvm-rg350-f3e42ffa39cde156438b6293d0eb8335d0a18fe5.zip |
- Updated version numbers, Implemented exists properly, Added two engines in main_features.inl
svn-id: r30586
Diffstat (limited to 'backends/fs/symbian/symbian-fs.cpp')
-rw-r--r-- | backends/fs/symbian/symbian-fs.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/backends/fs/symbian/symbian-fs.cpp b/backends/fs/symbian/symbian-fs.cpp index 845a03b91b..30b2d12974 100644 --- a/backends/fs/symbian/symbian-fs.cpp +++ b/backends/fs/symbian/symbian-fs.cpp @@ -58,7 +58,13 @@ public: */ SymbianFilesystemNode(const String &path); - virtual bool exists() const { return true; } //FIXME: this is just a stub + virtual bool exists() const { + TFileName fname; + TPtrC8 ptr((const unsigned char*)_path.c_str(),_path.size()); + fname.Copy(ptr); + + return BaflUtils::FileExists(CEikonEnv::Static()->FsSession(), fname); + } //FIXME: this is just a stub virtual String getDisplayName() const { return _displayName; } virtual String getName() const { return _displayName; } virtual String getPath() const { return _path; } |