diff options
author | Max Horn | 2006-05-03 11:13:21 +0000 |
---|---|---|
committer | Max Horn | 2006-05-03 11:13:21 +0000 |
commit | 9c1fc023281d1ea3789dcdb2cf7451baaf3d061f (patch) | |
tree | 59b663dd85e8ab02c90448ce4b3cc515672e24b9 /backends/fs/symbian/symbian-fs.cpp | |
parent | 2ab62d8b02f8ebd7d0ac69abdba52357f41ebb4f (diff) | |
download | scummvm-rg350-9c1fc023281d1ea3789dcdb2cf7451baaf3d061f.tar.gz scummvm-rg350-9c1fc023281d1ea3789dcdb2cf7451baaf3d061f.tar.bz2 scummvm-rg350-9c1fc023281d1ea3789dcdb2cf7451baaf3d061f.zip |
Got rid of AbstractFilesystemNode::wrap (begone, evil hack)
svn-id: r22300
Diffstat (limited to 'backends/fs/symbian/symbian-fs.cpp')
-rw-r--r-- | backends/fs/symbian/symbian-fs.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/backends/fs/symbian/symbian-fs.cpp b/backends/fs/symbian/symbian-fs.cpp index 0971b112dc..948c86372e 100644 --- a/backends/fs/symbian/symbian-fs.cpp +++ b/backends/fs/symbian/symbian-fs.cpp @@ -52,7 +52,7 @@ public: virtual bool isDirectory() const { return _isDirectory; } virtual String path() const { return _path; } - virtual FSList listDir(ListMode mode) const; + virtual AbstractFSList listDir(ListMode mode) const; virtual AbstractFilesystemNode *parent() const; virtual AbstractFilesystemNode *child(const String &name) const; }; @@ -105,9 +105,9 @@ SymbianFilesystemNode::SymbianFilesystemNode(const String &path) { _isDirectory = true; } -FSList SymbianFilesystemNode::listDir(ListMode mode) const { +AbstractFSList SymbianFilesystemNode::listDir(ListMode mode) const { assert(_isDirectory); - FSList myList; + AbstractFSList myList; if (_isPseudoRoot) { // Drives enumeration @@ -144,7 +144,7 @@ FSList SymbianFilesystemNode::listDir(ListMode mode) const { entry._isValid = true; entry._isPseudoRoot = false; entry._path = path; - myList.push_back(wrap(new SymbianFilesystemNode(entry))); + myList.push_back(new SymbianFilesystemNode(entry)); } } else { TPtrC8 ptr((const unsigned char*)_path.c_str(),_path.size()); @@ -173,7 +173,7 @@ FSList SymbianFilesystemNode::listDir(ListMode mode) const { if (entry._isDirectory) entry._path += "\\"; - myList.push_back(wrap(new SymbianFilesystemNode(entry))); + myList.push_back(new SymbianFilesystemNode(entry)); } CleanupStack::PopAndDestroy(dirPtr); } |