From f3e42ffa39cde156438b6293d0eb8335d0a18fe5 Mon Sep 17 00:00:00 2001 From: Lars Persson Date: Sun, 20 Jan 2008 12:50:27 +0000 Subject: - Updated version numbers, Implemented exists properly, Added two engines in main_features.inl svn-id: r30586 --- backends/fs/symbian/symbian-fs.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'backends/fs/symbian') 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; } -- cgit v1.2.3