Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6binhex.h
Go to the documentation of this file.
1 
10 #ifndef P6BINHEX_H__
11 #define P6BINHEX_H__ 1
12 
13 #include "p6com.h"
14 
15 
16 #ifdef __cplusplus
17 namespace P6R {
18 extern "C" {
19 #endif
20 
29 static const P6BINHEXFLAGS P6BINHEX_NOFLAGS = 0x00000000;
30 
31 
40 #undef INTERFACE
41 #define INTERFACE p6IBinhex
43 {
55  P6DECLCOMMETHOD(initialize)(P6THIS_ P6BINHEXFLAGS flags ) P6PURE;
56 
79  P6DECLCOMMETHOD(hex2bin)(P6THIS_ const P6CHAR* pHex,
80  P6UCHAR* pDecoded,
81  P6UINT32 cBuffer,
82  P6UINT32* pWritten ) P6PURE;
83 
106  P6DECLCOMMETHOD(bin2hex)(P6THIS_ const P6UCHAR* pIn,
107  P6UINT32 inSize,
108  P6CHAR* pHex,
109  P6UINT32 cBuffer,
110  P6UINT32* pWritten ) P6PURE;
111 };
112 
113 
114 // {2871AEA4-C4CB-49f8-BF3B-B1FC634026A8}
115 #define IF_p6IBinhex {0x2871aea4,0xc4cb,0x49f8,{0xbf,0x3b,0xb1,0xfc,0x63,0x40,0x26,0xa8}}
116 
117 // {A9E89A74-144F-44c8-ACBA-25868897F261}
118 #define COMP_p6Binhex {0xa9e89a74,0x144f,0x44c8,{0xac,0xba,0x25,0x86,0x88,0x97,0xf2,0x61}}
119 
120 
121 #ifdef __cplusplus
122 }
123 } // namespace
124 #endif
125 
126 
127 #endif
128 
129 
130 
unsigned char P6UCHAR
Definition: p6types.h:108
uint32_t P6UINT32
Definition: p6types.h:77
#define P6PURE
Definition: p6defs.h:192
The base interface all [p6]COM components must derive from and implement.
Definition: p6comdef.h:97
Standard p6Binhex block encoder and decoder.
Definition: p6binhex.h:42
#define P6DECLCOMMETHOD(method)
Definition: p6defs.h:189
P6UINT32 P6BINHEXFLAGS
P6BINHEXFLAGS.
Definition: p6binhex.h:28
#define P6THIS_
Definition: p6defs.h:193
P6COM definitions and interfaces.
char P6CHAR
Narrow character type.
Definition: p6types.h:105
#define P6DECLAREIF_(iface, baseif)
Definition: p6defs.h:188