summaryrefslogtreecommitdiff
path: root/src/kernel/vfs/node.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/vfs/node.h')
-rw-r--r--src/kernel/vfs/node.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/vfs/node.h b/src/kernel/vfs/node.h
index 9005d55..b0ade41 100644
--- a/src/kernel/vfs/node.h
+++ b/src/kernel/vfs/node.h
@@ -7,6 +7,7 @@
#include <task/task.h>
class display;
+class vt;
class node {
public:
@@ -25,9 +26,11 @@ class node {
virtual node* get_child(char* name) { return 0; }
virtual int add_child(char* name, node *child) { return E_NOT_IMPLEMENTED; }
virtual size_t get_size() { return 0; }
+ virtual int link(node* other, int mode) { return E_NOT_IMPLEMENTED; }
// kind of like dynamic_cast'int these things
virtual display *as_display() { return 0; }
+ virtual vt *as_vt() { return 0; }
};
void vfs_setup();