mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 17:15:00 -06:00
22 lines
553 B
C++
Executable File
22 lines
553 B
C++
Executable File
// PpmdRegister.cpp
|
|
// 2009-05-30 : Igor Pavlov : Public domain
|
|
|
|
#include "StdAfx.h"
|
|
|
|
#include "../Common/RegisterCodec.h"
|
|
|
|
#include "PpmdDecoder.h"
|
|
|
|
static void *CreateCodec() { return (void *)(ICompressCoder *)(new NCompress::NPpmd::CDecoder); }
|
|
#ifndef EXTRACT_ONLY
|
|
#include "PpmdEncoder.h"
|
|
static void *CreateCodecOut() { return (void *)(ICompressCoder *)(new NCompress::NPpmd::CEncoder); }
|
|
#else
|
|
#define CreateCodecOut 0
|
|
#endif
|
|
|
|
static CCodecInfo g_CodecInfo =
|
|
{ CreateCodec, CreateCodecOut, 0x030401, L"PPMD", 1, false };
|
|
|
|
REGISTER_CODEC(PPMD)
|