From 5b39dc76f1bc82f941d5c800ab9f34407a06b53a Mon Sep 17 00:00:00 2001 From: Igor Pavlov <87184205+ip7z@users.noreply.github.com> Date: Wed, 21 Jun 2023 00:00:00 +0000 Subject: 23.01 --- CPP/Common/StdInStream.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'CPP/Common/StdInStream.h') diff --git a/CPP/Common/StdInStream.h b/CPP/Common/StdInStream.h index 71578eb..81ca3bf 100644 --- a/CPP/Common/StdInStream.h +++ b/CPP/Common/StdInStream.h @@ -1,7 +1,7 @@ // Common/StdInStream.h -#ifndef __COMMON_STD_IN_STREAM_H -#define __COMMON_STD_IN_STREAM_H +#ifndef ZIP7_INC_COMMON_STD_IN_STREAM_H +#define ZIP7_INC_COMMON_STD_IN_STREAM_H #include @@ -11,20 +11,22 @@ class CStdInStream { FILE *_stream; - bool _streamIsOpen; + // bool _streamIsOpen; public: int CodePage; CStdInStream(FILE *stream = NULL): _stream(stream), - _streamIsOpen(false), + // _streamIsOpen(false), CodePage(-1) - {}; + {} + /* ~CStdInStream() { Close(); } bool Open(LPCTSTR fileName) throw(); bool Close() throw(); + */ // returns: // false, if ZERO character in stream -- cgit v1.2.3-55-g6feb