misc/libphysfs/lzma/CPP/7zip/Archive/7z/7zHeader.cpp
author sheepluva
Fri, 29 Sep 2017 22:09:11 +0200
changeset 12597 00b539e6115d
parent 12218 bb5522e88ab2
permissions -rw-r--r--
rename ifTransparent to ifColorKey This should make the name less confusing. However this image-flag will possibly be dropped completely.

// 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;

}}