mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-13 08:11:33 -06:00
9.04 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
8874e4fbc9
commit
829409452d
20
CPP/7zip/Compress/Lzma2Register.cpp
Executable file
20
CPP/7zip/Compress/Lzma2Register.cpp
Executable file
@@ -0,0 +1,20 @@
|
||||
// Lzma2Register.cpp
|
||||
|
||||
#include "StdAfx.h"
|
||||
|
||||
#include "../Common/RegisterCodec.h"
|
||||
|
||||
#include "Lzma2Decoder.h"
|
||||
|
||||
static void *CreateCodec() { return (void *)(ICompressCoder *)(new NCompress::NLzma2::CDecoder); }
|
||||
#ifndef EXTRACT_ONLY
|
||||
#include "Lzma2Encoder.h"
|
||||
static void *CreateCodecOut() { return (void *)(ICompressCoder *)(new NCompress::NLzma2::CEncoder); }
|
||||
#else
|
||||
#define CreateCodecOut 0
|
||||
#endif
|
||||
|
||||
static CCodecInfo g_CodecInfo =
|
||||
{ CreateCodec, CreateCodecOut, 0x21, L"LZMA2", 1, false };
|
||||
|
||||
REGISTER_CODEC(LZMA2)
|
||||
Reference in New Issue
Block a user