00001
00010 #ifndef P6SAX2Locator_H__
00011 #define P6SAX2Locator_H__ 1
00012
00013 #include "p6err.h"
00014 #include "p6comdef.h"
00015 #include "p6sax2types.h"
00016
00017 namespace P6R {
00018
00019 #ifdef __cplusplus
00020 extern "C" {
00021 #endif
00022
00033 interface p6ISAX2Locator : public p6ICom
00034 {
00050 P6COMMETHOD getColumnNumber( P6UINT32* pNumber ) = 0;
00051
00068 P6COMMETHOD getLineNumber( P6UINT32* pNumber ) = 0;
00069
00081 P6COMMETHOD getPublicId( const P6CHAR** pPublicId ) = 0;
00082
00094 P6COMMETHOD getSystemId( const P6CHAR** pSystemId ) = 0;
00095
00111 P6COMMETHOD nameSpaceInScope( P6SAX2STRING* pPrefix,
00112 P6SAX2STRING* pNameSpaceURI ) = 0;
00113 };
00114
00115
00116 #define IF_p6ISAX2Locator {0xc0f4bdc1,0xf09e,0x497a,{0xbd,0x27,0xfc,0xb2,0x8c,0x8c,0x76,0x6a}}
00117
00118 #ifdef __cplusplus
00119 }
00120 #endif
00121
00122 }
00123
00124
00125 #endif
00126
00127
00128
00129
00130
00131
00132
00133