00001
00012 #ifndef P6XPATHVARIABLES_H__
00013 #define P6XPATHVARIABLES_H__ 1
00014
00015 #include "p6domxml.h"
00016
00017 namespace P6R {
00018
00019 #ifdef __cplusplus
00020 extern "C" {
00021 #endif
00022
00043
00044 typedef struct
00045 {
00046 P6R::P6XPATH_TYPE type;
00047 P6R::P6BOOL bResult;
00048 P6R::P6INT32 iResult;
00049 P6R::P6INT64 lResult;
00050 P6R::P6FLOAT fResult;
00051 P6R::p6IDOMNodeset* pNodeSet;
00052 const P6R::P6WCHAR* pString;
00053 P6R::P6UINT32 strLength;
00054 P6R::p6IXpathTime* ptResult;
00055 } P6XPATH_VAR;
00056
00057
00082 interface p6IXpathVariables : public p6ICom
00083 {
00097 P6COMMETHOD lookupVariable( P6WCHAR* pVarName,
00098 P6XPATH_VAR* pVarValue
00099 ) = 0;
00100
00122 P6COMMETHOD externFunction( P6WCHAR* pFuncName,
00123 P6UINT32 funcLength,
00124 P6XPATH_RESULT* pParams,
00125 P6UINT32 numParams,
00126 P6XPATH_VAR* pVarValue
00127 ) = 0;
00128 };
00129
00130
00131 #define IF_p6IXpathVariables {0x8e994be3,0x41c9,0x4a22,{0x8e,0xed,0x17,0xdb,0xd9,0x7,0xc8,0x24}}
00132
00133 #ifdef __cplusplus
00134 }
00135 #endif
00136
00137 }
00138
00139
00140 #endif
00141
00142
00143
00144
00145
00146