mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-17 06:11:50 -06:00
15.05
This commit is contained in:
committed by
Kornel Lesiński
parent
0713a3ab80
commit
54490d51d5
@@ -6,15 +6,12 @@
|
||||
|
||||
#include "LzmaDecoder.h"
|
||||
|
||||
static void *CreateCodec() { return (void *)(ICompressCoder *)(new NCompress::NLzma::CDecoder); }
|
||||
#ifndef EXTRACT_ONLY
|
||||
#include "LzmaEncoder.h"
|
||||
static void *CreateCodecOut() { return (void *)(ICompressCoder *)(new NCompress::NLzma::CEncoder); }
|
||||
#else
|
||||
#define CreateCodecOut 0
|
||||
#endif
|
||||
|
||||
static CCodecInfo g_CodecInfo =
|
||||
{ CreateCodec, CreateCodecOut, 0x030101, L"LZMA", 1, false };
|
||||
|
||||
REGISTER_CODEC(LZMA)
|
||||
REGISTER_CODEC_E(LZMA,
|
||||
NCompress::NLzma::CDecoder(),
|
||||
NCompress::NLzma::CEncoder(),
|
||||
0x30101,
|
||||
"LZMA")
|
||||
|
||||
Reference in New Issue
Block a user