blob: 5e57748f505fa89c706fd2060ac13b12684f83ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// 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)
|