p6sax2errorhandler.h

Go to the documentation of this file.
00001 
00011 #ifndef P6SAX2ERRORHANDLER_H__
00012 #define P6SAX2ERRORHANDLER_H__ 1
00013 
00014 #include "p6sax2locator.h"
00015 #include "p6datastream.h"
00016 
00017 namespace P6R { 
00018 
00019 #ifdef  __cplusplus
00020 extern "C" {
00021 #endif
00022 
00031 interface p6ISAX2ErrorHandler : public p6ICom
00032 {
00046    P6COMMETHOD warning(   P6ERR errorCode, p6ISAX2Locator* pObject ) = 0;
00047 
00062    P6COMMETHOD warningEx( P6ERR errorCode, p6ISAX2Locator* pObject, const P6WCHAR* pDisplay ) = 0;
00063 
00077     P6COMMETHOD error(   P6ERR errorCode, p6ISAX2Locator* pObject ) = 0;
00078 
00093     P6COMMETHOD errorEx( P6ERR errorCode, p6ISAX2Locator* pObject, const P6WCHAR* pDisplay ) = 0;
00094 
00108     P6COMMETHOD fatalError(   P6ERR errorCode, p6ISAX2Locator* pObject ) = 0;
00109 
00124     P6COMMETHOD fatalErrorEx( P6ERR errorCode, p6ISAX2Locator* pObject, const P6WCHAR* pDisplay ) = 0;
00125 };
00126 
00127 // {95214A54-6564-4f68-8DCE-3C0D9B8802E7}
00128 #define IF_p6ISAX2ErrorHandler  {0x95214a54,0x6564,0x4f68,{0x8d,0xce,0x3c,0xd,0x9b,0x88,0x2,0xe7}}
00129 
00130 
00131 
00140 interface p6ISAX2ErrorHandlerInit : public p6ICom
00141 {
00152    P6COMMETHOD initialize( p6IDataStream* pOutErrors ) = 0;
00153 };
00154 
00155 // {1C4D5626-1D53-4fdc-B20C-EF1CC7A70FDD}
00156 #define IF_p6ISAX2ErrorHandlerInit  {0x1c4d5626,0x1d53,0x4fdc,{0xb2,0xc,0xef,0x1c,0xc7,0xa7,0xf,0xdd}}
00157 
00158 // {21747C83-89EB-4c2b-93C5-D9FE2941870C}
00159 #define COMP_p6SAX2ErrorHandlerInit {0x21747c83,0x89eb,0x4c2b,{0x93,0xc5,0xd9,0xfe,0x29,0x41,0x87,0xc}}
00160 
00161 #ifdef  __cplusplus
00162 }
00163 #endif
00164 
00165 } // namespace
00166 
00167 
00168 #endif
00169 
00170 
00171 
00172 
00173 
00174 
00175 
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.