summaryrefslogtreecommitdiff
path: root/src/user/lib/fwik/include/IO/Dir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/lib/fwik/include/IO/Dir.h')
-rw-r--r--src/user/lib/fwik/include/IO/Dir.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/user/lib/fwik/include/IO/Dir.h b/src/user/lib/fwik/include/IO/Dir.h
new file mode 100644
index 0000000..bbfe3ed
--- /dev/null
+++ b/src/user/lib/fwik/include/IO/Dir.h
@@ -0,0 +1,24 @@
+#ifndef DEF_FWIK_IO_DIR_H
+#define DEF_FWIK_IO_DIR_H
+
+#include "Node.h"
+#include <String.h>
+
+class Dir : public Node {
+ void _init();
+
+ public:
+ int pos;
+
+ Dir(FILE f);
+ Dir(const char* file, int mode);
+ Dir(const Node &n);
+ virtual ~Dir();
+
+ String read_ent();
+
+ virtual Dir* as_dir() { return this; }
+};
+
+#endif
+