summaryrefslogtreecommitdiff
path: root/Source/Kernel/VFS/FileNode.proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Kernel/VFS/FileNode.proto.h')
-rw-r--r--Source/Kernel/VFS/FileNode.proto.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/Source/Kernel/VFS/FileNode.proto.h b/Source/Kernel/VFS/FileNode.proto.h
deleted file mode 100644
index b02c277..0000000
--- a/Source/Kernel/VFS/FileNode.proto.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef DEF_FILENODE_PROTO_H
-#define DEF_FILENODE_PROTO_H
-
-#include <VFS/FSNode.proto.h>
-
-class FileNode : public virtual FSNode {
- protected:
- DirectoryNode() {}
-
- virtual bool FSRead(u64int position, u32int max_length, u8int *data) = 0;
- virtual bool FSWrite(u64int position, u32int length, u8int *data) = 0;
-
- public:
- bool read(u64int position, u32int max_length, u8int *data) {
- return FSRead(position, max_length, data);
- }
-
- bool write(u64int position, u32int length, u8int *data) {
- return FSWrite(position, length, data);
- }
-
-};
-
-#endif