comparison src/win32/7zip/7z/CPP/7zip/IDecl.h @ 1:f9f4f1b99eed

importing src directory
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:31:27 -0600
parents
children
comparison
equal deleted inserted replaced
0:8ced16adf2e1 1:f9f4f1b99eed
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