diff options
author | Alexis211 <alexis211@gmail.com> | 2009-09-13 15:14:13 +0200 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-09-13 15:14:13 +0200 |
commit | 0b760a50b5aee05f1f34c1599b547c8b78d1d737 (patch) | |
tree | 8271581cdf49d2eef265d31bd9e1fc30c0ecaf4f /Source/Kernel/VFS/FileNode.proto.h | |
parent | b808b613a5c7e0b6c6c45b28f7f0169dc13afaa2 (diff) | |
download | Melon-0b760a50b5aee05f1f34c1599b547c8b78d1d737.tar.gz Melon-0b760a50b5aee05f1f34c1599b547c8b78d1d737.zip |
Ram file system seems to work \o/
Diffstat (limited to 'Source/Kernel/VFS/FileNode.proto.h')
-rw-r--r-- | Source/Kernel/VFS/FileNode.proto.h | 24 |
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 |