equal
deleted
inserted
replaced
|
1 // LZMARegister.cpp |
|
2 |
|
3 #include "StdAfx.h" |
|
4 |
|
5 #include "../../Common/RegisterCodec.h" |
|
6 |
|
7 #include "LZMADecoder.h" |
|
8 static void *CreateCodec() { return (void *)(ICompressCoder *)(new NCompress::NLZMA::CDecoder); } |
|
9 #ifndef EXTRACT_ONLY |
|
10 #include "LZMAEncoder.h" |
|
11 static void *CreateCodecOut() { return (void *)(ICompressCoder *)(new NCompress::NLZMA::CEncoder); } |
|
12 #else |
|
13 #define CreateCodecOut 0 |
|
14 #endif |
|
15 |
|
16 static CCodecInfo g_CodecInfo = |
|
17 { CreateCodec, CreateCodecOut, 0x030101, L"LZMA", 1, false }; |
|
18 |
|
19 REGISTER_CODEC(LZMA) |