2
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/dev/firefox-2.0.0.7-source/mozilla/dom/public/idl/html/nsIDOMHTMLIsIndexElement.idl
5
#ifndef __gen_nsIDOMHTMLIsIndexElement_h__
6
#define __gen_nsIDOMHTMLIsIndexElement_h__
9
#ifndef __gen_nsIDOMHTMLElement_h__
10
#include "nsIDOMHTMLElement.h"
13
/* For IDL files that don't want to include root IDL files. */
18
/* starting interface: nsIDOMHTMLIsIndexElement */
19
#define NS_IDOMHTMLISINDEXELEMENT_IID_STR "a6cf908c-15b3-11d2-932e-00805f8add32"
21
#define NS_IDOMHTMLISINDEXELEMENT_IID \
22
{0xa6cf908c, 0x15b3, 0x11d2, \
23
{ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
26
* The nsIDOMHTMLIsIndexElement interface is the interface to a
27
* [X]HTML isindex element.
29
* For more information on this interface please see
30
* http://www.w3.org/TR/DOM-Level-2-HTML/
34
class NS_NO_VTABLE nsIDOMHTMLIsIndexElement : public nsIDOMHTMLElement {
37
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLISINDEXELEMENT_IID)
39
/* readonly attribute nsIDOMHTMLFormElement form; */
40
NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) = 0;
42
/* attribute DOMString prompt; */
43
NS_IMETHOD GetPrompt(nsAString & aPrompt) = 0;
44
NS_IMETHOD SetPrompt(const nsAString & aPrompt) = 0;
48
/* Use this macro when declaring classes that implement this interface. */
49
#define NS_DECL_NSIDOMHTMLISINDEXELEMENT \
50
NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm); \
51
NS_IMETHOD GetPrompt(nsAString & aPrompt); \
52
NS_IMETHOD SetPrompt(const nsAString & aPrompt);
54
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
55
#define NS_FORWARD_NSIDOMHTMLISINDEXELEMENT(_to) \
56
NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return _to GetForm(aForm); } \
57
NS_IMETHOD GetPrompt(nsAString & aPrompt) { return _to GetPrompt(aPrompt); } \
58
NS_IMETHOD SetPrompt(const nsAString & aPrompt) { return _to SetPrompt(aPrompt); }
60
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
61
#define NS_FORWARD_SAFE_NSIDOMHTMLISINDEXELEMENT(_to) \
62
NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForm(aForm); } \
63
NS_IMETHOD GetPrompt(nsAString & aPrompt) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPrompt(aPrompt); } \
64
NS_IMETHOD SetPrompt(const nsAString & aPrompt) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPrompt(aPrompt); }
67
/* Use the code below as a template for the implementation class for this interface. */
70
class nsDOMHTMLIsIndexElement : public nsIDOMHTMLIsIndexElement
74
NS_DECL_NSIDOMHTMLISINDEXELEMENT
76
nsDOMHTMLIsIndexElement();
79
~nsDOMHTMLIsIndexElement();
82
/* additional members */
85
/* Implementation file */
86
NS_IMPL_ISUPPORTS1(nsDOMHTMLIsIndexElement, nsIDOMHTMLIsIndexElement)
88
nsDOMHTMLIsIndexElement::nsDOMHTMLIsIndexElement()
90
/* member initializers and constructor code */
93
nsDOMHTMLIsIndexElement::~nsDOMHTMLIsIndexElement()
98
/* readonly attribute nsIDOMHTMLFormElement form; */
99
NS_IMETHODIMP nsDOMHTMLIsIndexElement::GetForm(nsIDOMHTMLFormElement * *aForm)
101
return NS_ERROR_NOT_IMPLEMENTED;
104
/* attribute DOMString prompt; */
105
NS_IMETHODIMP nsDOMHTMLIsIndexElement::GetPrompt(nsAString & aPrompt)
107
return NS_ERROR_NOT_IMPLEMENTED;
109
NS_IMETHODIMP nsDOMHTMLIsIndexElement::SetPrompt(const nsAString & aPrompt)
111
return NS_ERROR_NOT_IMPLEMENTED;
114
/* End of implementation class template. */
118
#endif /* __gen_nsIDOMHTMLIsIndexElement_h__ */