blob: b4bc6dededcf611907d41795c1171c944a13c6a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// GZipRegister.cpp
#include "StdAfx.h"
#include "../../Common/RegisterArc.h"
#include "GZipHandler.h"
static IInArchive *CreateArc() { return new NArchive::NGZip::CHandler; }
#ifndef EXTRACT_ONLY
static IOutArchive *CreateArcOut() { return new NArchive::NGZip::CHandler; }
#else
#define CreateArcOut 0
#endif
static CArcInfo g_ArcInfo =
{ L"GZip", L"gz gzip tgz tpz", L"* * .tar .tar", 0xEF, { 0x1F, 0x8B, 8 }, 3, true, CreateArc, CreateArcOut };
REGISTER_ARC(GZip)
|