misc/libphysfs/lzma/CPP/7zip/IDecl.h
changeset 13904 99b265e0d1d0
parent 13903 5f819b90d479
child 13905 b172a5d40eee
equal deleted inserted replaced
13903:5f819b90d479 13904:99b265e0d1d0
     1 // IDecl.h
       
     2 
       
     3 #ifndef __IDECL_H
       
     4 #define __IDECL_H
       
     5 
       
     6 #include "../Common/MyUnknown.h"
       
     7 
       
     8 #define DECL_INTERFACE_SUB(i, base, groupId, subId) \
       
     9 DEFINE_GUID(IID_ ## i, \
       
    10 0x23170F69, 0x40C1, 0x278A, 0, 0, 0, (groupId), 0, (subId), 0, 0); \
       
    11 struct i: public base
       
    12 
       
    13 #define DECL_INTERFACE(i, groupId, subId) DECL_INTERFACE_SUB(i, IUnknown, groupId, subId)
       
    14 
       
    15 #endif