1 // 7zAesRegister.cpp
2 
3 #include "StdAfx.h"
4 
5 #include "../Common/RegisterCodec.h"
6 #include "7zAes.h"
7 
CreateCodec()8 static void *CreateCodec() { return (void *)(ICompressFilter *)(new NCrypto::NSevenZ::CDecoder()); }
9 #ifndef EXTRACT_ONLY
CreateCodecOut()10 static void *CreateCodecOut() { return (void *)(ICompressFilter *)(new NCrypto::NSevenZ::CEncoder()); }
11 #else
12 #define CreateCodecOut 0
13 #endif
14 
15 static CCodecInfo g_CodecInfo =
16   { CreateCodec, CreateCodecOut, 0x06F10701, L"7zAES", 1, true };
17 
18 REGISTER_CODEC(7zAES)
19