Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMHTMLFieldSetElement.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMHTMLFieldSetElement_h__
6 : #define __gen_nsIDOMHTMLFieldSetElement_h__
7 :
8 :
9 : #ifndef __gen_nsIDOMHTMLElement_h__
10 : #include "nsIDOMHTMLElement.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 nsIDOMValidityState; /* forward declaration */
18 :
19 :
20 : /* starting interface: nsIDOMHTMLFieldSetElement */
21 : #define NS_IDOMHTMLFIELDSETELEMENT_IID_STR "e3d91535-9da3-4c4b-a809-f17d85a4fb9f"
22 :
23 : #define NS_IDOMHTMLFIELDSETELEMENT_IID \
24 : {0xe3d91535, 0x9da3, 0x4c4b, \
25 : { 0xa8, 0x09, 0xf1, 0x7d, 0x85, 0xa4, 0xfb, 0x9f }}
26 :
27 0 : class NS_NO_VTABLE nsIDOMHTMLFieldSetElement : public nsISupports {
28 : public:
29 :
30 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLFIELDSETELEMENT_IID)
31 :
32 : /* attribute boolean disabled; */
33 : NS_IMETHOD GetDisabled(bool *aDisabled) = 0;
34 : NS_IMETHOD SetDisabled(bool aDisabled) = 0;
35 :
36 : /* readonly attribute nsIDOMHTMLFormElement form; */
37 : NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) = 0;
38 :
39 : /* attribute DOMString name; */
40 : NS_IMETHOD GetName(nsAString & aName) = 0;
41 : NS_IMETHOD SetName(const nsAString & aName) = 0;
42 :
43 : /* readonly attribute DOMString type; */
44 : NS_IMETHOD GetType(nsAString & aType) = 0;
45 :
46 : /* readonly attribute nsIDOMHTMLCollection elements; */
47 : NS_IMETHOD GetElements(nsIDOMHTMLCollection * *aElements) = 0;
48 :
49 : /* readonly attribute boolean willValidate; */
50 : NS_IMETHOD GetWillValidate(bool *aWillValidate) = 0;
51 :
52 : /* readonly attribute nsIDOMValidityState validity; */
53 : NS_IMETHOD GetValidity(nsIDOMValidityState * *aValidity) = 0;
54 :
55 : /* readonly attribute DOMString validationMessage; */
56 : NS_IMETHOD GetValidationMessage(nsAString & aValidationMessage) = 0;
57 :
58 : /* boolean checkValidity (); */
59 : NS_IMETHOD CheckValidity(bool *_retval) = 0;
60 :
61 : /* void setCustomValidity (in DOMString error); */
62 : NS_IMETHOD SetCustomValidity(const nsAString & error) = 0;
63 :
64 : };
65 :
66 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLFieldSetElement, NS_IDOMHTMLFIELDSETELEMENT_IID)
67 :
68 : /* Use this macro when declaring classes that implement this interface. */
69 : #define NS_DECL_NSIDOMHTMLFIELDSETELEMENT \
70 : NS_IMETHOD GetDisabled(bool *aDisabled) override; \
71 : NS_IMETHOD SetDisabled(bool aDisabled) override; \
72 : NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) override; \
73 : NS_IMETHOD GetName(nsAString & aName) override; \
74 : NS_IMETHOD SetName(const nsAString & aName) override; \
75 : NS_IMETHOD GetType(nsAString & aType) override; \
76 : NS_IMETHOD GetElements(nsIDOMHTMLCollection * *aElements) override; \
77 : NS_IMETHOD GetWillValidate(bool *aWillValidate) override; \
78 : NS_IMETHOD GetValidity(nsIDOMValidityState * *aValidity) override; \
79 : NS_IMETHOD GetValidationMessage(nsAString & aValidationMessage) override; \
80 : NS_IMETHOD CheckValidity(bool *_retval) override; \
81 : NS_IMETHOD SetCustomValidity(const nsAString & error) 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_NSIDOMHTMLFIELDSETELEMENT \
86 : nsresult GetDisabled(bool *aDisabled); \
87 : nsresult SetDisabled(bool aDisabled); \
88 : nsresult GetForm(nsIDOMHTMLFormElement * *aForm); \
89 : nsresult GetName(nsAString & aName); \
90 : nsresult SetName(const nsAString & aName); \
91 : nsresult GetType(nsAString & aType); \
92 : nsresult GetElements(nsIDOMHTMLCollection * *aElements); \
93 : nsresult GetWillValidate(bool *aWillValidate); \
94 : nsresult GetValidity(nsIDOMValidityState * *aValidity); \
95 : nsresult GetValidationMessage(nsAString & aValidationMessage); \
96 : nsresult CheckValidity(bool *_retval); \
97 : nsresult SetCustomValidity(const nsAString & error);
98 :
99 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
100 : #define NS_FORWARD_NSIDOMHTMLFIELDSETELEMENT(_to) \
101 : NS_IMETHOD GetDisabled(bool *aDisabled) override { return _to GetDisabled(aDisabled); } \
102 : NS_IMETHOD SetDisabled(bool aDisabled) override { return _to SetDisabled(aDisabled); } \
103 : NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) override { return _to GetForm(aForm); } \
104 : NS_IMETHOD GetName(nsAString & aName) override { return _to GetName(aName); } \
105 : NS_IMETHOD SetName(const nsAString & aName) override { return _to SetName(aName); } \
106 : NS_IMETHOD GetType(nsAString & aType) override { return _to GetType(aType); } \
107 : NS_IMETHOD GetElements(nsIDOMHTMLCollection * *aElements) override { return _to GetElements(aElements); } \
108 : NS_IMETHOD GetWillValidate(bool *aWillValidate) override { return _to GetWillValidate(aWillValidate); } \
109 : NS_IMETHOD GetValidity(nsIDOMValidityState * *aValidity) override { return _to GetValidity(aValidity); } \
110 : NS_IMETHOD GetValidationMessage(nsAString & aValidationMessage) override { return _to GetValidationMessage(aValidationMessage); } \
111 : NS_IMETHOD CheckValidity(bool *_retval) override { return _to CheckValidity(_retval); } \
112 : NS_IMETHOD SetCustomValidity(const nsAString & error) override { return _to SetCustomValidity(error); }
113 :
114 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
115 : #define NS_FORWARD_SAFE_NSIDOMHTMLFIELDSETELEMENT(_to) \
116 : NS_IMETHOD GetDisabled(bool *aDisabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisabled(aDisabled); } \
117 : NS_IMETHOD SetDisabled(bool aDisabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisabled(aDisabled); } \
118 : NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForm(aForm); } \
119 : NS_IMETHOD GetName(nsAString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
120 : NS_IMETHOD SetName(const nsAString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
121 : NS_IMETHOD GetType(nsAString & aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
122 : NS_IMETHOD GetElements(nsIDOMHTMLCollection * *aElements) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetElements(aElements); } \
123 : NS_IMETHOD GetWillValidate(bool *aWillValidate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWillValidate(aWillValidate); } \
124 : NS_IMETHOD GetValidity(nsIDOMValidityState * *aValidity) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValidity(aValidity); } \
125 : NS_IMETHOD GetValidationMessage(nsAString & aValidationMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValidationMessage(aValidationMessage); } \
126 : NS_IMETHOD CheckValidity(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CheckValidity(_retval); } \
127 : NS_IMETHOD SetCustomValidity(const nsAString & error) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCustomValidity(error); }
128 :
129 : #if 0
130 : /* Use the code below as a template for the implementation class for this interface. */
131 :
132 : /* Header file */
133 : class nsDOMHTMLFieldSetElement : public nsIDOMHTMLFieldSetElement
134 : {
135 : public:
136 : NS_DECL_ISUPPORTS
137 : NS_DECL_NSIDOMHTMLFIELDSETELEMENT
138 :
139 : nsDOMHTMLFieldSetElement();
140 :
141 : private:
142 : ~nsDOMHTMLFieldSetElement();
143 :
144 : protected:
145 : /* additional members */
146 : };
147 :
148 : /* Implementation file */
149 : NS_IMPL_ISUPPORTS(nsDOMHTMLFieldSetElement, nsIDOMHTMLFieldSetElement)
150 :
151 : nsDOMHTMLFieldSetElement::nsDOMHTMLFieldSetElement()
152 : {
153 : /* member initializers and constructor code */
154 : }
155 :
156 : nsDOMHTMLFieldSetElement::~nsDOMHTMLFieldSetElement()
157 : {
158 : /* destructor code */
159 : }
160 :
161 : /* attribute boolean disabled; */
162 : NS_IMETHODIMP nsDOMHTMLFieldSetElement::GetDisabled(bool *aDisabled)
163 : {
164 : return NS_ERROR_NOT_IMPLEMENTED;
165 : }
166 : NS_IMETHODIMP nsDOMHTMLFieldSetElement::SetDisabled(bool aDisabled)
167 : {
168 : return NS_ERROR_NOT_IMPLEMENTED;
169 : }
170 :
171 : /* readonly attribute nsIDOMHTMLFormElement form; */
172 : NS_IMETHODIMP nsDOMHTMLFieldSetElement::GetForm(nsIDOMHTMLFormElement * *aForm)
173 : {
174 : return NS_ERROR_NOT_IMPLEMENTED;
175 : }
176 :
177 : /* attribute DOMString name; */
178 : NS_IMETHODIMP nsDOMHTMLFieldSetElement::GetName(nsAString & aName)
179 : {
180 : return NS_ERROR_NOT_IMPLEMENTED;
181 : }
182 : NS_IMETHODIMP nsDOMHTMLFieldSetElement::SetName(const nsAString & aName)
183 : {
184 : return NS_ERROR_NOT_IMPLEMENTED;
185 : }
186 :
187 : /* readonly attribute DOMString type; */
188 : NS_IMETHODIMP nsDOMHTMLFieldSetElement::GetType(nsAString & aType)
189 : {
190 : return NS_ERROR_NOT_IMPLEMENTED;
191 : }
192 :
193 : /* readonly attribute nsIDOMHTMLCollection elements; */
194 : NS_IMETHODIMP nsDOMHTMLFieldSetElement::GetElements(nsIDOMHTMLCollection * *aElements)
195 : {
196 : return NS_ERROR_NOT_IMPLEMENTED;
197 : }
198 :
199 : /* readonly attribute boolean willValidate; */
200 : NS_IMETHODIMP nsDOMHTMLFieldSetElement::GetWillValidate(bool *aWillValidate)
201 : {
202 : return NS_ERROR_NOT_IMPLEMENTED;
203 : }
204 :
205 : /* readonly attribute nsIDOMValidityState validity; */
206 : NS_IMETHODIMP nsDOMHTMLFieldSetElement::GetValidity(nsIDOMValidityState * *aValidity)
207 : {
208 : return NS_ERROR_NOT_IMPLEMENTED;
209 : }
210 :
211 : /* readonly attribute DOMString validationMessage; */
212 : NS_IMETHODIMP nsDOMHTMLFieldSetElement::GetValidationMessage(nsAString & aValidationMessage)
213 : {
214 : return NS_ERROR_NOT_IMPLEMENTED;
215 : }
216 :
217 : /* boolean checkValidity (); */
218 : NS_IMETHODIMP nsDOMHTMLFieldSetElement::CheckValidity(bool *_retval)
219 : {
220 : return NS_ERROR_NOT_IMPLEMENTED;
221 : }
222 :
223 : /* void setCustomValidity (in DOMString error); */
224 : NS_IMETHODIMP nsDOMHTMLFieldSetElement::SetCustomValidity(const nsAString & error)
225 : {
226 : return NS_ERROR_NOT_IMPLEMENTED;
227 : }
228 :
229 : /* End of implementation class template. */
230 : #endif
231 :
232 :
233 : #endif /* __gen_nsIDOMHTMLFieldSetElement_h__ */
|