2 This file is part of the WebKit open source project.
3 This file has been generated by generate-bindings.pl. DO NOT MODIFY!
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.
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.
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.
21 #ifndef WebKitDOMTestObj_h
22 #define WebKitDOMTestObj_h
24 #include "webkit/webkitdomdefines.h"
25 #include <glib-object.h>
26 #include <webkit/webkitdefines.h>
27 #include "webkit/WebKitDOMObject.h"
31 #define WEBKIT_TYPE_DOM_TEST_OBJ (webkit_dom_test_obj_get_type())
32 #define WEBKIT_DOM_TEST_OBJ(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_TYPE_DOM_TEST_OBJ, WebKitDOMTestObj))
33 #define WEBKIT_DOM_TEST_OBJ_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), WEBKIT_TYPE_DOM_TEST_OBJ, WebKitDOMTestObjClass)
34 #define WEBKIT_DOM_IS_TEST_OBJ(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_TYPE_DOM_TEST_OBJ))
35 #define WEBKIT_DOM_IS_TEST_OBJ_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), WEBKIT_TYPE_DOM_TEST_OBJ))
36 #define WEBKIT_DOM_TEST_OBJ_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), WEBKIT_TYPE_DOM_TEST_OBJ, WebKitDOMTestObjClass))
38 struct _WebKitDOMTestObj {
39 WebKitDOMObject parent_instance;
42 struct _WebKitDOMTestObjClass {
43 WebKitDOMObjectClass parent_class;
47 webkit_dom_test_obj_get_type (void);
50 webkit_dom_test_obj_void_method (WebKitDOMTestObj *self);
53 webkit_dom_test_obj_void_method_with_args (WebKitDOMTestObj *self, glong int_arg, gchar* str_arg, WebKitDOMTestObj* obj_arg);
56 webkit_dom_test_obj_int_method (WebKitDOMTestObj *self);
59 webkit_dom_test_obj_int_method_with_args (WebKitDOMTestObj *self, glong int_arg, gchar* str_arg, WebKitDOMTestObj* obj_arg);
61 WEBKIT_API WebKitDOMTestObj*
62 webkit_dom_test_obj_obj_method (WebKitDOMTestObj *self);
64 WEBKIT_API WebKitDOMTestObj*
65 webkit_dom_test_obj_obj_method_with_args (WebKitDOMTestObj *self, glong int_arg, gchar* str_arg, WebKitDOMTestObj* obj_arg);
68 webkit_dom_test_obj_serialized_value (WebKitDOMTestObj *self, WebKitDOMSerializedScriptValue* serialized_arg);
71 webkit_dom_test_obj_method_with_exception (WebKitDOMTestObj *self, GError **error);
74 /* TODO: event function webkit_dom_test_obj_add_event_listener */
77 /* TODO: event function webkit_dom_test_obj_remove_event_listener */
80 webkit_dom_test_obj_with_dynamic_frame (WebKitDOMTestObj *self);
83 webkit_dom_test_obj_with_dynamic_frame_and_arg (WebKitDOMTestObj *self, glong int_arg);
86 webkit_dom_test_obj_with_dynamic_frame_and_optional_arg (WebKitDOMTestObj *self, glong int_arg, glong optional_arg);
89 webkit_dom_test_obj_with_dynamic_frame_and_user_gesture (WebKitDOMTestObj *self, glong int_arg);
92 webkit_dom_test_obj_with_dynamic_frame_and_user_gesture_asad (WebKitDOMTestObj *self, glong int_arg, glong optional_arg);
95 webkit_dom_test_obj_with_script_state_void (WebKitDOMTestObj *self);
97 WEBKIT_API WebKitDOMTestObj*
98 webkit_dom_test_obj_with_script_state_obj (WebKitDOMTestObj *self);
101 webkit_dom_test_obj_with_script_state_void_exception (WebKitDOMTestObj *self, GError **error);
103 WEBKIT_API WebKitDOMTestObj*
104 webkit_dom_test_obj_with_script_state_obj_exception (WebKitDOMTestObj *self, GError **error);
107 webkit_dom_test_obj_method_with_optional_arg (WebKitDOMTestObj *self, glong opt);
110 webkit_dom_test_obj_method_with_non_optional_arg_and_optional_arg (WebKitDOMTestObj *self, glong non_opt, glong opt);
113 webkit_dom_test_obj_method_with_non_optional_arg_and_two_optional_args (WebKitDOMTestObj *self, glong non_opt, glong opt1, glong opt2);
116 webkit_dom_test_obj_get_read_only_int_attr (WebKitDOMTestObj *self);
119 webkit_dom_test_obj_get_read_only_string_attr (WebKitDOMTestObj *self);
121 WEBKIT_API WebKitDOMTestObj*
122 webkit_dom_test_obj_get_read_only_test_obj_attr (WebKitDOMTestObj *self);
125 webkit_dom_test_obj_get_int_attr (WebKitDOMTestObj *self);
128 webkit_dom_test_obj_set_int_attr (WebKitDOMTestObj *self, glong value);
131 webkit_dom_test_obj_get_long_long_attr (WebKitDOMTestObj *self);
134 webkit_dom_test_obj_set_long_long_attr (WebKitDOMTestObj *self, gint64 value);
137 webkit_dom_test_obj_get_unsigned_long_long_attr (WebKitDOMTestObj *self);
140 webkit_dom_test_obj_set_unsigned_long_long_attr (WebKitDOMTestObj *self, guint64 value);
143 webkit_dom_test_obj_get_string_attr (WebKitDOMTestObj *self);
146 webkit_dom_test_obj_set_string_attr (WebKitDOMTestObj *self, gchar* value);
148 WEBKIT_API WebKitDOMTestObj*
149 webkit_dom_test_obj_get_test_obj_attr (WebKitDOMTestObj *self);
152 webkit_dom_test_obj_set_test_obj_attr (WebKitDOMTestObj *self, WebKitDOMTestObj* value);
155 webkit_dom_test_obj_get_attr_with_exception (WebKitDOMTestObj *self);
158 webkit_dom_test_obj_set_attr_with_exception (WebKitDOMTestObj *self, glong value);
161 webkit_dom_test_obj_get_attr_with_setter_exception (WebKitDOMTestObj *self);
164 webkit_dom_test_obj_set_attr_with_setter_exception (WebKitDOMTestObj *self, glong value);
167 webkit_dom_test_obj_get_attr_with_getter_exception (WebKitDOMTestObj *self);
170 webkit_dom_test_obj_set_attr_with_getter_exception (WebKitDOMTestObj *self, glong value);
173 webkit_dom_test_obj_get_script_string_attr (WebKitDOMTestObj *self);
177 #endif /* WebKitDOMTestObj_h */