From 8c452daac26b7e2bd38d7ed6e895376c8982ab95 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 3 May 2006 10:19:05 +0000 Subject: Moved static methods getRoot / getNodeForPath from class FilesystemNode to class AbstractFilesystemNode svn-id: r22298 --- backends/fs/fs.h | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'backends/fs/fs.h') diff --git a/backends/fs/fs.h b/backends/fs/fs.h index a2156463d8..a9883accd3 100644 --- a/backends/fs/fs.h +++ b/backends/fs/fs.h @@ -77,29 +77,6 @@ private: FilesystemNode(AbstractFilesystemNode *realNode); - /** - * Returns a special node representing the FS root. The starting point for - * any file system browsing. - * On Unix, this will be simply the node for / (the root directory). - * On Windows, it will be a special node which "contains" all drives (C:, D:, E:). - */ - static AbstractFilesystemNode *getRoot(); - - /** - * Construct a node based on a path; the path is in the same format as it - * would be for calls to fopen(). - * - * I.e. getNodeForPath(oldNode.path()) should create a new node identical to oldNode. - * - * @TODO: This is of course a place where non-portable code easily will sneak - * in, because the format of the path used here is not well-defined. - * So we really should reconsider this API and try to come up with - * something which is more portable but still flexible enough for our - * purposes. - */ - static AbstractFilesystemNode *getNodeForPath(const String &path); - - public: /** * Flag to tell listDir() which kind of files to list. -- cgit v1.2.3