Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMHTMLSelectElement.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMHTMLSelectElement_h__
6 : #define __gen_nsIDOMHTMLSelectElement_h__
7 :
8 :
9 : #ifndef __gen_nsIDOMHTMLElement_h__
10 : #include "nsIDOMHTMLElement.h"
11 : #endif
12 :
13 : #ifndef __gen_nsIDOMHTMLOptionsCollection_h__
14 : #include "nsIDOMHTMLOptionsCollection.h"
15 : #endif
16 :
17 : /* For IDL files that don't want to include root IDL files. */
18 : #ifndef NS_NO_VTABLE
19 : #define NS_NO_VTABLE
20 : #endif
21 : class nsIDOMValidityState; /* forward declaration */
22 :
23 :
24 : /* starting interface: nsIDOMHTMLSelectElement */
25 : #define NS_IDOMHTMLSELECTELEMENT_IID_STR "d8914a2d-3556-4b66-911c-a84c4394e7fa"
26 :
27 : #define NS_IDOMHTMLSELECTELEMENT_IID \
28 : {0xd8914a2d, 0x3556, 0x4b66, \
29 : { 0x91, 0x1c, 0xa8, 0x4c, 0x43, 0x94, 0xe7, 0xfa }}
30 :
31 0 : class NS_NO_VTABLE nsIDOMHTMLSelectElement : public nsISupports {
32 : public:
33 :
34 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLSELECTELEMENT_IID)
35 :
36 : /* attribute boolean autofocus; */
37 : NS_IMETHOD GetAutofocus(bool *aAutofocus) = 0;
38 : NS_IMETHOD SetAutofocus(bool aAutofocus) = 0;
39 :
40 : /* attribute boolean disabled; */
41 : NS_IMETHOD GetDisabled(bool *aDisabled) = 0;
42 : NS_IMETHOD SetDisabled(bool aDisabled) = 0;
43 :
44 : /* readonly attribute nsIDOMHTMLFormElement form; */
45 : NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) = 0;
46 :
47 : /* attribute boolean multiple; */
48 : NS_IMETHOD GetMultiple(bool *aMultiple) = 0;
49 : NS_IMETHOD SetMultiple(bool aMultiple) = 0;
50 :
51 : /* attribute DOMString name; */
52 : NS_IMETHOD GetName(nsAString & aName) = 0;
53 : NS_IMETHOD SetName(const nsAString & aName) = 0;
54 :
55 : /* attribute unsigned long size; */
56 : NS_IMETHOD GetSize(uint32_t *aSize) = 0;
57 : NS_IMETHOD SetSize(uint32_t aSize) = 0;
58 :
59 : /* readonly attribute DOMString type; */
60 : NS_IMETHOD GetType(nsAString & aType) = 0;
61 :
62 : /* readonly attribute nsIDOMHTMLOptionsCollection options; */
63 : NS_IMETHOD GetOptions(nsIDOMHTMLOptionsCollection * *aOptions) = 0;
64 :
65 : /* attribute unsigned long length; */
66 : NS_IMETHOD GetLength(uint32_t *aLength) = 0;
67 : NS_IMETHOD SetLength(uint32_t aLength) = 0;
68 :
69 : /* nsIDOMNode item (in unsigned long index); */
70 : NS_IMETHOD Item(uint32_t index, nsIDOMNode * *_retval) = 0;
71 :
72 : /* nsIDOMNode namedItem (in DOMString name); */
73 : NS_IMETHOD NamedItem(const nsAString & name, nsIDOMNode * *_retval) = 0;
74 :
75 : /* void add (in nsIDOMHTMLElement element, [optional] in nsIVariant before) raises (DOMException); */
76 : NS_IMETHOD Add(nsIDOMHTMLElement *element, nsIVariant *before) = 0;
77 :
78 : /* void remove (in long index); */
79 : NS_IMETHOD Remove(int32_t index) = 0;
80 :
81 : /* readonly attribute nsIDOMHTMLCollection selectedOptions; */
82 : NS_IMETHOD GetSelectedOptions(nsIDOMHTMLCollection * *aSelectedOptions) = 0;
83 :
84 : /* attribute long selectedIndex; */
85 : NS_IMETHOD GetSelectedIndex(int32_t *aSelectedIndex) = 0;
86 : NS_IMETHOD SetSelectedIndex(int32_t aSelectedIndex) = 0;
87 :
88 : /* attribute DOMString value; */
89 : NS_IMETHOD GetValue(nsAString & aValue) = 0;
90 : NS_IMETHOD SetValue(const nsAString & aValue) = 0;
91 :
92 : /* readonly attribute boolean willValidate; */
93 : NS_IMETHOD GetWillValidate(bool *aWillValidate) = 0;
94 :
95 : /* readonly attribute nsIDOMValidityState validity; */
96 : NS_IMETHOD GetValidity(nsIDOMValidityState * *aValidity) = 0;
97 :
98 : /* readonly attribute DOMString validationMessage; */
99 : NS_IMETHOD GetValidationMessage(nsAString & aValidationMessage) = 0;
100 :
101 : /* boolean checkValidity (); */
102 : NS_IMETHOD CheckValidity(bool *_retval) = 0;
103 :
104 : /* void setCustomValidity (in DOMString error); */
105 : NS_IMETHOD SetCustomValidity(const nsAString & error) = 0;
106 :
107 : /* attribute boolean required; */
108 : NS_IMETHOD GetRequired(bool *aRequired) = 0;
109 : NS_IMETHOD SetRequired(bool aRequired) = 0;
110 :
111 : };
112 :
113 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLSelectElement, NS_IDOMHTMLSELECTELEMENT_IID)
114 :
115 : /* Use this macro when declaring classes that implement this interface. */
116 : #define NS_DECL_NSIDOMHTMLSELECTELEMENT \
117 : NS_IMETHOD GetAutofocus(bool *aAutofocus) override; \
118 : NS_IMETHOD SetAutofocus(bool aAutofocus) override; \
119 : NS_IMETHOD GetDisabled(bool *aDisabled) override; \
120 : NS_IMETHOD SetDisabled(bool aDisabled) override; \
121 : NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) override; \
122 : NS_IMETHOD GetMultiple(bool *aMultiple) override; \
123 : NS_IMETHOD SetMultiple(bool aMultiple) override; \
124 : NS_IMETHOD GetName(nsAString & aName) override; \
125 : NS_IMETHOD SetName(const nsAString & aName) override; \
126 : NS_IMETHOD GetSize(uint32_t *aSize) override; \
127 : NS_IMETHOD SetSize(uint32_t aSize) override; \
128 : NS_IMETHOD GetType(nsAString & aType) override; \
129 : NS_IMETHOD GetOptions(nsIDOMHTMLOptionsCollection * *aOptions) override; \
130 : NS_IMETHOD GetLength(uint32_t *aLength) override; \
131 : NS_IMETHOD SetLength(uint32_t aLength) override; \
132 : NS_IMETHOD Item(uint32_t index, nsIDOMNode * *_retval) override; \
133 : NS_IMETHOD NamedItem(const nsAString & name, nsIDOMNode * *_retval) override; \
134 : NS_IMETHOD Add(nsIDOMHTMLElement *element, nsIVariant *before) override; \
135 : NS_IMETHOD Remove(int32_t index) override; \
136 : NS_IMETHOD GetSelectedOptions(nsIDOMHTMLCollection * *aSelectedOptions) override; \
137 : NS_IMETHOD GetSelectedIndex(int32_t *aSelectedIndex) override; \
138 : NS_IMETHOD SetSelectedIndex(int32_t aSelectedIndex) override; \
139 : NS_IMETHOD GetValue(nsAString & aValue) override; \
140 : NS_IMETHOD SetValue(const nsAString & aValue) override; \
141 : NS_IMETHOD GetWillValidate(bool *aWillValidate) override; \
142 : NS_IMETHOD GetValidity(nsIDOMValidityState * *aValidity) override; \
143 : NS_IMETHOD GetValidationMessage(nsAString & aValidationMessage) override; \
144 : NS_IMETHOD CheckValidity(bool *_retval) override; \
145 : NS_IMETHOD SetCustomValidity(const nsAString & error) override; \
146 : NS_IMETHOD GetRequired(bool *aRequired) override; \
147 : NS_IMETHOD SetRequired(bool aRequired) override;
148 :
149 : /* Use this macro when declaring the members of this interface when the
150 : class doesn't implement the interface. This is useful for forwarding. */
151 : #define NS_DECL_NON_VIRTUAL_NSIDOMHTMLSELECTELEMENT \
152 : nsresult GetAutofocus(bool *aAutofocus); \
153 : nsresult SetAutofocus(bool aAutofocus); \
154 : nsresult GetDisabled(bool *aDisabled); \
155 : nsresult SetDisabled(bool aDisabled); \
156 : nsresult GetForm(nsIDOMHTMLFormElement * *aForm); \
157 : nsresult GetMultiple(bool *aMultiple); \
158 : nsresult SetMultiple(bool aMultiple); \
159 : nsresult GetName(nsAString & aName); \
160 : nsresult SetName(const nsAString & aName); \
161 : nsresult GetSize(uint32_t *aSize); \
162 : nsresult SetSize(uint32_t aSize); \
163 : nsresult GetType(nsAString & aType); \
164 : nsresult GetOptions(nsIDOMHTMLOptionsCollection * *aOptions); \
165 : nsresult GetLength(uint32_t *aLength); \
166 : nsresult SetLength(uint32_t aLength); \
167 : nsresult Item(uint32_t index, nsIDOMNode * *_retval); \
168 : nsresult NamedItem(const nsAString & name, nsIDOMNode * *_retval); \
169 : nsresult Add(nsIDOMHTMLElement *element, nsIVariant *before); \
170 : nsresult Remove(int32_t index); \
171 : nsresult GetSelectedOptions(nsIDOMHTMLCollection * *aSelectedOptions); \
172 : nsresult GetSelectedIndex(int32_t *aSelectedIndex); \
173 : nsresult SetSelectedIndex(int32_t aSelectedIndex); \
174 : nsresult GetValue(nsAString & aValue); \
175 : nsresult SetValue(const nsAString & aValue); \
176 : nsresult GetWillValidate(bool *aWillValidate); \
177 : nsresult GetValidity(nsIDOMValidityState * *aValidity); \
178 : nsresult GetValidationMessage(nsAString & aValidationMessage); \
179 : nsresult CheckValidity(bool *_retval); \
180 : nsresult SetCustomValidity(const nsAString & error); \
181 : nsresult GetRequired(bool *aRequired); \
182 : nsresult SetRequired(bool aRequired);
183 :
184 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
185 : #define NS_FORWARD_NSIDOMHTMLSELECTELEMENT(_to) \
186 : NS_IMETHOD GetAutofocus(bool *aAutofocus) override { return _to GetAutofocus(aAutofocus); } \
187 : NS_IMETHOD SetAutofocus(bool aAutofocus) override { return _to SetAutofocus(aAutofocus); } \
188 : NS_IMETHOD GetDisabled(bool *aDisabled) override { return _to GetDisabled(aDisabled); } \
189 : NS_IMETHOD SetDisabled(bool aDisabled) override { return _to SetDisabled(aDisabled); } \
190 : NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) override { return _to GetForm(aForm); } \
191 : NS_IMETHOD GetMultiple(bool *aMultiple) override { return _to GetMultiple(aMultiple); } \
192 : NS_IMETHOD SetMultiple(bool aMultiple) override { return _to SetMultiple(aMultiple); } \
193 : NS_IMETHOD GetName(nsAString & aName) override { return _to GetName(aName); } \
194 : NS_IMETHOD SetName(const nsAString & aName) override { return _to SetName(aName); } \
195 : NS_IMETHOD GetSize(uint32_t *aSize) override { return _to GetSize(aSize); } \
196 : NS_IMETHOD SetSize(uint32_t aSize) override { return _to SetSize(aSize); } \
197 : NS_IMETHOD GetType(nsAString & aType) override { return _to GetType(aType); } \
198 : NS_IMETHOD GetOptions(nsIDOMHTMLOptionsCollection * *aOptions) override { return _to GetOptions(aOptions); } \
199 : NS_IMETHOD GetLength(uint32_t *aLength) override { return _to GetLength(aLength); } \
200 : NS_IMETHOD SetLength(uint32_t aLength) override { return _to SetLength(aLength); } \
201 : NS_IMETHOD Item(uint32_t index, nsIDOMNode * *_retval) override { return _to Item(index, _retval); } \
202 : NS_IMETHOD NamedItem(const nsAString & name, nsIDOMNode * *_retval) override { return _to NamedItem(name, _retval); } \
203 : NS_IMETHOD Add(nsIDOMHTMLElement *element, nsIVariant *before) override { return _to Add(element, before); } \
204 : NS_IMETHOD Remove(int32_t index) override { return _to Remove(index); } \
205 : NS_IMETHOD GetSelectedOptions(nsIDOMHTMLCollection * *aSelectedOptions) override { return _to GetSelectedOptions(aSelectedOptions); } \
206 : NS_IMETHOD GetSelectedIndex(int32_t *aSelectedIndex) override { return _to GetSelectedIndex(aSelectedIndex); } \
207 : NS_IMETHOD SetSelectedIndex(int32_t aSelectedIndex) override { return _to SetSelectedIndex(aSelectedIndex); } \
208 : NS_IMETHOD GetValue(nsAString & aValue) override { return _to GetValue(aValue); } \
209 : NS_IMETHOD SetValue(const nsAString & aValue) override { return _to SetValue(aValue); } \
210 : NS_IMETHOD GetWillValidate(bool *aWillValidate) override { return _to GetWillValidate(aWillValidate); } \
211 : NS_IMETHOD GetValidity(nsIDOMValidityState * *aValidity) override { return _to GetValidity(aValidity); } \
212 : NS_IMETHOD GetValidationMessage(nsAString & aValidationMessage) override { return _to GetValidationMessage(aValidationMessage); } \
213 : NS_IMETHOD CheckValidity(bool *_retval) override { return _to CheckValidity(_retval); } \
214 : NS_IMETHOD SetCustomValidity(const nsAString & error) override { return _to SetCustomValidity(error); } \
215 : NS_IMETHOD GetRequired(bool *aRequired) override { return _to GetRequired(aRequired); } \
216 : NS_IMETHOD SetRequired(bool aRequired) override { return _to SetRequired(aRequired); }
217 :
218 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
219 : #define NS_FORWARD_SAFE_NSIDOMHTMLSELECTELEMENT(_to) \
220 : NS_IMETHOD GetAutofocus(bool *aAutofocus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutofocus(aAutofocus); } \
221 : NS_IMETHOD SetAutofocus(bool aAutofocus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAutofocus(aAutofocus); } \
222 : NS_IMETHOD GetDisabled(bool *aDisabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisabled(aDisabled); } \
223 : NS_IMETHOD SetDisabled(bool aDisabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisabled(aDisabled); } \
224 : NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForm(aForm); } \
225 : NS_IMETHOD GetMultiple(bool *aMultiple) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMultiple(aMultiple); } \
226 : NS_IMETHOD SetMultiple(bool aMultiple) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMultiple(aMultiple); } \
227 : NS_IMETHOD GetName(nsAString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
228 : NS_IMETHOD SetName(const nsAString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
229 : NS_IMETHOD GetSize(uint32_t *aSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSize(aSize); } \
230 : NS_IMETHOD SetSize(uint32_t aSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSize(aSize); } \
231 : NS_IMETHOD GetType(nsAString & aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
232 : NS_IMETHOD GetOptions(nsIDOMHTMLOptionsCollection * *aOptions) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOptions(aOptions); } \
233 : NS_IMETHOD GetLength(uint32_t *aLength) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); } \
234 : NS_IMETHOD SetLength(uint32_t aLength) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLength(aLength); } \
235 : NS_IMETHOD Item(uint32_t index, nsIDOMNode * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Item(index, _retval); } \
236 : NS_IMETHOD NamedItem(const nsAString & name, nsIDOMNode * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->NamedItem(name, _retval); } \
237 : NS_IMETHOD Add(nsIDOMHTMLElement *element, nsIVariant *before) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Add(element, before); } \
238 : NS_IMETHOD Remove(int32_t index) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Remove(index); } \
239 : NS_IMETHOD GetSelectedOptions(nsIDOMHTMLCollection * *aSelectedOptions) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedOptions(aSelectedOptions); } \
240 : NS_IMETHOD GetSelectedIndex(int32_t *aSelectedIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedIndex(aSelectedIndex); } \
241 : NS_IMETHOD SetSelectedIndex(int32_t aSelectedIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSelectedIndex(aSelectedIndex); } \
242 : NS_IMETHOD GetValue(nsAString & aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
243 : NS_IMETHOD SetValue(const nsAString & aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue); } \
244 : NS_IMETHOD GetWillValidate(bool *aWillValidate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWillValidate(aWillValidate); } \
245 : NS_IMETHOD GetValidity(nsIDOMValidityState * *aValidity) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValidity(aValidity); } \
246 : NS_IMETHOD GetValidationMessage(nsAString & aValidationMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValidationMessage(aValidationMessage); } \
247 : NS_IMETHOD CheckValidity(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CheckValidity(_retval); } \
248 : NS_IMETHOD SetCustomValidity(const nsAString & error) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCustomValidity(error); } \
249 : NS_IMETHOD GetRequired(bool *aRequired) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRequired(aRequired); } \
250 : NS_IMETHOD SetRequired(bool aRequired) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRequired(aRequired); }
251 :
252 : #if 0
253 : /* Use the code below as a template for the implementation class for this interface. */
254 :
255 : /* Header file */
256 : class nsDOMHTMLSelectElement : public nsIDOMHTMLSelectElement
257 : {
258 : public:
259 : NS_DECL_ISUPPORTS
260 : NS_DECL_NSIDOMHTMLSELECTELEMENT
261 :
262 : nsDOMHTMLSelectElement();
263 :
264 : private:
265 : ~nsDOMHTMLSelectElement();
266 :
267 : protected:
268 : /* additional members */
269 : };
270 :
271 : /* Implementation file */
272 : NS_IMPL_ISUPPORTS(nsDOMHTMLSelectElement, nsIDOMHTMLSelectElement)
273 :
274 : nsDOMHTMLSelectElement::nsDOMHTMLSelectElement()
275 : {
276 : /* member initializers and constructor code */
277 : }
278 :
279 : nsDOMHTMLSelectElement::~nsDOMHTMLSelectElement()
280 : {
281 : /* destructor code */
282 : }
283 :
284 : /* attribute boolean autofocus; */
285 : NS_IMETHODIMP nsDOMHTMLSelectElement::GetAutofocus(bool *aAutofocus)
286 : {
287 : return NS_ERROR_NOT_IMPLEMENTED;
288 : }
289 : NS_IMETHODIMP nsDOMHTMLSelectElement::SetAutofocus(bool aAutofocus)
290 : {
291 : return NS_ERROR_NOT_IMPLEMENTED;
292 : }
293 :
294 : /* attribute boolean disabled; */
295 : NS_IMETHODIMP nsDOMHTMLSelectElement::GetDisabled(bool *aDisabled)
296 : {
297 : return NS_ERROR_NOT_IMPLEMENTED;
298 : }
299 : NS_IMETHODIMP nsDOMHTMLSelectElement::SetDisabled(bool aDisabled)
300 : {
301 : return NS_ERROR_NOT_IMPLEMENTED;
302 : }
303 :
304 : /* readonly attribute nsIDOMHTMLFormElement form; */
305 : NS_IMETHODIMP nsDOMHTMLSelectElement::GetForm(nsIDOMHTMLFormElement * *aForm)
306 : {
307 : return NS_ERROR_NOT_IMPLEMENTED;
308 : }
309 :
310 : /* attribute boolean multiple; */
311 : NS_IMETHODIMP nsDOMHTMLSelectElement::GetMultiple(bool *aMultiple)
312 : {
313 : return NS_ERROR_NOT_IMPLEMENTED;
314 : }
315 : NS_IMETHODIMP nsDOMHTMLSelectElement::SetMultiple(bool aMultiple)
316 : {
317 : return NS_ERROR_NOT_IMPLEMENTED;
318 : }
319 :
320 : /* attribute DOMString name; */
321 : NS_IMETHODIMP nsDOMHTMLSelectElement::GetName(nsAString & aName)
322 : {
323 : return NS_ERROR_NOT_IMPLEMENTED;
324 : }
325 : NS_IMETHODIMP nsDOMHTMLSelectElement::SetName(const nsAString & aName)
326 : {
327 : return NS_ERROR_NOT_IMPLEMENTED;
328 : }
329 :
330 : /* attribute unsigned long size; */
331 : NS_IMETHODIMP nsDOMHTMLSelectElement::GetSize(uint32_t *aSize)
332 : {
333 : return NS_ERROR_NOT_IMPLEMENTED;
334 : }
335 : NS_IMETHODIMP nsDOMHTMLSelectElement::SetSize(uint32_t aSize)
336 : {
337 : return NS_ERROR_NOT_IMPLEMENTED;
338 : }
339 :
340 : /* readonly attribute DOMString type; */
341 : NS_IMETHODIMP nsDOMHTMLSelectElement::GetType(nsAString & aType)
342 : {
343 : return NS_ERROR_NOT_IMPLEMENTED;
344 : }
345 :
346 : /* readonly attribute nsIDOMHTMLOptionsCollection options; */
347 : NS_IMETHODIMP nsDOMHTMLSelectElement::GetOptions(nsIDOMHTMLOptionsCollection * *aOptions)
348 : {
349 : return NS_ERROR_NOT_IMPLEMENTED;
350 : }
351 :
352 : /* attribute unsigned long length; */
353 : NS_IMETHODIMP nsDOMHTMLSelectElement::GetLength(uint32_t *aLength)
354 : {
355 : return NS_ERROR_NOT_IMPLEMENTED;
356 : }
357 : NS_IMETHODIMP nsDOMHTMLSelectElement::SetLength(uint32_t aLength)
358 : {
359 : return NS_ERROR_NOT_IMPLEMENTED;
360 : }
361 :
362 : /* nsIDOMNode item (in unsigned long index); */
363 : NS_IMETHODIMP nsDOMHTMLSelectElement::Item(uint32_t index, nsIDOMNode * *_retval)
364 : {
365 : return NS_ERROR_NOT_IMPLEMENTED;
366 : }
367 :
368 : /* nsIDOMNode namedItem (in DOMString name); */
369 : NS_IMETHODIMP nsDOMHTMLSelectElement::NamedItem(const nsAString & name, nsIDOMNode * *_retval)
370 : {
371 : return NS_ERROR_NOT_IMPLEMENTED;
372 : }
373 :
374 : /* void add (in nsIDOMHTMLElement element, [optional] in nsIVariant before) raises (DOMException); */
375 : NS_IMETHODIMP nsDOMHTMLSelectElement::Add(nsIDOMHTMLElement *element, nsIVariant *before)
376 : {
377 : return NS_ERROR_NOT_IMPLEMENTED;
378 : }
379 :
380 : /* void remove (in long index); */
381 : NS_IMETHODIMP nsDOMHTMLSelectElement::Remove(int32_t index)
382 : {
383 : return NS_ERROR_NOT_IMPLEMENTED;
384 : }
385 :
386 : /* readonly attribute nsIDOMHTMLCollection selectedOptions; */
387 : NS_IMETHODIMP nsDOMHTMLSelectElement::GetSelectedOptions(nsIDOMHTMLCollection * *aSelectedOptions)
388 : {
389 : return NS_ERROR_NOT_IMPLEMENTED;
390 : }
391 :
392 : /* attribute long selectedIndex; */
393 : NS_IMETHODIMP nsDOMHTMLSelectElement::GetSelectedIndex(int32_t *aSelectedIndex)
394 : {
395 : return NS_ERROR_NOT_IMPLEMENTED;
396 : }
397 : NS_IMETHODIMP nsDOMHTMLSelectElement::SetSelectedIndex(int32_t aSelectedIndex)
398 : {
399 : return NS_ERROR_NOT_IMPLEMENTED;
400 : }
401 :
402 : /* attribute DOMString value; */
403 : NS_IMETHODIMP nsDOMHTMLSelectElement::GetValue(nsAString & aValue)
404 : {
405 : return NS_ERROR_NOT_IMPLEMENTED;
406 : }
407 : NS_IMETHODIMP nsDOMHTMLSelectElement::SetValue(const nsAString & aValue)
408 : {
409 : return NS_ERROR_NOT_IMPLEMENTED;
410 : }
411 :
412 : /* readonly attribute boolean willValidate; */
413 : NS_IMETHODIMP nsDOMHTMLSelectElement::GetWillValidate(bool *aWillValidate)
414 : {
415 : return NS_ERROR_NOT_IMPLEMENTED;
416 : }
417 :
418 : /* readonly attribute nsIDOMValidityState validity; */
419 : NS_IMETHODIMP nsDOMHTMLSelectElement::GetValidity(nsIDOMValidityState * *aValidity)
420 : {
421 : return NS_ERROR_NOT_IMPLEMENTED;
422 : }
423 :
424 : /* readonly attribute DOMString validationMessage; */
425 : NS_IMETHODIMP nsDOMHTMLSelectElement::GetValidationMessage(nsAString & aValidationMessage)
426 : {
427 : return NS_ERROR_NOT_IMPLEMENTED;
428 : }
429 :
430 : /* boolean checkValidity (); */
431 : NS_IMETHODIMP nsDOMHTMLSelectElement::CheckValidity(bool *_retval)
432 : {
433 : return NS_ERROR_NOT_IMPLEMENTED;
434 : }
435 :
436 : /* void setCustomValidity (in DOMString error); */
437 : NS_IMETHODIMP nsDOMHTMLSelectElement::SetCustomValidity(const nsAString & error)
438 : {
439 : return NS_ERROR_NOT_IMPLEMENTED;
440 : }
441 :
442 : /* attribute boolean required; */
443 : NS_IMETHODIMP nsDOMHTMLSelectElement::GetRequired(bool *aRequired)
444 : {
445 : return NS_ERROR_NOT_IMPLEMENTED;
446 : }
447 : NS_IMETHODIMP nsDOMHTMLSelectElement::SetRequired(bool aRequired)
448 : {
449 : return NS_ERROR_NOT_IMPLEMENTED;
450 : }
451 :
452 : /* End of implementation class template. */
453 : #endif
454 :
455 :
456 : #endif /* __gen_nsIDOMHTMLSelectElement_h__ */
|