mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-12 07:09:54 -06:00
4.63
This commit is contained in:
committed by
Kornel Lesiński
parent
c1f1243a70
commit
3a524e5ba2
21
CPP/7zip/Compress/DeflateRegister.cpp
Executable file
21
CPP/7zip/Compress/DeflateRegister.cpp
Executable file
@@ -0,0 +1,21 @@
|
||||
// DeflateRegister.cpp
|
||||
|
||||
#include "StdAfx.h"
|
||||
|
||||
#include "../Common/RegisterCodec.h"
|
||||
|
||||
#include "DeflateDecoder.h"
|
||||
|
||||
static void *CreateCodecDeflate() { return (void *)(ICompressCoder *)(new NCompress::NDeflate::NDecoder::CCOMCoder); }
|
||||
|
||||
#if !defined(EXTRACT_ONLY) && !defined(DEFLATE_EXTRACT_ONLY)
|
||||
#include "DeflateEncoder.h"
|
||||
static void *CreateCodecOutDeflate() { return (void *)(ICompressCoder *)(new NCompress::NDeflate::NEncoder::CCOMCoder); }
|
||||
#else
|
||||
#define CreateCodecOutDeflate 0
|
||||
#endif
|
||||
|
||||
static CCodecInfo g_CodecInfo =
|
||||
{ CreateCodecDeflate, CreateCodecOutDeflate, 0x040108, L"Deflate", 1, false };
|
||||
|
||||
REGISTER_CODEC(Deflate)
|
||||
Reference in New Issue
Block a user