1 // 7zRegister.cpp 2 3 #include "StdAfx.h" 4 5 #include "../../Common/RegisterArc.h" 6 7 #include "7zHandler.h" 8 9 namespace NArchive { 10 namespace N7z { 11 12 static Byte k_Signature_Dec[kSignatureSize] = {'7' + 1, 'z', 0xBC, 0xAF, 0x27, 0x1C}; 13 14 REGISTER_ARC_IO_DECREMENT_SIG( 15 "7z", "7z", NULL, 7, 16 k_Signature_Dec, 17 0, 18 NArcInfoFlags::kFindSignature 19 | NArcInfoFlags::kCTime 20 | NArcInfoFlags::kATime 21 | NArcInfoFlags::kMTime 22 | NArcInfoFlags::kMTime_Default 23 , TIME_PREC_TO_ARC_FLAGS_MASK(NFileTimeType::kWindows) 24 | TIME_PREC_TO_ARC_FLAGS_TIME_DEFAULT(NFileTimeType::kWindows) 25 , NULL); 26 27 }} 28