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