view src/win32/7zip/7z/CPP/7zip/Archive/GZip/GZipRegister.cpp @ 1:f9f4f1b99eed

importing src directory
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:31:27 -0600
parents
children
line wrap: on
line source
1 // GZipRegister.cpp
3 #include "StdAfx.h"
5 #include "../../Common/RegisterArc.h"
7 #include "GZipHandler.h"
8 static IInArchive *CreateArc() { return new NArchive::NGZip::CHandler; }
9 #ifndef EXTRACT_ONLY
10 static IOutArchive *CreateArcOut() { return new NArchive::NGZip::CHandler; }
11 #else
12 #define CreateArcOut 0
13 #endif
15 static CArcInfo g_ArcInfo =
16 { L"GZip", L"gz gzip tgz tpz", L"* * .tar .tar", 0xEF, { 0x1F, 0x8B, 8 }, 3, true, CreateArc, CreateArcOut };
18 REGISTER_ARC(GZip)