aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/fs.h
diff options
context:
space:
mode:
authorMax Horn2005-02-06 18:37:23 +0000
committerMax Horn2005-02-06 18:37:23 +0000
commita1b058897d0fcfe1ae7a372ed6d779fdacaeeaa3 (patch)
treeb81024fd3401dc6b3c155c57cd1c3269686d8854 /backends/fs/fs.h
parent028cc42f2b8e453be5d6f0dd2a65556dbf3d6911 (diff)
downloadscummvm-rg350-a1b058897d0fcfe1ae7a372ed6d779fdacaeeaa3.tar.gz
scummvm-rg350-a1b058897d0fcfe1ae7a372ed6d779fdacaeeaa3.tar.bz2
scummvm-rg350-a1b058897d0fcfe1ae7a372ed6d779fdacaeeaa3.zip
Remove the OSX-restriction on FilesystemNode::getNodeForPath() for now (I don't like it, but until a proper solution is in place, it seems to be the best thing to do)
svn-id: r16743
Diffstat (limited to 'backends/fs/fs.h')
-rw-r--r--backends/fs/fs.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/backends/fs/fs.h b/backends/fs/fs.h
index f0c568ebc3..302027ba45 100644
--- a/backends/fs/fs.h
+++ b/backends/fs/fs.h
@@ -166,23 +166,25 @@ private:
*/
static AbstractFilesystemNode *getRoot();
-#ifdef MACOSX
/*
* 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);
-#endif
public:
FilesystemNode();
FilesystemNode(const FilesystemNode &node);
-#ifdef MACOSX
FilesystemNode(const String &path);
-#endif
~FilesystemNode();
FilesystemNode &operator =(const FilesystemNode &node);