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 WebKitDOMHTMLImageElement_h |
25 | #define WebKitDOMHTMLImageElement_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_IMAGE_ELEMENT (webkit_dom_html_image_element_get_type()) |
34 | #define WEBKIT_DOM_HTML_IMAGE_ELEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_DOM_TYPE_HTML_IMAGE_ELEMENT, WebKitDOMHTMLImageElement)) |
35 | #define WEBKIT_DOM_HTML_IMAGE_ELEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), WEBKIT_DOM_TYPE_HTML_IMAGE_ELEMENT, WebKitDOMHTMLImageElementClass) |
36 | #define WEBKIT_DOM_IS_HTML_IMAGE_ELEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_DOM_TYPE_HTML_IMAGE_ELEMENT)) |
37 | #define WEBKIT_DOM_IS_HTML_IMAGE_ELEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), WEBKIT_DOM_TYPE_HTML_IMAGE_ELEMENT)) |
38 | #define WEBKIT_DOM_HTML_IMAGE_ELEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), WEBKIT_DOM_TYPE_HTML_IMAGE_ELEMENT, WebKitDOMHTMLImageElementClass)) |
39 | |
40 | struct _WebKitDOMHTMLImageElement { |
41 | WebKitDOMHTMLElement parent_instance; |
42 | }; |
43 | |
44 | struct _WebKitDOMHTMLImageElementClass { |
45 | WebKitDOMHTMLElementClass parent_class; |
46 | }; |
47 | |
48 | WEBKIT_DEPRECATED GType |
49 | webkit_dom_html_image_element_get_type(void); |
50 | |
51 | /** |
52 | * webkit_dom_html_image_element_get_name: |
53 | * @self: A #WebKitDOMHTMLImageElement |
54 | * |
55 | * Returns: A #gchar |
56 | * |
57 | * Deprecated: 2.22: Use JavaScriptCore API instead |
58 | **/ |
59 | WEBKIT_DEPRECATED gchar* |
60 | webkit_dom_html_image_element_get_name(WebKitDOMHTMLImageElement* self); |
61 | |
62 | /** |
63 | * webkit_dom_html_image_element_set_name: |
64 | * @self: A #WebKitDOMHTMLImageElement |
65 | * @value: A #gchar |
66 | * |
67 | * |
68 | * Deprecated: 2.22: Use JavaScriptCore API instead |
69 | **/ |
70 | WEBKIT_DEPRECATED void |
71 | webkit_dom_html_image_element_set_name(WebKitDOMHTMLImageElement* self, const gchar* value); |
72 | |
73 | /** |
74 | * webkit_dom_html_image_element_get_align: |
75 | * @self: A #WebKitDOMHTMLImageElement |
76 | * |
77 | * Returns: A #gchar |
78 | * |
79 | * Deprecated: 2.22: Use JavaScriptCore API instead |
80 | **/ |
81 | WEBKIT_DEPRECATED gchar* |
82 | webkit_dom_html_image_element_get_align(WebKitDOMHTMLImageElement* self); |
83 | |
84 | /** |
85 | * webkit_dom_html_image_element_set_align: |
86 | * @self: A #WebKitDOMHTMLImageElement |
87 | * @value: A #gchar |
88 | * |
89 | * |
90 | * Deprecated: 2.22: Use JavaScriptCore API instead |
91 | **/ |
92 | WEBKIT_DEPRECATED void |
93 | webkit_dom_html_image_element_set_align(WebKitDOMHTMLImageElement* self, const gchar* value); |
94 | |
95 | /** |
96 | * webkit_dom_html_image_element_get_alt: |
97 | * @self: A #WebKitDOMHTMLImageElement |
98 | * |
99 | * Returns: A #gchar |
100 | * |
101 | * Deprecated: 2.22: Use JavaScriptCore API instead |
102 | **/ |
103 | WEBKIT_DEPRECATED gchar* |
104 | webkit_dom_html_image_element_get_alt(WebKitDOMHTMLImageElement* self); |
105 | |
106 | /** |
107 | * webkit_dom_html_image_element_set_alt: |
108 | * @self: A #WebKitDOMHTMLImageElement |
109 | * @value: A #gchar |
110 | * |
111 | * |
112 | * Deprecated: 2.22: Use JavaScriptCore API instead |
113 | **/ |
114 | WEBKIT_DEPRECATED void |
115 | webkit_dom_html_image_element_set_alt(WebKitDOMHTMLImageElement* self, const gchar* value); |
116 | |
117 | /** |
118 | * webkit_dom_html_image_element_get_border: |
119 | * @self: A #WebKitDOMHTMLImageElement |
120 | * |
121 | * Returns: A #gchar |
122 | * |
123 | * Deprecated: 2.22: Use JavaScriptCore API instead |
124 | **/ |
125 | WEBKIT_DEPRECATED gchar* |
126 | webkit_dom_html_image_element_get_border(WebKitDOMHTMLImageElement* self); |
127 | |
128 | /** |
129 | * webkit_dom_html_image_element_set_border: |
130 | * @self: A #WebKitDOMHTMLImageElement |
131 | * @value: A #gchar |
132 | * |
133 | * |
134 | * Deprecated: 2.22: Use JavaScriptCore API instead |
135 | **/ |
136 | WEBKIT_DEPRECATED void |
137 | webkit_dom_html_image_element_set_border(WebKitDOMHTMLImageElement* self, const gchar* value); |
138 | |
139 | /** |
140 | * webkit_dom_html_image_element_get_height: |
141 | * @self: A #WebKitDOMHTMLImageElement |
142 | * |
143 | * Returns: A #glong |
144 | * |
145 | * Deprecated: 2.22: Use JavaScriptCore API instead |
146 | **/ |
147 | WEBKIT_DEPRECATED glong |
148 | webkit_dom_html_image_element_get_height(WebKitDOMHTMLImageElement* self); |
149 | |
150 | /** |
151 | * webkit_dom_html_image_element_set_height: |
152 | * @self: A #WebKitDOMHTMLImageElement |
153 | * @value: A #glong |
154 | * |
155 | * |
156 | * Deprecated: 2.22: Use JavaScriptCore API instead |
157 | **/ |
158 | WEBKIT_DEPRECATED void |
159 | webkit_dom_html_image_element_set_height(WebKitDOMHTMLImageElement* self, glong value); |
160 | |
161 | /** |
162 | * webkit_dom_html_image_element_get_hspace: |
163 | * @self: A #WebKitDOMHTMLImageElement |
164 | * |
165 | * Returns: A #glong |
166 | * |
167 | * Deprecated: 2.22: Use JavaScriptCore API instead |
168 | **/ |
169 | WEBKIT_DEPRECATED glong |
170 | webkit_dom_html_image_element_get_hspace(WebKitDOMHTMLImageElement* self); |
171 | |
172 | /** |
173 | * webkit_dom_html_image_element_set_hspace: |
174 | * @self: A #WebKitDOMHTMLImageElement |
175 | * @value: A #glong |
176 | * |
177 | * |
178 | * Deprecated: 2.22: Use JavaScriptCore API instead |
179 | **/ |
180 | WEBKIT_DEPRECATED void |
181 | webkit_dom_html_image_element_set_hspace(WebKitDOMHTMLImageElement* self, glong value); |
182 | |
183 | /** |
184 | * webkit_dom_html_image_element_get_is_map: |
185 | * @self: A #WebKitDOMHTMLImageElement |
186 | * |
187 | * Returns: A #gboolean |
188 | * |
189 | * Deprecated: 2.22: Use JavaScriptCore API instead |
190 | **/ |
191 | WEBKIT_DEPRECATED gboolean |
192 | webkit_dom_html_image_element_get_is_map(WebKitDOMHTMLImageElement* self); |
193 | |
194 | /** |
195 | * webkit_dom_html_image_element_set_is_map: |
196 | * @self: A #WebKitDOMHTMLImageElement |
197 | * @value: A #gboolean |
198 | * |
199 | * |
200 | * Deprecated: 2.22: Use JavaScriptCore API instead |
201 | **/ |
202 | WEBKIT_DEPRECATED void |
203 | webkit_dom_html_image_element_set_is_map(WebKitDOMHTMLImageElement* self, gboolean value); |
204 | |
205 | /** |
206 | * webkit_dom_html_image_element_get_long_desc: |
207 | * @self: A #WebKitDOMHTMLImageElement |
208 | * |
209 | * Returns: A #gchar |
210 | * |
211 | * Deprecated: 2.22: Use JavaScriptCore API instead |
212 | **/ |
213 | WEBKIT_DEPRECATED gchar* |
214 | webkit_dom_html_image_element_get_long_desc(WebKitDOMHTMLImageElement* self); |
215 | |
216 | /** |
217 | * webkit_dom_html_image_element_set_long_desc: |
218 | * @self: A #WebKitDOMHTMLImageElement |
219 | * @value: A #gchar |
220 | * |
221 | * |
222 | * Deprecated: 2.22: Use JavaScriptCore API instead |
223 | **/ |
224 | WEBKIT_DEPRECATED void |
225 | webkit_dom_html_image_element_set_long_desc(WebKitDOMHTMLImageElement* self, const gchar* value); |
226 | |
227 | /** |
228 | * webkit_dom_html_image_element_get_src: |
229 | * @self: A #WebKitDOMHTMLImageElement |
230 | * |
231 | * Returns: A #gchar |
232 | * |
233 | * Deprecated: 2.22: Use JavaScriptCore API instead |
234 | **/ |
235 | WEBKIT_DEPRECATED gchar* |
236 | webkit_dom_html_image_element_get_src(WebKitDOMHTMLImageElement* self); |
237 | |
238 | /** |
239 | * webkit_dom_html_image_element_set_src: |
240 | * @self: A #WebKitDOMHTMLImageElement |
241 | * @value: A #gchar |
242 | * |
243 | * |
244 | * Deprecated: 2.22: Use JavaScriptCore API instead |
245 | **/ |
246 | WEBKIT_DEPRECATED void |
247 | webkit_dom_html_image_element_set_src(WebKitDOMHTMLImageElement* self, const gchar* value); |
248 | |
249 | /** |
250 | * webkit_dom_html_image_element_get_use_map: |
251 | * @self: A #WebKitDOMHTMLImageElement |
252 | * |
253 | * Returns: A #gchar |
254 | * |
255 | * Deprecated: 2.22: Use JavaScriptCore API instead |
256 | **/ |
257 | WEBKIT_DEPRECATED gchar* |
258 | webkit_dom_html_image_element_get_use_map(WebKitDOMHTMLImageElement* self); |
259 | |
260 | /** |
261 | * webkit_dom_html_image_element_set_use_map: |
262 | * @self: A #WebKitDOMHTMLImageElement |
263 | * @value: A #gchar |
264 | * |
265 | * |
266 | * Deprecated: 2.22: Use JavaScriptCore API instead |
267 | **/ |
268 | WEBKIT_DEPRECATED void |
269 | webkit_dom_html_image_element_set_use_map(WebKitDOMHTMLImageElement* self, const gchar* value); |
270 | |
271 | /** |
272 | * webkit_dom_html_image_element_get_vspace: |
273 | * @self: A #WebKitDOMHTMLImageElement |
274 | * |
275 | * Returns: A #glong |
276 | * |
277 | * Deprecated: 2.22: Use JavaScriptCore API instead |
278 | **/ |
279 | WEBKIT_DEPRECATED glong |
280 | webkit_dom_html_image_element_get_vspace(WebKitDOMHTMLImageElement* self); |
281 | |
282 | /** |
283 | * webkit_dom_html_image_element_set_vspace: |
284 | * @self: A #WebKitDOMHTMLImageElement |
285 | * @value: A #glong |
286 | * |
287 | * |
288 | * Deprecated: 2.22: Use JavaScriptCore API instead |
289 | **/ |
290 | WEBKIT_DEPRECATED void |
291 | webkit_dom_html_image_element_set_vspace(WebKitDOMHTMLImageElement* self, glong value); |
292 | |
293 | /** |
294 | * webkit_dom_html_image_element_get_width: |
295 | * @self: A #WebKitDOMHTMLImageElement |
296 | * |
297 | * Returns: A #glong |
298 | * |
299 | * Deprecated: 2.22: Use JavaScriptCore API instead |
300 | **/ |
301 | WEBKIT_DEPRECATED glong |
302 | webkit_dom_html_image_element_get_width(WebKitDOMHTMLImageElement* self); |
303 | |
304 | /** |
305 | * webkit_dom_html_image_element_set_width: |
306 | * @self: A #WebKitDOMHTMLImageElement |
307 | * @value: A #glong |
308 | * |
309 | * |
310 | * Deprecated: 2.22: Use JavaScriptCore API instead |
311 | **/ |
312 | WEBKIT_DEPRECATED void |
313 | webkit_dom_html_image_element_set_width(WebKitDOMHTMLImageElement* self, glong value); |
314 | |
315 | /** |
316 | * webkit_dom_html_image_element_get_complete: |
317 | * @self: A #WebKitDOMHTMLImageElement |
318 | * |
319 | * Returns: A #gboolean |
320 | * |
321 | * Deprecated: 2.22: Use JavaScriptCore API instead |
322 | **/ |
323 | WEBKIT_DEPRECATED gboolean |
324 | webkit_dom_html_image_element_get_complete(WebKitDOMHTMLImageElement* self); |
325 | |
326 | /** |
327 | * webkit_dom_html_image_element_get_lowsrc: |
328 | * @self: A #WebKitDOMHTMLImageElement |
329 | * |
330 | * Returns: A #gchar |
331 | * |
332 | * Deprecated: 2.22: Use JavaScriptCore API instead |
333 | **/ |
334 | WEBKIT_DEPRECATED gchar* |
335 | webkit_dom_html_image_element_get_lowsrc(WebKitDOMHTMLImageElement* self); |
336 | |
337 | /** |
338 | * webkit_dom_html_image_element_set_lowsrc: |
339 | * @self: A #WebKitDOMHTMLImageElement |
340 | * @value: A #gchar |
341 | * |
342 | * |
343 | * Deprecated: 2.22: Use JavaScriptCore API instead |
344 | **/ |
345 | WEBKIT_DEPRECATED void |
346 | webkit_dom_html_image_element_set_lowsrc(WebKitDOMHTMLImageElement* self, const gchar* value); |
347 | |
348 | /** |
349 | * webkit_dom_html_image_element_get_natural_height: |
350 | * @self: A #WebKitDOMHTMLImageElement |
351 | * |
352 | * Returns: A #glong |
353 | * |
354 | * Deprecated: 2.22: Use JavaScriptCore API instead |
355 | **/ |
356 | WEBKIT_DEPRECATED glong |
357 | webkit_dom_html_image_element_get_natural_height(WebKitDOMHTMLImageElement* self); |
358 | |
359 | /** |
360 | * webkit_dom_html_image_element_get_natural_width: |
361 | * @self: A #WebKitDOMHTMLImageElement |
362 | * |
363 | * Returns: A #glong |
364 | * |
365 | * Deprecated: 2.22: Use JavaScriptCore API instead |
366 | **/ |
367 | WEBKIT_DEPRECATED glong |
368 | webkit_dom_html_image_element_get_natural_width(WebKitDOMHTMLImageElement* self); |
369 | |
370 | /** |
371 | * webkit_dom_html_image_element_get_x: |
372 | * @self: A #WebKitDOMHTMLImageElement |
373 | * |
374 | * Returns: A #glong |
375 | * |
376 | * Deprecated: 2.22: Use JavaScriptCore API instead |
377 | **/ |
378 | WEBKIT_DEPRECATED glong |
379 | webkit_dom_html_image_element_get_x(WebKitDOMHTMLImageElement* self); |
380 | |
381 | /** |
382 | * webkit_dom_html_image_element_get_y: |
383 | * @self: A #WebKitDOMHTMLImageElement |
384 | * |
385 | * Returns: A #glong |
386 | * |
387 | * Deprecated: 2.22: Use JavaScriptCore API instead |
388 | **/ |
389 | WEBKIT_DEPRECATED glong |
390 | webkit_dom_html_image_element_get_y(WebKitDOMHTMLImageElement* self); |
391 | |
392 | G_END_DECLS |
393 | |
394 | #endif /* WebKitDOMHTMLImageElement_h */ |
395 | |