summaryrefslogtreecommitdiff
path: root/src/user/lib/fwik/include/IO/Node.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/lib/fwik/include/IO/Node.h')
-rw-r--r--src/user/lib/fwik/include/IO/Node.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/user/lib/fwik/include/IO/Node.h b/src/user/lib/fwik/include/IO/Node.h
deleted file mode 100644
index 6b5b063..0000000
--- a/src/user/lib/fwik/include/IO/Node.h
+++ /dev/null
@@ -1,32 +0,0 @@
-#ifndef DEF_FWIK_IO_NODE_H
-#define DEF_FWIK_IO_NODE_H
-
-#include <tce/syscall.h>
-#include <tce/vfs.h>
-#include <stdio.h>
-#include <cpp.h>
-
-#include <String.h>
-
-class Term;
-class Dir;
-class Node {
- public:
- FILE fd;
- file_info info;
- int error; // will be 0 if this is a valid file descriptor
-
- Node(FILE f);
- Node(const char* filename, int mode);
- Node(FILE parent, const char* filename, int mode);
- virtual ~Node() {}
-
- void close();
-
- virtual Term* as_term() { return 0; }
- virtual Dir* as_dir() { return 0; }
-};
-
-String path_cat(const String &a, const String &b, bool trailing_slash = true);
-
-#endif