aboutsummaryrefslogtreecommitdiff
path: root/include/cru/common/io/Stream.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-01-15 18:34:55 +0800
committercrupest <crupest@outlook.com>2022-01-15 18:34:55 +0800
commit76b631144e008006efb3894c16e6fd04608d0b68 (patch)
treef676581ac216e910124dd42bd748d9f4a963217a /include/cru/common/io/Stream.hpp
parentae638fc0c2cad09ae0ab69707852588aedc6e0df (diff)
downloadcru-76b631144e008006efb3894c16e6fd04608d0b68.tar.gz
cru-76b631144e008006efb3894c16e6fd04608d0b68.tar.bz2
cru-76b631144e008006efb3894c16e6fd04608d0b68.zip
...
Diffstat (limited to 'include/cru/common/io/Stream.hpp')
-rw-r--r--include/cru/common/io/Stream.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cru/common/io/Stream.hpp b/include/cru/common/io/Stream.hpp
index e13e5388..5fa307ed 100644
--- a/include/cru/common/io/Stream.hpp
+++ b/include/cru/common/io/Stream.hpp
@@ -32,5 +32,7 @@ class CRU_BASE_API Stream : public Object {
virtual Index Write(const std::byte* buffer, Index size);
virtual void Flush() = 0;
+
+ virtual void Close();
};
} // namespace cru::io