diff options
author | Max Horn | 2006-05-12 21:41:54 +0000 |
---|---|---|
committer | Max Horn | 2006-05-12 21:41:54 +0000 |
commit | 3623a94927a3d01b6df5c75f42af13a348327c2a (patch) | |
tree | 6c6109147fdbf77457c7b107e3d494fc5a66332c /backends/fs/symbian/symbian-fs.cpp | |
parent | ed339aa771fa7f47a737c0599197dbe205804338 (diff) | |
download | scummvm-rg350-3623a94927a3d01b6df5c75f42af13a348327c2a.tar.gz scummvm-rg350-3623a94927a3d01b6df5c75f42af13a348327c2a.tar.bz2 scummvm-rg350-3623a94927a3d01b6df5c75f42af13a348327c2a.zip |
Added the new AbstractFilesystemNode::getCurrentDirectory() method. Also changed the semantics of the FilesystemNode constructors (see also the relevant doxygen comments for explanations). This also fixes bug #1485941.
svn-id: r22424
Diffstat (limited to 'backends/fs/symbian/symbian-fs.cpp')
-rw-r--r-- | backends/fs/symbian/symbian-fs.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/fs/symbian/symbian-fs.cpp b/backends/fs/symbian/symbian-fs.cpp index e73c4d4489..6be8302f98 100644 --- a/backends/fs/symbian/symbian-fs.cpp +++ b/backends/fs/symbian/symbian-fs.cpp @@ -69,6 +69,10 @@ static const char *lastPathComponent(const Common::String &str) { return cur + 1; } +AbstractFilesystemNode *AbstractFilesystemNode::getCurrentDirectory() { + return AbstractFilesystemNode::getRoot(); +} + AbstractFilesystemNode *AbstractFilesystemNode::getRoot() { return new SymbianFilesystemNode(true); } |