aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/palmos
diff options
context:
space:
mode:
Diffstat (limited to 'backends/fs/palmos')
-rw-r--r--backends/fs/palmos/palmos-fs.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/backends/fs/palmos/palmos-fs.cpp b/backends/fs/palmos/palmos-fs.cpp
index bebf20ec59..4bbe8e383f 100644
--- a/backends/fs/palmos/palmos-fs.cpp
+++ b/backends/fs/palmos/palmos-fs.cpp
@@ -48,15 +48,15 @@ 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;
private:
- static void addFile (FSList &list, ListMode mode, const Char *base, FileInfoType* find_data);
+ static void addFile (AbstractFSList &list, ListMode mode, const Char *base, FileInfoType* find_data);
};
-void PalmOSFilesystemNode::addFile(FSList &list, ListMode mode, const char *base, FileInfoType* find_data) {
+void PalmOSFilesystemNode::addFile(AbstractFSList &list, ListMode mode, const char *base, FileInfoType* find_data) {
PalmOSFilesystemNode entry;
bool isDirectory;
@@ -75,7 +75,7 @@ void PalmOSFilesystemNode::addFile(FSList &list, ListMode mode, const char *base
entry._isValid = true;
entry._isPseudoRoot = false;
- list.push_back(wrap(new PalmOSFilesystemNode(entry)));
+ list.push_back(new PalmOSFilesystemNode(entry));
}
AbstractFilesystemNode *AbstractFilesystemNode::getRoot() {
@@ -116,8 +116,8 @@ PalmOSFilesystemNode::PalmOSFilesystemNode(const PalmOSFilesystemNode &node) {
_path = node._path;
}
-FSList PalmOSFilesystemNode::listDir(ListMode mode) const {
- FSList myList;
+AbstractFSList PalmOSFilesystemNode::listDir(ListMode mode) const {
+ AbstractFSList myList;
Err e;
Char nameP[256];
FileInfoType desc;