aboutsummaryrefslogtreecommitdiff
path: root/include/cru/common/io/FileStream.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-10-03 23:52:51 +0800
committercrupest <crupest@outlook.com>2023-10-04 00:13:26 +0800
commitb09a5c7cea5b4eb32b3318c97b046f018b297d8c (patch)
tree46e21a6536fd0dcbca1bb0e3ec3a55cc17c110e6 /include/cru/common/io/FileStream.h
parent21985bda6c2631c1b78d3a0e9987f67dffca5bad (diff)
downloadcru-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.h5
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