misc/libphysfs/lzma/CPP/7zip/Compress/ByteSwap/ByteSwapRegister.cpp
changeset 13904 99b265e0d1d0
parent 13903 5f819b90d479
child 13905 b172a5d40eee
equal deleted inserted replaced
13903:5f819b90d479 13904:99b265e0d1d0
     1 // ByteSwapRegister.cpp
       
     2 
       
     3 #include "StdAfx.h"
       
     4 
       
     5 #include "../../Common/RegisterCodec.h"
       
     6 
       
     7 #include "ByteSwap.h"
       
     8 static void *CreateCodec2() { return (void *)(ICompressFilter *)(new CByteSwap2); }
       
     9 static void *CreateCodec4() { return (void *)(ICompressFilter *)(new CByteSwap4); }
       
    10 
       
    11 static CCodecInfo g_CodecsInfo[] =
       
    12 {
       
    13   { CreateCodec2, CreateCodec4, 0x020302, L"Swap2", 1, true },
       
    14   { CreateCodec4, CreateCodec4, 0x020304, L"Swap4", 1, true }
       
    15 };
       
    16 
       
    17 REGISTER_CODECS(ByteSwap)