diff options
author | Max Horn | 2006-05-03 10:19:05 +0000 |
---|---|---|
committer | Max Horn | 2006-05-03 10:19:05 +0000 |
commit | 8c452daac26b7e2bd38d7ed6e895376c8982ab95 (patch) | |
tree | cba1a2273b9118842200cef788ec05e041e63b20 /backends/fs/fs.h | |
parent | d404b6150af5d7cf716b52dfe274acca81f6ffad (diff) | |
download | scummvm-rg350-8c452daac26b7e2bd38d7ed6e895376c8982ab95.tar.gz scummvm-rg350-8c452daac26b7e2bd38d7ed6e895376c8982ab95.tar.bz2 scummvm-rg350-8c452daac26b7e2bd38d7ed6e895376c8982ab95.zip |
Moved static methods getRoot / getNodeForPath from class FilesystemNode to class AbstractFilesystemNode
svn-id: r22298
Diffstat (limited to 'backends/fs/fs.h')
-rw-r--r-- | backends/fs/fs.h | 23 |
1 files changed, 0 insertions, 23 deletions
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. |