1370b324cSopenharmony_ci// 7zRegister.cpp 2370b324cSopenharmony_ci 3370b324cSopenharmony_ci#include "StdAfx.h" 4370b324cSopenharmony_ci 5370b324cSopenharmony_ci#include "../../Common/RegisterArc.h" 6370b324cSopenharmony_ci 7370b324cSopenharmony_ci#include "7zHandler.h" 8370b324cSopenharmony_ci 9370b324cSopenharmony_cinamespace NArchive { 10370b324cSopenharmony_cinamespace N7z { 11370b324cSopenharmony_ci 12370b324cSopenharmony_cistatic Byte k_Signature_Dec[kSignatureSize] = {'7' + 1, 'z', 0xBC, 0xAF, 0x27, 0x1C}; 13370b324cSopenharmony_ci 14370b324cSopenharmony_ciREGISTER_ARC_IO_DECREMENT_SIG( 15370b324cSopenharmony_ci "7z", "7z", NULL, 7, 16370b324cSopenharmony_ci k_Signature_Dec, 17370b324cSopenharmony_ci 0, 18370b324cSopenharmony_ci NArcInfoFlags::kFindSignature 19370b324cSopenharmony_ci | NArcInfoFlags::kCTime 20370b324cSopenharmony_ci | NArcInfoFlags::kATime 21370b324cSopenharmony_ci | NArcInfoFlags::kMTime 22370b324cSopenharmony_ci | NArcInfoFlags::kMTime_Default 23370b324cSopenharmony_ci , TIME_PREC_TO_ARC_FLAGS_MASK(NFileTimeType::kWindows) 24370b324cSopenharmony_ci | TIME_PREC_TO_ARC_FLAGS_TIME_DEFAULT(NFileTimeType::kWindows) 25370b324cSopenharmony_ci , NULL) 26370b324cSopenharmony_ci 27370b324cSopenharmony_ci}} 28