aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/fs.h
diff options
context:
space:
mode:
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);