From b09a5c7cea5b4eb32b3318c97b046f018b297d8c Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 3 Oct 2023 23:52:51 +0800 Subject: ... --- include/cru/common/io/FileStream.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/cru/common/io/FileStream.h') 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 -- cgit v1.2.3