Mercurial > vba-linux
comparison src/win32/7zip/7z/CPP/7zip/Archive/BZip2/bz2Register.cpp @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:8ced16adf2e1 | 1:f9f4f1b99eed |
---|---|
1 // BZip2Register.cpp | |
2 | |
3 #include "StdAfx.h" | |
4 | |
5 #include "../../Common/RegisterArc.h" | |
6 | |
7 #include "BZip2Handler.h" | |
8 static IInArchive *CreateArc() { return new NArchive::NBZip2::CHandler; } | |
9 #ifndef EXTRACT_ONLY | |
10 static IOutArchive *CreateArcOut() { return new NArchive::NBZip2::CHandler; } | |
11 #else | |
12 #define CreateArcOut 0 | |
13 #endif | |
14 | |
15 static CArcInfo g_ArcInfo = | |
16 { L"BZip2", L"bz2 bzip2 tbz2 tbz", L"* * .tar .tar", 2, { 'B', 'Z', 'h' }, 3, true, CreateArc, CreateArcOut }; | |
17 | |
18 REGISTER_ARC(BZip2) |