mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-11 02:07:09 -06:00
4.20
This commit is contained in:
committed by
Kornel Lesiński
parent
8c1b5c7b7e
commit
3c510ba80b
@@ -1,7 +1,5 @@
|
||||
// Archive/GZip/Header.h
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef __ARCHIVE_GZIP_HEADER_H
|
||||
#define __ARCHIVE_GZIP_HEADER_H
|
||||
|
||||
@@ -10,32 +8,22 @@
|
||||
namespace NArchive {
|
||||
namespace NGZip {
|
||||
|
||||
extern UINT16 kSignature;
|
||||
static const UINT32 kSignatureSize = 2;
|
||||
|
||||
#pragma pack( push, PragmaGZipHeaders)
|
||||
#pragma pack( push, 1)
|
||||
|
||||
namespace NCompressionMethod
|
||||
{
|
||||
enum EType
|
||||
{
|
||||
kDeflated = 8,
|
||||
};
|
||||
}
|
||||
extern UInt16 kSignature;
|
||||
static const UInt32 kSignatureSize = 2;
|
||||
|
||||
namespace NFileHeader
|
||||
{
|
||||
/*
|
||||
struct CBlock
|
||||
{
|
||||
UINT16 Id;
|
||||
BYTE CompressionMethod;
|
||||
BYTE Flags;
|
||||
UINT32 Time;
|
||||
BYTE ExtraFlags;
|
||||
BYTE HostOS;
|
||||
UInt16 Id;
|
||||
Byte CompressionMethod;
|
||||
Byte Flags;
|
||||
UInt32 Time;
|
||||
Byte ExtraFlags;
|
||||
Byte HostOS;
|
||||
};
|
||||
|
||||
*/
|
||||
|
||||
namespace NFlags
|
||||
{
|
||||
@@ -54,12 +42,12 @@ namespace NFileHeader
|
||||
kFastest = 4
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
namespace NCompressionMethod
|
||||
{
|
||||
const BYTE kDefalate = 8;
|
||||
const Byte kDeflate = 8;
|
||||
}
|
||||
|
||||
|
||||
namespace NHostOS
|
||||
{
|
||||
enum EEnum
|
||||
@@ -92,9 +80,6 @@ namespace NFileHeader
|
||||
}
|
||||
}
|
||||
|
||||
#pragma pack(pop)
|
||||
#pragma pack(pop, PragmaGZipHeaders)
|
||||
|
||||
}}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user