misc/libphysfs/lzma/CPP/7zip/Archive/7z/7zHeader.cpp
branchui-scaling
changeset 15283 c4fd2813b127
parent 13390 0135e64c6c66
parent 15279 7ab5cf405686
child 15663 d92eeb468dad
equal deleted inserted replaced
13390:0135e64c6c66 15283:c4fd2813b127
     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