Files
easy7zip/CPP/7zip/Archive/Zip/ZipRegister.cpp
Igor Pavlov 829409452d 9.04 beta
2016-05-28 00:15:59 +01:00

19 lines
476 B
C++
Executable File

// ZipRegister.cpp
#include "StdAfx.h"
#include "../../Common/RegisterArc.h"
#include "ZipHandler.h"
static IInArchive *CreateArc() { return new NArchive::NZip::CHandler; }
#ifndef EXTRACT_ONLY
static IOutArchive *CreateArcOut() { return new NArchive::NZip::CHandler; }
#else
#define CreateArcOut 0
#endif
static CArcInfo g_ArcInfo =
{ L"Zip", L"zip jar xpi odt ods docx xlsx", 0, 1, { 0x50, 0x4B, 0x03, 0x04 }, 4, false, CreateArc, CreateArcOut };
REGISTER_ARC(Zip)