diff options
author | crupest <crupest@outlook.com> | 2023-10-03 23:52:51 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-10-04 00:13:26 +0800 |
commit | b09a5c7cea5b4eb32b3318c97b046f018b297d8c (patch) | |
tree | 46e21a6536fd0dcbca1bb0e3ec3a55cc17c110e6 /include/cru/common/io/FileStream.h | |
parent | 21985bda6c2631c1b78d3a0e9987f67dffca5bad (diff) | |
download | cru-b09a5c7cea5b4eb32b3318c97b046f018b297d8c.tar.gz cru-b09a5c7cea5b4eb32b3318c97b046f018b297d8c.tar.bz2 cru-b09a5c7cea5b4eb32b3318c97b046f018b297d8c.zip |
...
Diffstat (limited to 'include/cru/common/io/FileStream.h')
-rw-r--r-- | include/cru/common/io/FileStream.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/cru/common/io/FileStream.h b/include/cru/common/io/FileStream.h index 9176739a..4eab612f 100644 --- a/include/cru/common/io/FileStream.h +++ b/include/cru/common/io/FileStream.h @@ -17,6 +17,11 @@ * (TODO: Currently the problem is that when I implemented for Windows and UNIX * I didn't take this into consideration so I have to fix this inconsistency * later.) + * + * The requirement of FileStream: + * 1. It must be derived from Stream, of course. + * 2. It must have a constructor FileStream(String path, io::OpenFlag flags), so + * user can construct one with the same interface. */ #pragma once |