1// PpmdRegister.cpp
2// 2009-05-30 : Igor Pavlov : Public domain
3
4#include "StdAfx.h"
5
6#include "../Common/RegisterCodec.h"
7
8#include "PpmdDecoder.h"
9
10static void *CreateCodec() { return (void *)(ICompressCoder *)(new NCompress::NPpmd::CDecoder); }
11#ifndef EXTRACT_ONLY
12#include "PpmdEncoder.h"
13static void *CreateCodecOut() { return (void *)(ICompressCoder *)(new NCompress::NPpmd::CEncoder);  }
14#else
15#define CreateCodecOut 0
16#endif
17
18static CCodecInfo g_CodecInfo =
19  { CreateCodec, CreateCodecOut, 0x030401, L"PPMD", 1, false };
20
21REGISTER_CODEC(PPMD)
22