mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-16 06:11:48 -06:00
4.45 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
d9666cf046
commit
a145bfc7cf
19
CPP/7zip/Compress/Deflate/DeflateRegister.cpp
Executable file
19
CPP/7zip/Compress/Deflate/DeflateRegister.cpp
Executable file
@@ -0,0 +1,19 @@
|
||||
// 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