1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/content/xul/templates/public/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 NS_SCRIPTABLE nsIXULTemplateResult : public nsISupports {
32 : public:
33 :
34 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IXULTEMPLATERESULT_IID)
35 :
36 : /* readonly attribute boolean isContainer; */
37 : NS_SCRIPTABLE NS_IMETHOD GetIsContainer(bool *aIsContainer) = 0;
38 :
39 : /* readonly attribute boolean isEmpty; */
40 : NS_SCRIPTABLE NS_IMETHOD GetIsEmpty(bool *aIsEmpty) = 0;
41 :
42 : /* readonly attribute boolean mayProcessChildren; */
43 : NS_SCRIPTABLE NS_IMETHOD GetMayProcessChildren(bool *aMayProcessChildren) = 0;
44 :
45 : /* readonly attribute AString id; */
46 : NS_SCRIPTABLE NS_IMETHOD GetId(nsAString & aId) = 0;
47 :
48 : /* readonly attribute nsIRDFResource resource; */
49 : NS_SCRIPTABLE NS_IMETHOD GetResource(nsIRDFResource * *aResource) = 0;
50 :
51 : /* readonly attribute AString type; */
52 : NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) = 0;
53 :
54 : /* AString getBindingFor (in nsIAtom aVar); */
55 : NS_SCRIPTABLE NS_IMETHOD GetBindingFor(nsIAtom *aVar, nsAString & _retval NS_OUTPARAM) = 0;
56 :
57 : /* nsISupports getBindingObjectFor (in nsIAtom aVar); */
58 : NS_SCRIPTABLE NS_IMETHOD GetBindingObjectFor(nsIAtom *aVar, nsISupports * *_retval NS_OUTPARAM) = 0;
59 :
60 : /* void ruleMatched (in nsISupports aQuery, in nsIDOMNode aRuleNode); */
61 : NS_SCRIPTABLE NS_IMETHOD RuleMatched(nsISupports *aQuery, nsIDOMNode *aRuleNode) = 0;
62 :
63 : /* void hasBeenRemoved (); */
64 : NS_SCRIPTABLE 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_SCRIPTABLE NS_IMETHOD GetIsContainer(bool *aIsContainer); \
73 : NS_SCRIPTABLE NS_IMETHOD GetIsEmpty(bool *aIsEmpty); \
74 : NS_SCRIPTABLE NS_IMETHOD GetMayProcessChildren(bool *aMayProcessChildren); \
75 : NS_SCRIPTABLE NS_IMETHOD GetId(nsAString & aId); \
76 : NS_SCRIPTABLE NS_IMETHOD GetResource(nsIRDFResource * *aResource); \
77 : NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType); \
78 : NS_SCRIPTABLE NS_IMETHOD GetBindingFor(nsIAtom *aVar, nsAString & _retval NS_OUTPARAM); \
79 : NS_SCRIPTABLE NS_IMETHOD GetBindingObjectFor(nsIAtom *aVar, nsISupports * *_retval NS_OUTPARAM); \
80 : NS_SCRIPTABLE NS_IMETHOD RuleMatched(nsISupports *aQuery, nsIDOMNode *aRuleNode); \
81 : NS_SCRIPTABLE NS_IMETHOD HasBeenRemoved(void);
82 :
83 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
84 : #define NS_FORWARD_NSIXULTEMPLATERESULT(_to) \
85 : NS_SCRIPTABLE NS_IMETHOD GetIsContainer(bool *aIsContainer) { return _to GetIsContainer(aIsContainer); } \
86 : NS_SCRIPTABLE NS_IMETHOD GetIsEmpty(bool *aIsEmpty) { return _to GetIsEmpty(aIsEmpty); } \
87 : NS_SCRIPTABLE NS_IMETHOD GetMayProcessChildren(bool *aMayProcessChildren) { return _to GetMayProcessChildren(aMayProcessChildren); } \
88 : NS_SCRIPTABLE NS_IMETHOD GetId(nsAString & aId) { return _to GetId(aId); } \
89 : NS_SCRIPTABLE NS_IMETHOD GetResource(nsIRDFResource * *aResource) { return _to GetResource(aResource); } \
90 : NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
91 : NS_SCRIPTABLE NS_IMETHOD GetBindingFor(nsIAtom *aVar, nsAString & _retval NS_OUTPARAM) { return _to GetBindingFor(aVar, _retval); } \
92 : NS_SCRIPTABLE NS_IMETHOD GetBindingObjectFor(nsIAtom *aVar, nsISupports * *_retval NS_OUTPARAM) { return _to GetBindingObjectFor(aVar, _retval); } \
93 : NS_SCRIPTABLE NS_IMETHOD RuleMatched(nsISupports *aQuery, nsIDOMNode *aRuleNode) { return _to RuleMatched(aQuery, aRuleNode); } \
94 : NS_SCRIPTABLE NS_IMETHOD HasBeenRemoved(void) { return _to HasBeenRemoved(); }
95 :
96 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
97 : #define NS_FORWARD_SAFE_NSIXULTEMPLATERESULT(_to) \
98 : NS_SCRIPTABLE NS_IMETHOD GetIsContainer(bool *aIsContainer) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsContainer(aIsContainer); } \
99 : NS_SCRIPTABLE NS_IMETHOD GetIsEmpty(bool *aIsEmpty) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsEmpty(aIsEmpty); } \
100 : NS_SCRIPTABLE NS_IMETHOD GetMayProcessChildren(bool *aMayProcessChildren) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMayProcessChildren(aMayProcessChildren); } \
101 : NS_SCRIPTABLE NS_IMETHOD GetId(nsAString & aId) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetId(aId); } \
102 : NS_SCRIPTABLE NS_IMETHOD GetResource(nsIRDFResource * *aResource) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetResource(aResource); } \
103 : NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
104 : NS_SCRIPTABLE NS_IMETHOD GetBindingFor(nsIAtom *aVar, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBindingFor(aVar, _retval); } \
105 : NS_SCRIPTABLE NS_IMETHOD GetBindingObjectFor(nsIAtom *aVar, nsISupports * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBindingObjectFor(aVar, _retval); } \
106 : NS_SCRIPTABLE NS_IMETHOD RuleMatched(nsISupports *aQuery, nsIDOMNode *aRuleNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->RuleMatched(aQuery, aRuleNode); } \
107 : NS_SCRIPTABLE NS_IMETHOD HasBeenRemoved(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->HasBeenRemoved(); }
108 :
109 : #if 0
110 : /* Use the code below as a template for the implementation class for this interface. */
111 :
112 : /* Header file */
113 : class nsXULTemplateResult : public nsIXULTemplateResult
114 : {
115 : public:
116 : NS_DECL_ISUPPORTS
117 : NS_DECL_NSIXULTEMPLATERESULT
118 :
119 : nsXULTemplateResult();
120 :
121 : private:
122 : ~nsXULTemplateResult();
123 :
124 : protected:
125 : /* additional members */
126 : };
127 :
128 : /* Implementation file */
129 : NS_IMPL_ISUPPORTS1(nsXULTemplateResult, nsIXULTemplateResult)
130 :
131 : nsXULTemplateResult::nsXULTemplateResult()
132 : {
133 : /* member initializers and constructor code */
134 : }
135 :
136 : nsXULTemplateResult::~nsXULTemplateResult()
137 : {
138 : /* destructor code */
139 : }
140 :
141 : /* readonly attribute boolean isContainer; */
142 : NS_IMETHODIMP nsXULTemplateResult::GetIsContainer(bool *aIsContainer)
143 : {
144 : return NS_ERROR_NOT_IMPLEMENTED;
145 : }
146 :
147 : /* readonly attribute boolean isEmpty; */
148 : NS_IMETHODIMP nsXULTemplateResult::GetIsEmpty(bool *aIsEmpty)
149 : {
150 : return NS_ERROR_NOT_IMPLEMENTED;
151 : }
152 :
153 : /* readonly attribute boolean mayProcessChildren; */
154 : NS_IMETHODIMP nsXULTemplateResult::GetMayProcessChildren(bool *aMayProcessChildren)
155 : {
156 : return NS_ERROR_NOT_IMPLEMENTED;
157 : }
158 :
159 : /* readonly attribute AString id; */
160 : NS_IMETHODIMP nsXULTemplateResult::GetId(nsAString & aId)
161 : {
162 : return NS_ERROR_NOT_IMPLEMENTED;
163 : }
164 :
165 : /* readonly attribute nsIRDFResource resource; */
166 : NS_IMETHODIMP nsXULTemplateResult::GetResource(nsIRDFResource * *aResource)
167 : {
168 : return NS_ERROR_NOT_IMPLEMENTED;
169 : }
170 :
171 : /* readonly attribute AString type; */
172 : NS_IMETHODIMP nsXULTemplateResult::GetType(nsAString & aType)
173 : {
174 : return NS_ERROR_NOT_IMPLEMENTED;
175 : }
176 :
177 : /* AString getBindingFor (in nsIAtom aVar); */
178 : NS_IMETHODIMP nsXULTemplateResult::GetBindingFor(nsIAtom *aVar, nsAString & _retval NS_OUTPARAM)
179 : {
180 : return NS_ERROR_NOT_IMPLEMENTED;
181 : }
182 :
183 : /* nsISupports getBindingObjectFor (in nsIAtom aVar); */
184 : NS_IMETHODIMP nsXULTemplateResult::GetBindingObjectFor(nsIAtom *aVar, nsISupports * *_retval NS_OUTPARAM)
185 : {
186 : return NS_ERROR_NOT_IMPLEMENTED;
187 : }
188 :
189 : /* void ruleMatched (in nsISupports aQuery, in nsIDOMNode aRuleNode); */
190 : NS_IMETHODIMP nsXULTemplateResult::RuleMatched(nsISupports *aQuery, nsIDOMNode *aRuleNode)
191 : {
192 : return NS_ERROR_NOT_IMPLEMENTED;
193 : }
194 :
195 : /* void hasBeenRemoved (); */
196 : NS_IMETHODIMP nsXULTemplateResult::HasBeenRemoved()
197 : {
198 : return NS_ERROR_NOT_IMPLEMENTED;
199 : }
200 :
201 : /* End of implementation class template. */
202 : #endif
203 :
204 :
205 : #endif /* __gen_nsIXULTemplateResult_h__ */
|