mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-07 01:15:00 -06:00
19 lines
486 B
C++
19 lines
486 B
C++
// 7zAesRegister.cpp
|
|
|
|
#include "StdAfx.h"
|
|
|
|
#include "../Common/RegisterCodec.h"
|
|
#include "7zAes.h"
|
|
|
|
static void *CreateCodec() { return (void *)(ICompressFilter *)(new NCrypto::NSevenZ::CDecoder()); }
|
|
#ifndef EXTRACT_ONLY
|
|
static void *CreateCodecOut() { return (void *)(ICompressFilter *)(new NCrypto::NSevenZ::CEncoder()); }
|
|
#else
|
|
#define CreateCodecOut 0
|
|
#endif
|
|
|
|
static CCodecInfo g_CodecInfo =
|
|
{ CreateCodec, CreateCodecOut, 0x06F10701, L"7zAES", 1, true };
|
|
|
|
REGISTER_CODEC(7zAES)
|