Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIXULTemplateResult.idl
3 : */
4 :
5 : #ifndef __gen_nsIXULTemplateResult_h__
6 : #define __gen_nsIXULTemplateResult_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 nsIAtom; /* forward declaration */
18 :
19 : class nsIDOMNode; /* forward declaration */
20 :
21 : class nsIRDFResource; /* forward declaration */
22 :
23 :
24 : /* starting interface: nsIXULTemplateResult */
25 : #define NS_IXULTEMPLATERESULT_IID_STR "ebea0230-36fa-41b7-8e31-760806057965"
26 :
27 : #define NS_IXULTEMPLATERESULT_IID \
28 : {0xebea0230, 0x36fa, 0x41b7, \
29 : { 0x8e, 0x31, 0x76, 0x08, 0x06, 0x05, 0x79, 0x65 }}
30 :
31 0 : class NS_NO_VTABLE nsIXULTemplateResult : public nsISupports {
32 : public:
33 :
34 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IXULTEMPLATERESULT_IID)
35 :
36 : /* readonly attribute boolean isContainer; */
37 : NS_IMETHOD GetIsContainer(bool *aIsContainer) = 0;
38 :
39 : /* readonly attribute boolean isEmpty; */
40 : NS_IMETHOD GetIsEmpty(bool *aIsEmpty) = 0;
41 :
42 : /* readonly attribute boolean mayProcessChildren; */
43 : NS_IMETHOD GetMayProcessChildren(bool *aMayProcessChildren) = 0;
44 :
45 : /* readonly attribute AString id; */
46 : NS_IMETHOD GetId(nsAString & aId) = 0;
47 :
48 : /* readonly attribute nsIRDFResource resource; */
49 : NS_IMETHOD GetResource(nsIRDFResource * *aResource) = 0;
50 :
51 : /* readonly attribute AString type; */
52 : NS_IMETHOD GetType(nsAString & aType) = 0;
53 :
54 : /* AString getBindingFor (in nsIAtom aVar); */
55 : NS_IMETHOD GetBindingFor(nsIAtom *aVar, nsAString & _retval) = 0;
56 :
57 : /* nsISupports getBindingObjectFor (in nsIAtom aVar); */
58 : NS_IMETHOD GetBindingObjectFor(nsIAtom *aVar, nsISupports * *_retval) = 0;
59 :
60 : /* void ruleMatched (in nsISupports aQuery, in nsIDOMNode aRuleNode); */
61 : NS_IMETHOD RuleMatched(nsISupports *aQuery, nsIDOMNode *aRuleNode) = 0;
62 :
63 : /* void hasBeenRemoved (); */
64 : NS_IMETHOD HasBeenRemoved(void) = 0;
65 :
66 : };
67 :
68 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIXULTemplateResult, NS_IXULTEMPLATERESULT_IID)
69 :
70 : /* Use this macro when declaring classes that implement this interface. */
71 : #define NS_DECL_NSIXULTEMPLATERESULT \
72 : NS_IMETHOD GetIsContainer(bool *aIsContainer) override; \
73 : NS_IMETHOD GetIsEmpty(bool *aIsEmpty) override; \
74 : NS_IMETHOD GetMayProcessChildren(bool *aMayProcessChildren) override; \
75 : NS_IMETHOD GetId(nsAString & aId) override; \
76 : NS_IMETHOD GetResource(nsIRDFResource * *aResource) override; \
77 : NS_IMETHOD GetType(nsAString & aType) override; \
78 : NS_IMETHOD GetBindingFor(nsIAtom *aVar, nsAString & _retval) override; \
79 : NS_IMETHOD GetBindingObjectFor(nsIAtom *aVar, nsISupports * *_retval) override; \
80 : NS_IMETHOD RuleMatched(nsISupports *aQuery, nsIDOMNode *aRuleNode) override; \
81 : NS_IMETHOD HasBeenRemoved(void) override;
82 :
83 : /* Use this macro when declaring the members of this interface when the
84 : class doesn't implement the interface. This is useful for forwarding. */
85 : #define NS_DECL_NON_VIRTUAL_NSIXULTEMPLATERESULT \
86 : nsresult GetIsContainer(bool *aIsContainer); \
87 : nsresult GetIsEmpty(bool *aIsEmpty); \
88 : nsresult GetMayProcessChildren(bool *aMayProcessChildren); \
89 : nsresult GetId(nsAString & aId); \
90 : nsresult GetResource(nsIRDFResource * *aResource); \
91 : nsresult GetType(nsAString & aType); \
92 : nsresult GetBindingFor(nsIAtom *aVar, nsAString & _retval); \
93 : nsresult GetBindingObjectFor(nsIAtom *aVar, nsISupports * *_retval); \
94 : nsresult RuleMatched(nsISupports *aQuery, nsIDOMNode *aRuleNode); \
95 : nsresult HasBeenRemoved(void);
96 :
97 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
98 : #define NS_FORWARD_NSIXULTEMPLATERESULT(_to) \
99 : NS_IMETHOD GetIsContainer(bool *aIsContainer) override { return _to GetIsContainer(aIsContainer); } \
100 : NS_IMETHOD GetIsEmpty(bool *aIsEmpty) override { return _to GetIsEmpty(aIsEmpty); } \
101 : NS_IMETHOD GetMayProcessChildren(bool *aMayProcessChildren) override { return _to GetMayProcessChildren(aMayProcessChildren); } \
102 : NS_IMETHOD GetId(nsAString & aId) override { return _to GetId(aId); } \
103 : NS_IMETHOD GetResource(nsIRDFResource * *aResource) override { return _to GetResource(aResource); } \
104 : NS_IMETHOD GetType(nsAString & aType) override { return _to GetType(aType); } \
105 : NS_IMETHOD GetBindingFor(nsIAtom *aVar, nsAString & _retval) override { return _to GetBindingFor(aVar, _retval); } \
106 : NS_IMETHOD GetBindingObjectFor(nsIAtom *aVar, nsISupports * *_retval) override { return _to GetBindingObjectFor(aVar, _retval); } \
107 : NS_IMETHOD RuleMatched(nsISupports *aQuery, nsIDOMNode *aRuleNode) override { return _to RuleMatched(aQuery, aRuleNode); } \
108 : NS_IMETHOD HasBeenRemoved(void) override { return _to HasBeenRemoved(); }
109 :
110 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
111 : #define NS_FORWARD_SAFE_NSIXULTEMPLATERESULT(_to) \
112 : NS_IMETHOD GetIsContainer(bool *aIsContainer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsContainer(aIsContainer); } \
113 : NS_IMETHOD GetIsEmpty(bool *aIsEmpty) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsEmpty(aIsEmpty); } \
114 : NS_IMETHOD GetMayProcessChildren(bool *aMayProcessChildren) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMayProcessChildren(aMayProcessChildren); } \
115 : NS_IMETHOD GetId(nsAString & aId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetId(aId); } \
116 : NS_IMETHOD GetResource(nsIRDFResource * *aResource) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetResource(aResource); } \
117 : NS_IMETHOD GetType(nsAString & aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
118 : NS_IMETHOD GetBindingFor(nsIAtom *aVar, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBindingFor(aVar, _retval); } \
119 : NS_IMETHOD GetBindingObjectFor(nsIAtom *aVar, nsISupports * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBindingObjectFor(aVar, _retval); } \
120 : NS_IMETHOD RuleMatched(nsISupports *aQuery, nsIDOMNode *aRuleNode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RuleMatched(aQuery, aRuleNode); } \
121 : NS_IMETHOD HasBeenRemoved(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HasBeenRemoved(); }
122 :
123 : #if 0
124 : /* Use the code below as a template for the implementation class for this interface. */
125 :
126 : /* Header file */
127 : class nsXULTemplateResult : public nsIXULTemplateResult
128 : {
129 : public:
130 : NS_DECL_ISUPPORTS
131 : NS_DECL_NSIXULTEMPLATERESULT
132 :
133 : nsXULTemplateResult();
134 :
135 : private:
136 : ~nsXULTemplateResult();
137 :
138 : protected:
139 : /* additional members */
140 : };
141 :
142 : /* Implementation file */
143 : NS_IMPL_ISUPPORTS(nsXULTemplateResult, nsIXULTemplateResult)
144 :
145 : nsXULTemplateResult::nsXULTemplateResult()
146 : {
147 : /* member initializers and constructor code */
148 : }
149 :
150 : nsXULTemplateResult::~nsXULTemplateResult()
151 : {
152 : /* destructor code */
153 : }
154 :
155 : /* readonly attribute boolean isContainer; */
156 : NS_IMETHODIMP nsXULTemplateResult::GetIsContainer(bool *aIsContainer)
157 : {
158 : return NS_ERROR_NOT_IMPLEMENTED;
159 : }
160 :
161 : /* readonly attribute boolean isEmpty; */
162 : NS_IMETHODIMP nsXULTemplateResult::GetIsEmpty(bool *aIsEmpty)
163 : {
164 : return NS_ERROR_NOT_IMPLEMENTED;
165 : }
166 :
167 : /* readonly attribute boolean mayProcessChildren; */
168 : NS_IMETHODIMP nsXULTemplateResult::GetMayProcessChildren(bool *aMayProcessChildren)
169 : {
170 : return NS_ERROR_NOT_IMPLEMENTED;
171 : }
172 :
173 : /* readonly attribute AString id; */
174 : NS_IMETHODIMP nsXULTemplateResult::GetId(nsAString & aId)
175 : {
176 : return NS_ERROR_NOT_IMPLEMENTED;
177 : }
178 :
179 : /* readonly attribute nsIRDFResource resource; */
180 : NS_IMETHODIMP nsXULTemplateResult::GetResource(nsIRDFResource * *aResource)
181 : {
182 : return NS_ERROR_NOT_IMPLEMENTED;
183 : }
184 :
185 : /* readonly attribute AString type; */
186 : NS_IMETHODIMP nsXULTemplateResult::GetType(nsAString & aType)
187 : {
188 : return NS_ERROR_NOT_IMPLEMENTED;
189 : }
190 :
191 : /* AString getBindingFor (in nsIAtom aVar); */
192 : NS_IMETHODIMP nsXULTemplateResult::GetBindingFor(nsIAtom *aVar, nsAString & _retval)
193 : {
194 : return NS_ERROR_NOT_IMPLEMENTED;
195 : }
196 :
197 : /* nsISupports getBindingObjectFor (in nsIAtom aVar); */
198 : NS_IMETHODIMP nsXULTemplateResult::GetBindingObjectFor(nsIAtom *aVar, nsISupports * *_retval)
199 : {
200 : return NS_ERROR_NOT_IMPLEMENTED;
201 : }
202 :
203 : /* void ruleMatched (in nsISupports aQuery, in nsIDOMNode aRuleNode); */
204 : NS_IMETHODIMP nsXULTemplateResult::RuleMatched(nsISupports *aQuery, nsIDOMNode *aRuleNode)
205 : {
206 : return NS_ERROR_NOT_IMPLEMENTED;
207 : }
208 :
209 : /* void hasBeenRemoved (); */
210 : NS_IMETHODIMP nsXULTemplateResult::HasBeenRemoved()
211 : {
212 : return NS_ERROR_NOT_IMPLEMENTED;
213 : }
214 :
215 : /* End of implementation class template. */
216 : #endif
217 :
218 :
219 : #endif /* __gen_nsIXULTemplateResult_h__ */
|