misc/libphysfs/lzma/CPP/7zip/Archive/7z/7zRegister.cpp
changeset 12213 bb5522e88ab2
equal deleted inserted replaced
12212:ea891871f481 12213:bb5522e88ab2
       
     1 // 7zRegister.cpp
       
     2 
       
     3 #include "StdAfx.h"
       
     4 
       
     5 #include "../../Common/RegisterArc.h"
       
     6 
       
     7 #include "7zHandler.h"
       
     8 static IInArchive *CreateArc() { return new NArchive::N7z::CHandler;  }
       
     9 #ifndef EXTRACT_ONLY
       
    10 static IOutArchive *CreateArcOut() { return new NArchive::N7z::CHandler;  }
       
    11 #else
       
    12 #define CreateArcOut 0
       
    13 #endif
       
    14 
       
    15 static CArcInfo g_ArcInfo =
       
    16   { L"7z", L"7z", 0, 7, {'7' + 1 , 'z', 0xBC, 0xAF, 0x27, 0x1C}, 6, false, CreateArc, CreateArcOut };
       
    17 
       
    18 REGISTER_ARC_DEC_SIG(7z)