Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6uuencode.h
Go to the documentation of this file.
1 
10 #ifndef P6UUENCODE_H__
11 #define P6UUENCODE_H__ 1
12 
13 #include "p6com.h"
14 
15 
16 #ifdef __cplusplus
17 namespace P6R {
18 extern "C" {
19 #endif
20 
29 static const P6UUENCODEFLAGS P6UUENCODE_NOFLAGS = 0x00000000;
30 
31 
40 #undef INTERFACE
41 #define INTERFACE p6IUuencode
43 {
55  P6DECLCOMMETHOD(initialize)(P6THIS_ P6UUENCODEFLAGS flags ) P6PURE;
56 
89  P6DECLCOMMETHOD(decodeBlock)(P6THIS_ const P6CHAR* pUuencode,
90  P6UINT16& mode,
91  P6CHAR* pFileName,
92  P6UINT32& nameSize,
93  P6UCHAR* pDecoded,
94  P6UINT32& decodedSize ) P6PURE;
95 
125  P6DECLCOMMETHOD(encodeBlock)(P6THIS_ const P6CHAR* pIn,
126  P6UINT32 inSize,
127  P6UINT16 mode,
128  const P6CHAR* pFileName,
129  P6CHAR* pEncoded,
130  P6UINT32 cBuffer,
131  P6UINT32* pWritten ) P6PURE;
132 };
133 
134 
135 // {2666F276-0A05-41b3-92C1-06DD2347664B}
136 #define IF_p6IUuencode {0x2666f276,0xa05,0x41b3,{0x92,0xc1,0x6,0xdd,0x23,0x47,0x66,0x4b}}
137 
138 // {D6D67C55-0883-4067-9B1F-3CE65CD4C8B9}
139 #define COMP_p6Uuencode {0xd6d67c55,0x883,0x4067,{0x9b,0x1f,0x3c,0xe6,0x5c,0xd4,0xc8,0xb9}}
140 
141 #ifdef __cplusplus
142 }
143 } // namespace
144 #endif
145 
146 
147 #endif
148 
149 
150 
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
uint16_t P6UINT16
Definition: p6types.h:75
P6UINT32 P6UUENCODEFLAGS
P6UUENCODEFLAGS.
Definition: p6uuencode.h:28
#define P6DECLCOMMETHOD(method)
Definition: p6defs.h:189
#define P6THIS_
Definition: p6defs.h:193
Standard p6Uuencode block encoder and decoder.
Definition: p6uuencode.h:42
P6COM definitions and interfaces.
char P6CHAR
Narrow character type.
Definition: p6types.h:105
#define P6DECLAREIF_(iface, baseif)
Definition: p6defs.h:188