1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/xpath/nsIDOMXPathExpression.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMXPathExpression_h__
6 : #define __gen_nsIDOMXPathExpression_h__
7 :
8 :
9 : #ifndef __gen_domstubs_h__
10 : #include "domstubs.h"
11 : #endif
12 :
13 : /* For IDL files that don't want to include root IDL files. */
14 : #ifndef NS_NO_VTABLE
15 : #define NS_NO_VTABLE
16 : #endif
17 : class nsIDOMXPathResult; /* forward declaration */
18 :
19 : class XPathException; /* forward declaration */
20 :
21 :
22 : /* starting interface: nsIDOMXPathExpression */
23 : #define NS_IDOMXPATHEXPRESSION_IID_STR "75506f82-b504-11d5-a7f2-ca108ab8b6fc"
24 :
25 : #define NS_IDOMXPATHEXPRESSION_IID \
26 : {0x75506f82, 0xb504, 0x11d5, \
27 : { 0xa7, 0xf2, 0xca, 0x10, 0x8a, 0xb8, 0xb6, 0xfc }}
28 :
29 42 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMXPathExpression : public nsISupports {
30 : public:
31 :
32 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMXPATHEXPRESSION_IID)
33 :
34 : /* nsISupports evaluate (in nsIDOMNode contextNode, in unsigned short type, in nsISupports result) raises (XPathException,DOMException); */
35 : NS_SCRIPTABLE NS_IMETHOD Evaluate(nsIDOMNode *contextNode, PRUint16 type, nsISupports *result, nsISupports * *_retval NS_OUTPARAM) = 0;
36 :
37 : };
38 :
39 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMXPathExpression, NS_IDOMXPATHEXPRESSION_IID)
40 :
41 : /* Use this macro when declaring classes that implement this interface. */
42 : #define NS_DECL_NSIDOMXPATHEXPRESSION \
43 : NS_SCRIPTABLE NS_IMETHOD Evaluate(nsIDOMNode *contextNode, PRUint16 type, nsISupports *result, nsISupports * *_retval NS_OUTPARAM);
44 :
45 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
46 : #define NS_FORWARD_NSIDOMXPATHEXPRESSION(_to) \
47 : NS_SCRIPTABLE NS_IMETHOD Evaluate(nsIDOMNode *contextNode, PRUint16 type, nsISupports *result, nsISupports * *_retval NS_OUTPARAM) { return _to Evaluate(contextNode, type, result, _retval); }
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
50 : #define NS_FORWARD_SAFE_NSIDOMXPATHEXPRESSION(_to) \
51 : NS_SCRIPTABLE NS_IMETHOD Evaluate(nsIDOMNode *contextNode, PRUint16 type, nsISupports *result, nsISupports * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Evaluate(contextNode, type, result, _retval); }
52 :
53 : #if 0
54 : /* Use the code below as a template for the implementation class for this interface. */
55 :
56 : /* Header file */
57 : class nsDOMXPathExpression : public nsIDOMXPathExpression
58 : {
59 : public:
60 : NS_DECL_ISUPPORTS
61 : NS_DECL_NSIDOMXPATHEXPRESSION
62 :
63 : nsDOMXPathExpression();
64 :
65 : private:
66 : ~nsDOMXPathExpression();
67 :
68 : protected:
69 : /* additional members */
70 : };
71 :
72 : /* Implementation file */
73 : NS_IMPL_ISUPPORTS1(nsDOMXPathExpression, nsIDOMXPathExpression)
74 :
75 : nsDOMXPathExpression::nsDOMXPathExpression()
76 : {
77 : /* member initializers and constructor code */
78 : }
79 :
80 : nsDOMXPathExpression::~nsDOMXPathExpression()
81 : {
82 : /* destructor code */
83 : }
84 :
85 : /* nsISupports evaluate (in nsIDOMNode contextNode, in unsigned short type, in nsISupports result) raises (XPathException,DOMException); */
86 : NS_IMETHODIMP nsDOMXPathExpression::Evaluate(nsIDOMNode *contextNode, PRUint16 type, nsISupports *result, nsISupports * *_retval NS_OUTPARAM)
87 : {
88 : return NS_ERROR_NOT_IMPLEMENTED;
89 : }
90 :
91 : /* End of implementation class template. */
92 : #endif
93 :
94 :
95 : #endif /* __gen_nsIDOMXPathExpression_h__ */
|