3 #ifndef __7Z_FOLDEROUTSTREAM_H
4 #define __7Z_FOLDEROUTSTREAM_H
8 #include "../../IStream.h"
9 #include "../IArchive.h"
10 #include "../Common/OutStreamWithCRC.h"
15 class CFolderOutStream
:
16 public ISequentialOutStream
,
24 STDMETHOD(Write
)(const void *data
, UInt32 size
, UInt32
*processedSize
);
27 COutStreamWithCRC
*_outStreamWithHashSpec
;
28 CMyComPtr
<ISequentialOutStream
> _outStreamWithHash
;
29 const CArchiveDatabaseEx
*_archiveDatabase
;
30 const CBoolVector
*_extractStatuses
;
34 // UInt64 _currentDataPos;
35 CMyComPtr
<IArchiveExtractCallback
> _extractCallback
;
42 HRESULT
WriteEmptyFiles();
45 const CArchiveDatabaseEx
*archiveDatabase
,
48 const CBoolVector
*extractStatuses
,
49 IArchiveExtractCallback
*extractCallback
,
51 HRESULT
FlushCorrupted(Int32 resultEOperationResult
);
52 HRESULT
WasWritingFinished();