1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/content/xslt/public/txIFunctionEvaluationContext.idl
3 : */
4 :
5 : #ifndef __gen_txIFunctionEvaluationContext_h__
6 : #define __gen_txIFunctionEvaluationContext_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 txINodeSet; /* forward declaration */
18 :
19 :
20 : /* starting interface: txIFunctionEvaluationContext */
21 : #define TXIFUNCTIONEVALUATIONCONTEXT_IID_STR "0ecbb00c-6a78-11d9-9791-000a95dc234c"
22 :
23 : #define TXIFUNCTIONEVALUATIONCONTEXT_IID \
24 : {0x0ecbb00c, 0x6a78, 0x11d9, \
25 : { 0x97, 0x91, 0x00, 0x0a, 0x95, 0xdc, 0x23, 0x4c }}
26 :
27 0 : class NS_NO_VTABLE NS_SCRIPTABLE txIFunctionEvaluationContext : public nsISupports {
28 : public:
29 :
30 : NS_DECLARE_STATIC_IID_ACCESSOR(TXIFUNCTIONEVALUATIONCONTEXT_IID)
31 :
32 : /* readonly attribute PRUint32 position; */
33 : NS_SCRIPTABLE NS_IMETHOD GetPosition(PRUint32 *aPosition) = 0;
34 :
35 : /* readonly attribute PRUint32 size; */
36 : NS_SCRIPTABLE NS_IMETHOD GetSize(PRUint32 *aSize) = 0;
37 :
38 : /* readonly attribute nsIDOMNode contextNode; */
39 : NS_SCRIPTABLE NS_IMETHOD GetContextNode(nsIDOMNode * *aContextNode) = 0;
40 :
41 : /* readonly attribute nsISupports state; */
42 : NS_SCRIPTABLE NS_IMETHOD GetState(nsISupports * *aState) = 0;
43 :
44 : };
45 :
46 : NS_DEFINE_STATIC_IID_ACCESSOR(txIFunctionEvaluationContext, TXIFUNCTIONEVALUATIONCONTEXT_IID)
47 :
48 : /* Use this macro when declaring classes that implement this interface. */
49 : #define NS_DECL_TXIFUNCTIONEVALUATIONCONTEXT \
50 : NS_SCRIPTABLE NS_IMETHOD GetPosition(PRUint32 *aPosition); \
51 : NS_SCRIPTABLE NS_IMETHOD GetSize(PRUint32 *aSize); \
52 : NS_SCRIPTABLE NS_IMETHOD GetContextNode(nsIDOMNode * *aContextNode); \
53 : NS_SCRIPTABLE NS_IMETHOD GetState(nsISupports * *aState);
54 :
55 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
56 : #define NS_FORWARD_TXIFUNCTIONEVALUATIONCONTEXT(_to) \
57 : NS_SCRIPTABLE NS_IMETHOD GetPosition(PRUint32 *aPosition) { return _to GetPosition(aPosition); } \
58 : NS_SCRIPTABLE NS_IMETHOD GetSize(PRUint32 *aSize) { return _to GetSize(aSize); } \
59 : NS_SCRIPTABLE NS_IMETHOD GetContextNode(nsIDOMNode * *aContextNode) { return _to GetContextNode(aContextNode); } \
60 : NS_SCRIPTABLE NS_IMETHOD GetState(nsISupports * *aState) { return _to GetState(aState); }
61 :
62 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
63 : #define NS_FORWARD_SAFE_TXIFUNCTIONEVALUATIONCONTEXT(_to) \
64 : NS_SCRIPTABLE NS_IMETHOD GetPosition(PRUint32 *aPosition) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPosition(aPosition); } \
65 : NS_SCRIPTABLE NS_IMETHOD GetSize(PRUint32 *aSize) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSize(aSize); } \
66 : NS_SCRIPTABLE NS_IMETHOD GetContextNode(nsIDOMNode * *aContextNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContextNode(aContextNode); } \
67 : NS_SCRIPTABLE NS_IMETHOD GetState(nsISupports * *aState) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetState(aState); }
68 :
69 : #if 0
70 : /* Use the code below as a template for the implementation class for this interface. */
71 :
72 : /* Header file */
73 : class txFunctionEvaluationContext : public txIFunctionEvaluationContext
74 : {
75 : public:
76 : NS_DECL_ISUPPORTS
77 : NS_DECL_TXIFUNCTIONEVALUATIONCONTEXT
78 :
79 : txFunctionEvaluationContext();
80 :
81 : private:
82 : ~txFunctionEvaluationContext();
83 :
84 : protected:
85 : /* additional members */
86 : };
87 :
88 : /* Implementation file */
89 : NS_IMPL_ISUPPORTS1(txFunctionEvaluationContext, txIFunctionEvaluationContext)
90 :
91 : txFunctionEvaluationContext::txFunctionEvaluationContext()
92 : {
93 : /* member initializers and constructor code */
94 : }
95 :
96 : txFunctionEvaluationContext::~txFunctionEvaluationContext()
97 : {
98 : /* destructor code */
99 : }
100 :
101 : /* readonly attribute PRUint32 position; */
102 : NS_IMETHODIMP txFunctionEvaluationContext::GetPosition(PRUint32 *aPosition)
103 : {
104 : return NS_ERROR_NOT_IMPLEMENTED;
105 : }
106 :
107 : /* readonly attribute PRUint32 size; */
108 : NS_IMETHODIMP txFunctionEvaluationContext::GetSize(PRUint32 *aSize)
109 : {
110 : return NS_ERROR_NOT_IMPLEMENTED;
111 : }
112 :
113 : /* readonly attribute nsIDOMNode contextNode; */
114 : NS_IMETHODIMP txFunctionEvaluationContext::GetContextNode(nsIDOMNode * *aContextNode)
115 : {
116 : return NS_ERROR_NOT_IMPLEMENTED;
117 : }
118 :
119 : /* readonly attribute nsISupports state; */
120 : NS_IMETHODIMP txFunctionEvaluationContext::GetState(nsISupports * *aState)
121 : {
122 : return NS_ERROR_NOT_IMPLEMENTED;
123 : }
124 :
125 : /* End of implementation class template. */
126 : #endif
127 :
128 :
129 : #endif /* __gen_txIFunctionEvaluationContext_h__ */
|