diff options
Diffstat (limited to 'backends/fs')
-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; } |