Files
easy7zip/CPP/7zip/Archive/GZip/GZipRegister.cpp
Igor Pavlov 173c07e166 4.59 beta
2016-05-28 00:15:56 +01:00

19 lines
476 B
C++
Executable File

// 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)