Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ZipRegister.cpp « Zip « Archive « 7zip « CPP - github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2be783e699dde04359fdd0c176d1c4dab022ee21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// ZipRegister.cpp

#include "StdAfx.h"

#include "../../Common/RegisterArc.h"

#include "ZipHandler.h"

namespace NArchive {
namespace NZip {

static const Byte k_Signature[] = {
    4, 0x50, 0x4B, 0x03, 0x04,
    4, 0x50, 0x4B, 0x05, 0x06,
    6, 0x50, 0x4B, 0x30, 0x30, 0x50, 0x4B };

REGISTER_ARC_IO(
  "zip", "zip zipx jar xpi odt ods docx xlsx epub", 0, 1,
  k_Signature,
  0,
  NArcInfoFlags::kFindSignature |
  NArcInfoFlags::kMultiSignature |
  NArcInfoFlags::kUseGlobalOffset,
  IsArc_Zip)
 
}}