Mercurial > vba-linux
comparison src/win32/7zip/7z/CPP/7zip/Compress/BZip2Register.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/RegisterCodec.h" | |
6 | |
7 #include "BZip2Decoder.h" | |
8 | |
9 static void *CreateCodec() { return (void *)(ICompressCoder *)(new NCompress::NBZip2::CDecoder); } | |
10 #if !defined(EXTRACT_ONLY) && !defined(BZIP2_EXTRACT_ONLY) | |
11 #include "BZip2Encoder.h" | |
12 static void *CreateCodecOut() { return (void *)(ICompressCoder *)(new NCompress::NBZip2::CEncoder); } | |
13 #else | |
14 #define CreateCodecOut 0 | |
15 #endif | |
16 | |
17 static CCodecInfo g_CodecInfo = | |
18 { CreateCodec, CreateCodecOut, 0x040202, L"BZip2", 1, false }; | |
19 | |
20 REGISTER_CODEC(BZip2) |