Mercurial > vba-clojure
view src/win32/7zip/7z/CPP/7zip/Crypto/7zAesRegister.cpp @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
line wrap: on
line source
1 // 7zAesRegister.cpp3 #include "StdAfx.h"5 #include "../Common/RegisterCodec.h"6 #include "7zAes.h"8 static void *CreateCodec() { return (void *)(ICompressFilter *)(new NCrypto::NSevenZ::CDecoder()); }9 #ifndef EXTRACT_ONLY10 static void *CreateCodecOut() { return (void *)(ICompressFilter *)(new NCrypto::NSevenZ::CEncoder()); }11 #else12 #define CreateCodecOut 013 #endif15 static CCodecInfo g_CodecInfo =16 { CreateCodec, CreateCodecOut, 0x06F10701, L"7zAES", 1, true };18 REGISTER_CODEC(7zAES)