diff options
author | chai <chaifix@163.com> | 2018-05-17 21:02:44 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-05-17 21:02:44 +0800 |
commit | 38818e2abc0fb4e8f71f2c262f10ef5cb7fc4710 (patch) | |
tree | 5dc25dc50d0436f6e9be10d8956feed51679de95 /src/libjin/fs | |
parent | 9edf2ba9fe8524976d2f298767fff0149e8c0d41 (diff) |
change file tree
Diffstat (limited to 'src/libjin/fs')
-rw-r--r-- | src/libjin/fs/buffer.h | 12 | ||||
-rw-r--r-- | src/libjin/fs/fs.h | 7 |
2 files changed, 14 insertions, 5 deletions
diff --git a/src/libjin/fs/buffer.h b/src/libjin/fs/buffer.h index d727d84..dfdea21 100644 --- a/src/libjin/fs/buffer.h +++ b/src/libjin/fs/buffer.h @@ -1,3 +1,6 @@ +#ifndef __JIN_BUFFER_H +#define __JIN_BUFFER_H + #include <string.h> namespace jin @@ -5,9 +8,6 @@ namespace jin namespace fs { - /** - * A file data buffer. - */ class Buffer { public: @@ -30,7 +30,7 @@ namespace fs public: - // data position in memory + // data position in memory void* data; // data buffer size @@ -39,4 +39,6 @@ namespace fs }; } -}
\ No newline at end of file +} + +#endif
\ No newline at end of file diff --git a/src/libjin/fs/fs.h b/src/libjin/fs/fs.h new file mode 100644 index 0000000..6fbf33f --- /dev/null +++ b/src/libjin/fs/fs.h @@ -0,0 +1,7 @@ +#ifndef __JIN_FS_H +#define __JIN_FS_H + +#include "buffer.h" +#include "filesystem.h" + +#endif
\ No newline at end of file |