misc/libphysfs/lzma/CPP/7zip/Compress/LZMA/LZMARegister.cpp
author Wuzzy <almikes@aol.com>
Sat, 15 Apr 2017 23:21:13 +0200
changeset 12265 0641da8c22ee
parent 12218 bb5522e88ab2
permissions -rw-r--r--
Add two main menu tips regarding mission panel

// LZMARegister.cpp

#include "StdAfx.h"

#include "../../Common/RegisterCodec.h"

#include "LZMADecoder.h"
static void *CreateCodec() { return (void *)(ICompressCoder *)(new NCompress::NLZMA::CDecoder); }
#ifndef EXTRACT_ONLY
#include "LZMAEncoder.h"
static void *CreateCodecOut() { return (void *)(ICompressCoder *)(new NCompress::NLZMA::CEncoder);  }
#else
#define CreateCodecOut 0
#endif

static CCodecInfo g_CodecInfo =
  { CreateCodec, CreateCodecOut, 0x030101, L"LZMA", 1, false };

REGISTER_CODEC(LZMA)