This commit is contained in:
Igor Pavlov
2005-05-30 00:00:00 +00:00
committed by Kornel Lesiński
parent 8c1b5c7b7e
commit 3c510ba80b
926 changed files with 40559 additions and 23519 deletions

View File

@@ -1,7 +1,5 @@
// Archive/GZipOut.h
#pragma once
#ifndef __ARCHIVE_GZIP_OUT_H
#define __ARCHIVE_GZIP_OUT_H
@@ -15,12 +13,15 @@ namespace NGZip {
class COutArchive
{
CMyComPtr<IOutStream> m_Stream;
HRESULT WriteBytes(const void *buffer, UINT32 size);
CMyComPtr<ISequentialOutStream> m_Stream;
HRESULT WriteBytes(const void *buffer, UInt32 size);
HRESULT WriteByte(Byte value);
HRESULT WriteUInt16(UInt16 value);
HRESULT WriteUInt32(UInt32 value);
public:
void Create(IOutStream *outStream) { m_Stream = outStream; }
void Create(ISequentialOutStream *outStream) { m_Stream = outStream; }
HRESULT WriteHeader(const CItem &item);
HRESULT WritePostInfo(UINT32 crc, UINT32 anUnpackSize);
HRESULT WritePostHeader(const CItem &item);
};
}}