1/*
2 *  This file is part of the WebKit open source project.
3 *  This file has been generated by generate-bindings.pl. DO NOT MODIFY!
4 *
5 *  This library is free software; you can redistribute it and/or
6 *  modify it under the terms of the GNU Library General Public
7 *  License as published by the Free Software Foundation; either
8 *  version 2 of the License, or (at your option) any later version.
9 *
10 *  This library is distributed in the hope that it will be useful,
11 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 *  Library General Public License for more details.
14 *
15 *  You should have received a copy of the GNU Library General Public License
16 *  along with this library; see the file COPYING.LIB.  If not, write to
17 *  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 *  Boston, MA 02110-1301, USA.
19 */
20
21#ifndef WebKitDOMTestInterface_h
22#define WebKitDOMTestInterface_h
23
24#ifdef WEBKIT_DOM_USE_UNSTABLE_API
25
26#include <glib-object.h>
27#include <webkitdom/WebKitDOMObject.h>
28#include <webkitdom/webkitdomdefines-unstable.h>
29
30G_BEGIN_DECLS
31
32#define WEBKIT_DOM_TYPE_TEST_INTERFACE            (webkit_dom_test_interface_get_type())
33#define WEBKIT_DOM_TEST_INTERFACE(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_DOM_TYPE_TEST_INTERFACE, WebKitDOMTestInterface))
34#define WEBKIT_DOM_TEST_INTERFACE_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass),  WEBKIT_DOM_TYPE_TEST_INTERFACE, WebKitDOMTestInterfaceClass)
35#define WEBKIT_DOM_IS_TEST_INTERFACE(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_DOM_TYPE_TEST_INTERFACE))
36#define WEBKIT_DOM_IS_TEST_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),  WEBKIT_DOM_TYPE_TEST_INTERFACE))
37#define WEBKIT_DOM_TEST_INTERFACE_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj),  WEBKIT_DOM_TYPE_TEST_INTERFACE, WebKitDOMTestInterfaceClass))
38
39#if ENABLE(Condition22) || ENABLE(Condition23)
40/**
41 * WEBKIT_DOM_TEST_INTERFACE_IMPLEMENTSCONSTANT1:
42 */
43#define WEBKIT_DOM_TEST_INTERFACE_IMPLEMENTSCONSTANT1 1
44#endif /* ENABLE(Condition22) || ENABLE(Condition23) */
45
46#if ENABLE(Condition22) || ENABLE(Condition23)
47/**
48 * WEBKIT_DOM_TEST_INTERFACE_IMPLEMENTSCONSTANT2:
49 */
50#define WEBKIT_DOM_TEST_INTERFACE_IMPLEMENTSCONSTANT2 2
51#endif /* ENABLE(Condition22) || ENABLE(Condition23) */
52
53#if ENABLE(Condition11) || ENABLE(Condition12)
54/**
55 * WEBKIT_DOM_TEST_INTERFACE_SUPPLEMENTALCONSTANT1:
56 */
57#define WEBKIT_DOM_TEST_INTERFACE_SUPPLEMENTALCONSTANT1 1
58#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
59
60#if ENABLE(Condition11) || ENABLE(Condition12)
61/**
62 * WEBKIT_DOM_TEST_INTERFACE_SUPPLEMENTALCONSTANT2:
63 */
64#define WEBKIT_DOM_TEST_INTERFACE_SUPPLEMENTALCONSTANT2 2
65#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
66
67struct _WebKitDOMTestInterface {
68    WebKitDOMObject parent_instance;
69};
70
71struct _WebKitDOMTestInterfaceClass {
72    WebKitDOMObjectClass parent_class;
73};
74
75WEBKIT_API GType
76webkit_dom_test_interface_get_type(void);
77
78/**
79 * webkit_dom_test_interface_implements_method1:
80 * @self: A #WebKitDOMTestInterface
81 *
82 * Stability: Unstable
83**/
84WEBKIT_API void
85webkit_dom_test_interface_implements_method1(WebKitDOMTestInterface* self);
86
87/**
88 * webkit_dom_test_interface_implements_method2:
89 * @self: A #WebKitDOMTestInterface
90 * @strArg: A #gchar
91 * @objArg: A #WebKitDOMTestObj
92 * @error: #GError
93 *
94 * Returns: (transfer none): A #WebKitDOMTestObj
95 *
96 * Stability: Unstable
97**/
98WEBKIT_API WebKitDOMTestObj*
99webkit_dom_test_interface_implements_method2(WebKitDOMTestInterface* self, const gchar* strArg, WebKitDOMTestObj* objArg, GError** error);
100
101/**
102 * webkit_dom_test_interface_implements_method4:
103 * @self: A #WebKitDOMTestInterface
104 *
105 * Stability: Unstable
106**/
107WEBKIT_API void
108webkit_dom_test_interface_implements_method4(WebKitDOMTestInterface* self);
109
110/**
111 * webkit_dom_test_interface_supplemental_method1:
112 * @self: A #WebKitDOMTestInterface
113 *
114 * Stability: Unstable
115**/
116WEBKIT_API void
117webkit_dom_test_interface_supplemental_method1(WebKitDOMTestInterface* self);
118
119/**
120 * webkit_dom_test_interface_supplemental_method2:
121 * @self: A #WebKitDOMTestInterface
122 * @strArg: A #gchar
123 * @objArg: A #WebKitDOMTestObj
124 * @error: #GError
125 *
126 * Returns: (transfer none): A #WebKitDOMTestObj
127 *
128 * Stability: Unstable
129**/
130WEBKIT_API WebKitDOMTestObj*
131webkit_dom_test_interface_supplemental_method2(WebKitDOMTestInterface* self, const gchar* strArg, WebKitDOMTestObj* objArg, GError** error);
132
133/**
134 * webkit_dom_test_interface_supplemental_method4:
135 * @self: A #WebKitDOMTestInterface
136 *
137 * Stability: Unstable
138**/
139WEBKIT_API void
140webkit_dom_test_interface_supplemental_method4(WebKitDOMTestInterface* self);
141
142/**
143 * webkit_dom_test_interface_get_implements_str1:
144 * @self: A #WebKitDOMTestInterface
145 *
146 * Returns: A #gchar
147 *
148 * Stability: Unstable
149**/
150WEBKIT_API gchar*
151webkit_dom_test_interface_get_implements_str1(WebKitDOMTestInterface* self);
152
153/**
154 * webkit_dom_test_interface_get_implements_str2:
155 * @self: A #WebKitDOMTestInterface
156 *
157 * Returns: A #gchar
158 *
159 * Stability: Unstable
160**/
161WEBKIT_API gchar*
162webkit_dom_test_interface_get_implements_str2(WebKitDOMTestInterface* self);
163
164/**
165 * webkit_dom_test_interface_set_implements_str2:
166 * @self: A #WebKitDOMTestInterface
167 * @value: A #gchar
168 *
169 * Stability: Unstable
170**/
171WEBKIT_API void
172webkit_dom_test_interface_set_implements_str2(WebKitDOMTestInterface* self, const gchar* value);
173
174/**
175 * webkit_dom_test_interface_get_implements_node:
176 * @self: A #WebKitDOMTestInterface
177 *
178 * Returns: (transfer none): A #WebKitDOMNode
179 *
180 * Stability: Unstable
181**/
182WEBKIT_API WebKitDOMNode*
183webkit_dom_test_interface_get_implements_node(WebKitDOMTestInterface* self);
184
185/**
186 * webkit_dom_test_interface_set_implements_node:
187 * @self: A #WebKitDOMTestInterface
188 * @value: A #WebKitDOMNode
189 *
190 * Stability: Unstable
191**/
192WEBKIT_API void
193webkit_dom_test_interface_set_implements_node(WebKitDOMTestInterface* self, WebKitDOMNode* value);
194
195/**
196 * webkit_dom_test_interface_get_supplemental_str1:
197 * @self: A #WebKitDOMTestInterface
198 *
199 * Returns: A #gchar
200 *
201 * Stability: Unstable
202**/
203WEBKIT_API gchar*
204webkit_dom_test_interface_get_supplemental_str1(WebKitDOMTestInterface* self);
205
206/**
207 * webkit_dom_test_interface_get_supplemental_str2:
208 * @self: A #WebKitDOMTestInterface
209 *
210 * Returns: A #gchar
211 *
212 * Stability: Unstable
213**/
214WEBKIT_API gchar*
215webkit_dom_test_interface_get_supplemental_str2(WebKitDOMTestInterface* self);
216
217/**
218 * webkit_dom_test_interface_set_supplemental_str2:
219 * @self: A #WebKitDOMTestInterface
220 * @value: A #gchar
221 *
222 * Stability: Unstable
223**/
224WEBKIT_API void
225webkit_dom_test_interface_set_supplemental_str2(WebKitDOMTestInterface* self, const gchar* value);
226
227/**
228 * webkit_dom_test_interface_get_supplemental_node:
229 * @self: A #WebKitDOMTestInterface
230 *
231 * Returns: (transfer none): A #WebKitDOMNode
232 *
233 * Stability: Unstable
234**/
235WEBKIT_API WebKitDOMNode*
236webkit_dom_test_interface_get_supplemental_node(WebKitDOMTestInterface* self);
237
238/**
239 * webkit_dom_test_interface_set_supplemental_node:
240 * @self: A #WebKitDOMTestInterface
241 * @value: A #WebKitDOMNode
242 *
243 * Stability: Unstable
244**/
245WEBKIT_API void
246webkit_dom_test_interface_set_supplemental_node(WebKitDOMTestInterface* self, WebKitDOMNode* value);
247
248G_END_DECLS
249
250#endif /* WEBKIT_DOM_USE_UNSTABLE_API */
251#endif /* WebKitDOMTestInterface_h */
252