1 // Lzma2Register.cpp 2 3 #include "StdAfx.h" 4 5 #include "../Common/RegisterCodec.h" 6 7 #include "Lzma2Decoder.h" 8 9 #ifndef EXTRACT_ONLY 10 #include "Lzma2Encoder.h" 11 #endif 12 13 namespace NCompress { 14 namespace NLzma2 { 15 16 REGISTER_CODEC_E(LZMA2, 17 CDecoder(), 18 CEncoder(), 19 0x21, 20 "LZMA2") 21 22 }} 23