1370b324cSopenharmony_ci// 7zHeader.cpp 2370b324cSopenharmony_ci 3370b324cSopenharmony_ci#include "StdAfx.h" 4370b324cSopenharmony_ci 5370b324cSopenharmony_ci#include "7zHeader.h" 6370b324cSopenharmony_ci 7370b324cSopenharmony_cinamespace NArchive { 8370b324cSopenharmony_cinamespace N7z { 9370b324cSopenharmony_ci 10370b324cSopenharmony_ciByte kSignature[kSignatureSize] = {'7', 'z', 0xBC, 0xAF, 0x27, 0x1C}; 11370b324cSopenharmony_ci#ifdef Z7_7Z_VOL 12370b324cSopenharmony_ciByte kFinishSignature[kSignatureSize] = {'7', 'z', 0xBC, 0xAF, 0x27, 0x1C + 1}; 13370b324cSopenharmony_ci#endif 14370b324cSopenharmony_ci 15370b324cSopenharmony_ci// We can change signature. So file doesn't contain correct signature. 16370b324cSopenharmony_ci// struct SignatureInitializer { SignatureInitializer() { kSignature[0]--; } }; 17370b324cSopenharmony_ci// static SignatureInitializer g_SignatureInitializer; 18370b324cSopenharmony_ci 19370b324cSopenharmony_ci}} 20