aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/ps2
diff options
context:
space:
mode:
authorMax Horn2006-05-03 11:13:21 +0000
committerMax Horn2006-05-03 11:13:21 +0000
commit9c1fc023281d1ea3789dcdb2cf7451baaf3d061f (patch)
tree59b663dd85e8ab02c90448ce4b3cc515672e24b9 /backends/fs/ps2
parent2ab62d8b02f8ebd7d0ac69abdba52357f41ebb4f (diff)
downloadscummvm-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/ps2')
-rw-r--r--backends/fs/ps2/ps2-fs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/fs/ps2/ps2-fs.cpp b/backends/fs/ps2/ps2-fs.cpp
index 6a18a8ef02..980df347af 100644
--- a/backends/fs/ps2/ps2-fs.cpp
+++ b/backends/fs/ps2/ps2-fs.cpp
@@ -45,7 +45,7 @@ public:
virtual bool isDirectory() const { return _isDirectory; }
virtual String path() const { return _path; }
- virtual FSList listDir(ListMode) const;
+ virtual AbstractFSList listDir(ListMode) const;
virtual AbstractFilesystemNode *parent() const;
virtual AbstractFilesystemNode *child(const String &name) const;
@@ -79,10 +79,10 @@ Ps2FilesystemNode::Ps2FilesystemNode(const String &path) {
_isDirectory = true;
}
-FSList Ps2FilesystemNode::listDir(ListMode mode) const {
+AbstractFSList Ps2FilesystemNode::listDir(ListMode mode) const {
assert(_isDirectory);
- FSList myList;
+ AbstractFSList myList;
struct TocEntry tocEntries[MAX_LIST_ENTRIES];
int files;
@@ -112,7 +112,7 @@ FSList Ps2FilesystemNode::listDir(ListMode mode) const {
dirEntry._path += tocEntries[fCnt].filename;
dirEntry._displayName = tocEntries[fCnt].filename;
- myList.push_back(wrap(new Ps2FilesystemNode(dirEntry)));
+ myList.push_back(new Ps2FilesystemNode(dirEntry));
}
}
return myList;