misc/libphysfs/lzma/CPP/7zip/Archive/7z/7zHeader.cpp
changeset 12213 bb5522e88ab2
equal deleted inserted replaced
12212:ea891871f481 12213:bb5522e88ab2
       
     1 // 7z/Header.cpp
       
     2 
       
     3 #include "StdAfx.h"
       
     4 #include "7zHeader.h"
       
     5 
       
     6 namespace NArchive {
       
     7 namespace N7z {
       
     8 
       
     9 Byte kSignature[kSignatureSize] = {'7' + 1, 'z', 0xBC, 0xAF, 0x27, 0x1C};
       
    10 #ifdef _7Z_VOL
       
    11 Byte kFinishSignature[kSignatureSize] = {'7' + 1, 'z', 0xBC, 0xAF, 0x27, 0x1C + 1};
       
    12 #endif
       
    13 
       
    14 class SignatureInitializer
       
    15 {
       
    16 public:
       
    17   SignatureInitializer() 
       
    18   { 
       
    19     kSignature[0]--; 
       
    20     #ifdef _7Z_VOL
       
    21     kFinishSignature[0]--;
       
    22     #endif
       
    23   };
       
    24 } g_SignatureInitializer;
       
    25 
       
    26 }}
       
    27