28 lines
463 B
C++
28 lines
463 B
C++
// 7z/Header.cpp
|
|
|
|
#include "StdAfx.h"
|
|
#include "7zHeader.h"
|
|
|
|
namespace NArchive {
|
|
namespace N7z {
|
|
|
|
Byte kSignature[kSignatureSize] = {'7' + 1, 'z', 0xBC, 0xAF, 0x27, 0x1C};
|
|
#ifdef _7Z_VOL
|
|
Byte kFinishSignature[kSignatureSize] = {'7' + 1, 'z', 0xBC, 0xAF, 0x27, 0x1C + 1};
|
|
#endif
|
|
|
|
class SignatureInitializer
|
|
{
|
|
public:
|
|
SignatureInitializer()
|
|
{
|
|
kSignature[0]--;
|
|
#ifdef _7Z_VOL
|
|
kFinishSignature[0]--;
|
|
#endif
|
|
};
|
|
} g_SignatureInitializer;
|
|
|
|
}}
|
|
|