misc/libphysfs/lzma/CPP/7zip/Archive/7z/7zHeader.cpp
changeset 13904 99b265e0d1d0
parent 13903 5f819b90d479
child 13905 b172a5d40eee
equal deleted inserted replaced
13903:5f819b90d479 13904:99b265e0d1d0
     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