1 | /* |
2 | * This file is part of the WebKit open source project. |
3 | * |
4 | * This library is free software; you can redistribute it and/or |
5 | * modify it under the terms of the GNU Library General Public |
6 | * License as published by the Free Software Foundation; either |
7 | * version 2 of the License, or (at your option) any later version. |
8 | * |
9 | * This library is distributed in the hope that it will be useful, |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 | * Library General Public License for more details. |
13 | * |
14 | * You should have received a copy of the GNU Library General Public License |
15 | * along with this library; see the file COPYING.LIB. If not, write to |
16 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
17 | * Boston, MA 02110-1301, USA. |
18 | */ |
19 | |
20 | #if !defined(__WEBKITDOM_H_INSIDE__) && !defined(BUILDING_WEBKIT) |
21 | #error "Only <webkitdom/webkitdom.h> can be included directly." |
22 | #endif |
23 | |
24 | #ifndef WebKitDOMHTMLFormElement_h |
25 | #define WebKitDOMHTMLFormElement_h |
26 | |
27 | #include <glib-object.h> |
28 | #include <webkitdom/WebKitDOMHTMLElement.h> |
29 | #include <webkitdom/webkitdomdefines.h> |
30 | |
31 | G_BEGIN_DECLS |
32 | |
33 | #define WEBKIT_DOM_TYPE_HTML_FORM_ELEMENT (webkit_dom_html_form_element_get_type()) |
34 | #define WEBKIT_DOM_HTML_FORM_ELEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_DOM_TYPE_HTML_FORM_ELEMENT, WebKitDOMHTMLFormElement)) |
35 | #define WEBKIT_DOM_HTML_FORM_ELEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), WEBKIT_DOM_TYPE_HTML_FORM_ELEMENT, WebKitDOMHTMLFormElementClass) |
36 | #define WEBKIT_DOM_IS_HTML_FORM_ELEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_DOM_TYPE_HTML_FORM_ELEMENT)) |
37 | #define WEBKIT_DOM_IS_HTML_FORM_ELEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), WEBKIT_DOM_TYPE_HTML_FORM_ELEMENT)) |
38 | #define WEBKIT_DOM_HTML_FORM_ELEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), WEBKIT_DOM_TYPE_HTML_FORM_ELEMENT, WebKitDOMHTMLFormElementClass)) |
39 | |
40 | struct _WebKitDOMHTMLFormElement { |
41 | WebKitDOMHTMLElement parent_instance; |
42 | }; |
43 | |
44 | struct _WebKitDOMHTMLFormElementClass { |
45 | WebKitDOMHTMLElementClass parent_class; |
46 | }; |
47 | |
48 | WEBKIT_DEPRECATED GType |
49 | webkit_dom_html_form_element_get_type(void); |
50 | |
51 | /** |
52 | * webkit_dom_html_form_element_submit: |
53 | * @self: A #WebKitDOMHTMLFormElement |
54 | * |
55 | * |
56 | * Deprecated: 2.22: Use JavaScriptCore API instead |
57 | **/ |
58 | WEBKIT_DEPRECATED void |
59 | webkit_dom_html_form_element_submit(WebKitDOMHTMLFormElement* self); |
60 | |
61 | /** |
62 | * webkit_dom_html_form_element_reset: |
63 | * @self: A #WebKitDOMHTMLFormElement |
64 | * |
65 | * |
66 | * Deprecated: 2.22: Use JavaScriptCore API instead |
67 | **/ |
68 | WEBKIT_DEPRECATED void |
69 | webkit_dom_html_form_element_reset(WebKitDOMHTMLFormElement* self); |
70 | |
71 | /** |
72 | * webkit_dom_html_form_element_get_accept_charset: |
73 | * @self: A #WebKitDOMHTMLFormElement |
74 | * |
75 | * Returns: A #gchar |
76 | * |
77 | * Deprecated: 2.22: Use JavaScriptCore API instead |
78 | **/ |
79 | WEBKIT_DEPRECATED gchar* |
80 | webkit_dom_html_form_element_get_accept_charset(WebKitDOMHTMLFormElement* self); |
81 | |
82 | /** |
83 | * webkit_dom_html_form_element_set_accept_charset: |
84 | * @self: A #WebKitDOMHTMLFormElement |
85 | * @value: A #gchar |
86 | * |
87 | * |
88 | * Deprecated: 2.22: Use JavaScriptCore API instead |
89 | **/ |
90 | WEBKIT_DEPRECATED void |
91 | webkit_dom_html_form_element_set_accept_charset(WebKitDOMHTMLFormElement* self, const gchar* value); |
92 | |
93 | /** |
94 | * webkit_dom_html_form_element_get_action: |
95 | * @self: A #WebKitDOMHTMLFormElement |
96 | * |
97 | * Returns: A #gchar |
98 | * |
99 | * Deprecated: 2.22: Use JavaScriptCore API instead |
100 | **/ |
101 | WEBKIT_DEPRECATED gchar* |
102 | webkit_dom_html_form_element_get_action(WebKitDOMHTMLFormElement* self); |
103 | |
104 | /** |
105 | * webkit_dom_html_form_element_set_action: |
106 | * @self: A #WebKitDOMHTMLFormElement |
107 | * @value: A #gchar |
108 | * |
109 | * |
110 | * Deprecated: 2.22: Use JavaScriptCore API instead |
111 | **/ |
112 | WEBKIT_DEPRECATED void |
113 | webkit_dom_html_form_element_set_action(WebKitDOMHTMLFormElement* self, const gchar* value); |
114 | |
115 | /** |
116 | * webkit_dom_html_form_element_get_enctype: |
117 | * @self: A #WebKitDOMHTMLFormElement |
118 | * |
119 | * Returns: A #gchar |
120 | * |
121 | * Deprecated: 2.22: Use JavaScriptCore API instead |
122 | **/ |
123 | WEBKIT_DEPRECATED gchar* |
124 | webkit_dom_html_form_element_get_enctype(WebKitDOMHTMLFormElement* self); |
125 | |
126 | /** |
127 | * webkit_dom_html_form_element_set_enctype: |
128 | * @self: A #WebKitDOMHTMLFormElement |
129 | * @value: A #gchar |
130 | * |
131 | * |
132 | * Deprecated: 2.22: Use JavaScriptCore API instead |
133 | **/ |
134 | WEBKIT_DEPRECATED void |
135 | webkit_dom_html_form_element_set_enctype(WebKitDOMHTMLFormElement* self, const gchar* value); |
136 | |
137 | /** |
138 | * webkit_dom_html_form_element_get_encoding: |
139 | * @self: A #WebKitDOMHTMLFormElement |
140 | * |
141 | * Returns: A #gchar |
142 | * |
143 | * Deprecated: 2.22: Use JavaScriptCore API instead |
144 | **/ |
145 | WEBKIT_DEPRECATED gchar* |
146 | webkit_dom_html_form_element_get_encoding(WebKitDOMHTMLFormElement* self); |
147 | |
148 | /** |
149 | * webkit_dom_html_form_element_set_encoding: |
150 | * @self: A #WebKitDOMHTMLFormElement |
151 | * @value: A #gchar |
152 | * |
153 | * |
154 | * Deprecated: 2.22: Use JavaScriptCore API instead |
155 | **/ |
156 | WEBKIT_DEPRECATED void |
157 | webkit_dom_html_form_element_set_encoding(WebKitDOMHTMLFormElement* self, const gchar* value); |
158 | |
159 | /** |
160 | * webkit_dom_html_form_element_get_method: |
161 | * @self: A #WebKitDOMHTMLFormElement |
162 | * |
163 | * Returns: A #gchar |
164 | * |
165 | * Deprecated: 2.22: Use JavaScriptCore API instead |
166 | **/ |
167 | WEBKIT_DEPRECATED gchar* |
168 | webkit_dom_html_form_element_get_method(WebKitDOMHTMLFormElement* self); |
169 | |
170 | /** |
171 | * webkit_dom_html_form_element_set_method: |
172 | * @self: A #WebKitDOMHTMLFormElement |
173 | * @value: A #gchar |
174 | * |
175 | * |
176 | * Deprecated: 2.22: Use JavaScriptCore API instead |
177 | **/ |
178 | WEBKIT_DEPRECATED void |
179 | webkit_dom_html_form_element_set_method(WebKitDOMHTMLFormElement* self, const gchar* value); |
180 | |
181 | /** |
182 | * webkit_dom_html_form_element_get_name: |
183 | * @self: A #WebKitDOMHTMLFormElement |
184 | * |
185 | * Returns: A #gchar |
186 | * |
187 | * Deprecated: 2.22: Use JavaScriptCore API instead |
188 | **/ |
189 | WEBKIT_DEPRECATED gchar* |
190 | webkit_dom_html_form_element_get_name(WebKitDOMHTMLFormElement* self); |
191 | |
192 | /** |
193 | * webkit_dom_html_form_element_set_name: |
194 | * @self: A #WebKitDOMHTMLFormElement |
195 | * @value: A #gchar |
196 | * |
197 | * |
198 | * Deprecated: 2.22: Use JavaScriptCore API instead |
199 | **/ |
200 | WEBKIT_DEPRECATED void |
201 | webkit_dom_html_form_element_set_name(WebKitDOMHTMLFormElement* self, const gchar* value); |
202 | |
203 | /** |
204 | * webkit_dom_html_form_element_get_target: |
205 | * @self: A #WebKitDOMHTMLFormElement |
206 | * |
207 | * Returns: A #gchar |
208 | * |
209 | * Deprecated: 2.22: Use JavaScriptCore API instead |
210 | **/ |
211 | WEBKIT_DEPRECATED gchar* |
212 | webkit_dom_html_form_element_get_target(WebKitDOMHTMLFormElement* self); |
213 | |
214 | /** |
215 | * webkit_dom_html_form_element_set_target: |
216 | * @self: A #WebKitDOMHTMLFormElement |
217 | * @value: A #gchar |
218 | * |
219 | * |
220 | * Deprecated: 2.22: Use JavaScriptCore API instead |
221 | **/ |
222 | WEBKIT_DEPRECATED void |
223 | webkit_dom_html_form_element_set_target(WebKitDOMHTMLFormElement* self, const gchar* value); |
224 | |
225 | /** |
226 | * webkit_dom_html_form_element_get_elements: |
227 | * @self: A #WebKitDOMHTMLFormElement |
228 | * |
229 | * Returns: (transfer full): A #WebKitDOMHTMLCollection |
230 | * |
231 | * Deprecated: 2.22: Use JavaScriptCore API instead |
232 | **/ |
233 | WEBKIT_DEPRECATED WebKitDOMHTMLCollection* |
234 | webkit_dom_html_form_element_get_elements(WebKitDOMHTMLFormElement* self); |
235 | |
236 | /** |
237 | * webkit_dom_html_form_element_get_length: |
238 | * @self: A #WebKitDOMHTMLFormElement |
239 | * |
240 | * Returns: A #glong |
241 | * |
242 | * Deprecated: 2.22: Use JavaScriptCore API instead |
243 | **/ |
244 | WEBKIT_DEPRECATED glong |
245 | webkit_dom_html_form_element_get_length(WebKitDOMHTMLFormElement* self); |
246 | |
247 | G_END_DECLS |
248 | |
249 | #endif /* WebKitDOMHTMLFormElement_h */ |
250 | |