diff options
Diffstat (limited to 'CPP/7zip/Archive/7z/7zFolderOutStream.h')
-rwxr-xr-x | CPP/7zip/Archive/7z/7zFolderOutStream.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/CPP/7zip/Archive/7z/7zFolderOutStream.h b/CPP/7zip/Archive/7z/7zFolderOutStream.h index e6e05b85..f9bb1af4 100755 --- a/CPP/7zip/Archive/7z/7zFolderOutStream.h +++ b/CPP/7zip/Archive/7z/7zFolderOutStream.h @@ -3,17 +3,18 @@ #ifndef __7Z_FOLDER_OUT_STREAM_H #define __7Z_FOLDER_OUT_STREAM_H -#include "7zIn.h" - #include "../../IStream.h" #include "../IArchive.h" #include "../Common/OutStreamWithCRC.h" +#include "7zIn.h" + namespace NArchive { namespace N7z { class CFolderOutStream: public ISequentialOutStream, + public ICompressGetSubStreamSize, public CMyUnknownImp { COutStreamWithCRC *_crcStreamSpec; @@ -34,14 +35,15 @@ class CFolderOutStream: HRESULT CloseFileAndSetResult(); HRESULT ProcessEmptyFiles(); public: - MY_UNKNOWN_IMP - + MY_UNKNOWN_IMP1(ICompressGetSubStreamSize) + CFolderOutStream(); STDMETHOD(Write)(const void *data, UInt32 size, UInt32 *processedSize); + STDMETHOD(GetSubStreamSize)(UInt64 subStream, UInt64 *value); HRESULT Init( - const CArchiveDatabaseEx *archiveDatabase, + const CArchiveDatabaseEx *db, UInt32 ref2Offset, UInt32 startIndex, const CBoolVector *extractStatuses, IArchiveExtractCallback *extractCallback, |