Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6sax2errorhandler.h
Go to the documentation of this file.
1 
11 #ifndef P6SAX2ERRORHANDLER_H__
12 #define P6SAX2ERRORHANDLER_H__ 1
13 
14 #include "p6sax2locator.h"
15 #include "p6datastream.h"
16 
17 
18 #ifdef __cplusplus
19 namespace P6R {
20 extern "C" {
21 #endif
22 
31 #undef INTERFACE
32 #define INTERFACE p6ISAX2ErrorHandler
34 {
48  P6DECLCOMMETHOD(warning)(P6THIS_ P6ERR errorCode, p6ISAX2Locator* pObject ) P6PURE;
49 
64  P6DECLCOMMETHOD(warningEx)(P6THIS_ P6ERR errorCode, p6ISAX2Locator* pObject, const P6WCHAR* pDisplay ) P6PURE;
65 
79  P6DECLCOMMETHOD(error)(P6THIS_ P6ERR errorCode, p6ISAX2Locator* pObject ) P6PURE;
80 
95  P6DECLCOMMETHOD(errorEx)(P6THIS_ P6ERR errorCode, p6ISAX2Locator* pObject, const P6WCHAR* pDisplay ) P6PURE;
96 
110  P6DECLCOMMETHOD(fatalError)(P6THIS_ P6ERR errorCode, p6ISAX2Locator* pObject ) P6PURE;
111 
126  P6DECLCOMMETHOD(fatalErrorEx)(P6THIS_ P6ERR errorCode, p6ISAX2Locator* pObject, const P6WCHAR* pDisplay ) P6PURE;
127 };
128 
129 // {95214A54-6564-4f68-8DCE-3C0D9B8802E7}
130 #define IF_p6ISAX2ErrorHandler {0x95214a54,0x6564,0x4f68,{0x8d,0xce,0x3c,0xd,0x9b,0x88,0x2,0xe7}}
131 
132 
133 
142 #undef INTERFACE
143 #define INTERFACE p6ISAX2ErrorHandlerInit
145 {
156  P6DECLCOMMETHOD(initialize)(P6THIS_ p6IDataStream* pOutErrors ) P6PURE;
157 };
158 
159 // {1C4D5626-1D53-4fdc-B20C-EF1CC7A70FDD}
160 #define IF_p6ISAX2ErrorHandlerInit {0x1c4d5626,0x1d53,0x4fdc,{0xb2,0xc,0xef,0x1c,0xc7,0xa7,0xf,0xdd}}
161 
162 // {21747C83-89EB-4c2b-93C5-D9FE2941870C}
163 #define COMP_p6SAX2ErrorHandlerInit {0x21747c83,0x89eb,0x4c2b,{0x93,0xc5,0xd9,0xfe,0x29,0x41,0x87,0xc}}
164 
165 #ifdef __cplusplus
166 }
167 } // namespace
168 #endif
169 
170 
171 #endif
172 
173 
174 
175 
176 
177 
178 
#define P6PURE
Definition: p6defs.h:192
This SAX2 interface is implemented by an application using P6R's XML parser.
p6IDataStream interface definitions
This is a standard SAX2 interface which is implemented by P6R's XML parser.
Definition: p6sax2locator.h:35
wchar_t P6WCHAR
Wide character type see p6i18n.h.
Definition: p6types.h:111
This interface is implmented by components that support receiving streamed data.
Definition: p6datastream.h:44
The base interface all [p6]COM components must derive from and implement.
Definition: p6comdef.h:97
This interface allows the caller to use the P6R implementation of the p6ISAX2ErrorHandler component...
P6UINT32 P6ERR
COM err return type see P6ERR.h.
Definition: p6types.h:141
#define P6DECLCOMMETHOD(method)
Definition: p6defs.h:189
This is a standard SAX2 utility interface which is implemented by P6R's XML parser.
#define P6THIS_
Definition: p6defs.h:193
#define P6DECLAREIF_(iface, baseif)
Definition: p6defs.h:188