diff 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
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/win32/7zip/7z/CPP/7zip/IDecl.h	Sat Mar 03 10:31:27 2012 -0600
     1.3 @@ -0,0 +1,15 @@
     1.4 +// IDecl.h
     1.5 +
     1.6 +#ifndef __IDECL_H
     1.7 +#define __IDECL_H
     1.8 +
     1.9 +#include "../Common/MyUnknown.h"
    1.10 +
    1.11 +#define DECL_INTERFACE_SUB(i, base, groupId, subId) \
    1.12 +DEFINE_GUID(IID_ ## i, \
    1.13 +0x23170F69, 0x40C1, 0x278A, 0, 0, 0, (groupId), 0, (subId), 0, 0); \
    1.14 +struct i: public base
    1.15 +
    1.16 +#define DECL_INTERFACE(i, groupId, subId) DECL_INTERFACE_SUB(i, IUnknown, groupId, subId)
    1.17 +
    1.18 +#endif