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 WebKitDOMTestObj_h 22#define WebKitDOMTestObj_h 23 24#include "webkit/webkitdomdefines.h" 25#include <glib-object.h> 26#include <webkit/webkitdefines.h> 27#include "webkit/WebKitDOMObject.h" 28 29 30G_BEGIN_DECLS 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)) 37 38struct _WebKitDOMTestObj { 39 WebKitDOMObject parent_instance; 40}; 41 42struct _WebKitDOMTestObjClass { 43 WebKitDOMObjectClass parent_class; 44}; 45 46WEBKIT_API GType 47webkit_dom_test_obj_get_type (void); 48 49WEBKIT_API void 50webkit_dom_test_obj_void_method(WebKitDOMTestObj* self); 51 52WEBKIT_API void 53webkit_dom_test_obj_void_method_with_args(WebKitDOMTestObj* self, glong int_arg, const gchar* str_arg, WebKitDOMTestObj* obj_arg); 54 55WEBKIT_API glong 56webkit_dom_test_obj_int_method(WebKitDOMTestObj* self); 57 58WEBKIT_API glong 59webkit_dom_test_obj_int_method_with_args(WebKitDOMTestObj* self, glong int_arg, const gchar* str_arg, WebKitDOMTestObj* obj_arg); 60 61WEBKIT_API WebKitDOMTestObj* 62webkit_dom_test_obj_obj_method(WebKitDOMTestObj* self); 63 64WEBKIT_API WebKitDOMTestObj* 65webkit_dom_test_obj_obj_method_with_args(WebKitDOMTestObj* self, glong int_arg, const gchar* str_arg, WebKitDOMTestObj* obj_arg); 66 67WEBKIT_API WebKitDOMTestObj* 68webkit_dom_test_obj_method_that_requires_all_args(WebKitDOMTestObj* self, const gchar* str_arg, WebKitDOMTestObj* obj_arg); 69 70WEBKIT_API WebKitDOMTestObj* 71webkit_dom_test_obj_method_that_requires_all_args_and_throws(WebKitDOMTestObj* self, const gchar* str_arg, WebKitDOMTestObj* obj_arg, GError **error); 72 73WEBKIT_API void 74webkit_dom_test_obj_serialized_value(WebKitDOMTestObj* self, WebKitDOMSerializedScriptValue* serialized_arg); 75 76WEBKIT_API void 77webkit_dom_test_obj_idb_key(WebKitDOMTestObj* self, WebKitDOMIDBKey* key); 78 79WEBKIT_API void 80webkit_dom_test_obj_options_object(WebKitDOMTestObj* self, WebKitDOMOptionsObject* oo, WebKitDOMOptionsObject* ooo); 81 82WEBKIT_API void 83webkit_dom_test_obj_method_with_exception(WebKitDOMTestObj* self, GError **error); 84 85WEBKIT_API void 86webkit_dom_test_obj_with_dynamic_frame(WebKitDOMTestObj* self); 87 88WEBKIT_API void 89webkit_dom_test_obj_with_dynamic_frame_and_arg(WebKitDOMTestObj* self, glong int_arg); 90 91WEBKIT_API void 92webkit_dom_test_obj_with_dynamic_frame_and_optional_arg(WebKitDOMTestObj* self, glong int_arg, glong optional_arg); 93 94WEBKIT_API void 95webkit_dom_test_obj_with_dynamic_frame_and_user_gesture(WebKitDOMTestObj* self, glong int_arg, gboolean isUserGesture); 96 97WEBKIT_API void 98webkit_dom_test_obj_with_dynamic_frame_and_user_gesture_asad(WebKitDOMTestObj* self, glong int_arg, glong optional_arg, gboolean isUserGesture); 99 100WEBKIT_API void 101webkit_dom_test_obj_with_script_state_void(WebKitDOMTestObj* self); 102 103WEBKIT_API WebKitDOMTestObj* 104webkit_dom_test_obj_with_script_state_obj(WebKitDOMTestObj* self); 105 106WEBKIT_API void 107webkit_dom_test_obj_with_script_state_void_exception(WebKitDOMTestObj* self, GError **error); 108 109WEBKIT_API WebKitDOMTestObj* 110webkit_dom_test_obj_with_script_state_obj_exception(WebKitDOMTestObj* self, GError **error); 111 112WEBKIT_API void 113webkit_dom_test_obj_with_script_execution_context(WebKitDOMTestObj* self); 114 115WEBKIT_API void 116webkit_dom_test_obj_method_with_optional_arg(WebKitDOMTestObj* self, glong opt); 117 118WEBKIT_API void 119webkit_dom_test_obj_method_with_non_optional_arg_and_optional_arg(WebKitDOMTestObj* self, glong non_opt, glong opt); 120 121WEBKIT_API void 122webkit_dom_test_obj_method_with_non_optional_arg_and_two_optional_args(WebKitDOMTestObj* self, glong non_opt, glong opt1, glong opt2); 123 124WEBKIT_API void 125webkit_dom_test_obj_class_method(WebKitDOMTestObj* self); 126 127WEBKIT_API glong 128webkit_dom_test_obj_class_method_with_optional(WebKitDOMTestObj* self, glong arg); 129 130WEBKIT_API glong 131webkit_dom_test_obj_get_read_only_int_attr(WebKitDOMTestObj* self); 132 133WEBKIT_API gchar* 134webkit_dom_test_obj_get_read_only_string_attr(WebKitDOMTestObj* self); 135 136WEBKIT_API WebKitDOMTestObj* 137webkit_dom_test_obj_get_read_only_test_obj_attr(WebKitDOMTestObj* self); 138 139WEBKIT_API gshort 140webkit_dom_test_obj_get_short_attr(WebKitDOMTestObj* self); 141 142WEBKIT_API void 143webkit_dom_test_obj_set_short_attr(WebKitDOMTestObj* self, gshort value); 144 145WEBKIT_API gushort 146webkit_dom_test_obj_get_unsigned_short_attr(WebKitDOMTestObj* self); 147 148WEBKIT_API void 149webkit_dom_test_obj_set_unsigned_short_attr(WebKitDOMTestObj* self, gushort value); 150 151WEBKIT_API glong 152webkit_dom_test_obj_get_int_attr(WebKitDOMTestObj* self); 153 154WEBKIT_API void 155webkit_dom_test_obj_set_int_attr(WebKitDOMTestObj* self, glong value); 156 157WEBKIT_API gint64 158webkit_dom_test_obj_get_long_long_attr(WebKitDOMTestObj* self); 159 160WEBKIT_API void 161webkit_dom_test_obj_set_long_long_attr(WebKitDOMTestObj* self, gint64 value); 162 163WEBKIT_API guint64 164webkit_dom_test_obj_get_unsigned_long_long_attr(WebKitDOMTestObj* self); 165 166WEBKIT_API void 167webkit_dom_test_obj_set_unsigned_long_long_attr(WebKitDOMTestObj* self, guint64 value); 168 169WEBKIT_API gchar* 170webkit_dom_test_obj_get_string_attr(WebKitDOMTestObj* self); 171 172WEBKIT_API void 173webkit_dom_test_obj_set_string_attr(WebKitDOMTestObj* self, const gchar* value); 174 175WEBKIT_API WebKitDOMTestObj* 176webkit_dom_test_obj_get_test_obj_attr(WebKitDOMTestObj* self); 177 178WEBKIT_API void 179webkit_dom_test_obj_set_test_obj_attr(WebKitDOMTestObj* self, WebKitDOMTestObj* value); 180 181WEBKIT_API WebKitDOMTestObj* 182webkit_dom_test_obj_get_xml_obj_attr(WebKitDOMTestObj* self); 183 184WEBKIT_API void 185webkit_dom_test_obj_set_xml_obj_attr(WebKitDOMTestObj* self, WebKitDOMTestObj* value); 186 187WEBKIT_API gboolean 188webkit_dom_test_obj_get_create(WebKitDOMTestObj* self); 189 190WEBKIT_API void 191webkit_dom_test_obj_set_create(WebKitDOMTestObj* self, gboolean value); 192 193WEBKIT_API gchar* 194webkit_dom_test_obj_get_reflected_string_attr(WebKitDOMTestObj* self); 195 196WEBKIT_API void 197webkit_dom_test_obj_set_reflected_string_attr(WebKitDOMTestObj* self, const gchar* value); 198 199WEBKIT_API glong 200webkit_dom_test_obj_get_reflected_integral_attr(WebKitDOMTestObj* self); 201 202WEBKIT_API void 203webkit_dom_test_obj_set_reflected_integral_attr(WebKitDOMTestObj* self, glong value); 204 205WEBKIT_API gulong 206webkit_dom_test_obj_get_reflected_unsigned_integral_attr(WebKitDOMTestObj* self); 207 208WEBKIT_API void 209webkit_dom_test_obj_set_reflected_unsigned_integral_attr(WebKitDOMTestObj* self, gulong value); 210 211WEBKIT_API gboolean 212webkit_dom_test_obj_get_reflected_boolean_attr(WebKitDOMTestObj* self); 213 214WEBKIT_API void 215webkit_dom_test_obj_set_reflected_boolean_attr(WebKitDOMTestObj* self, gboolean value); 216 217WEBKIT_API gchar* 218webkit_dom_test_obj_get_reflected_url_attr(WebKitDOMTestObj* self); 219 220WEBKIT_API void 221webkit_dom_test_obj_set_reflected_url_attr(WebKitDOMTestObj* self, const gchar* value); 222 223WEBKIT_API gchar* 224webkit_dom_test_obj_get_reflected_non_empty_url_attr(WebKitDOMTestObj* self); 225 226WEBKIT_API void 227webkit_dom_test_obj_set_reflected_non_empty_url_attr(WebKitDOMTestObj* self, const gchar* value); 228 229WEBKIT_API gchar* 230webkit_dom_test_obj_get_reflected_string_attr(WebKitDOMTestObj* self); 231 232WEBKIT_API void 233webkit_dom_test_obj_set_reflected_string_attr(WebKitDOMTestObj* self, const gchar* value); 234 235WEBKIT_API glong 236webkit_dom_test_obj_get_reflected_custom_integral_attr(WebKitDOMTestObj* self); 237 238WEBKIT_API void 239webkit_dom_test_obj_set_reflected_custom_integral_attr(WebKitDOMTestObj* self, glong value); 240 241WEBKIT_API gboolean 242webkit_dom_test_obj_get_reflected_custom_boolean_attr(WebKitDOMTestObj* self); 243 244WEBKIT_API void 245webkit_dom_test_obj_set_reflected_custom_boolean_attr(WebKitDOMTestObj* self, gboolean value); 246 247WEBKIT_API gchar* 248webkit_dom_test_obj_get_reflected_custom_url_attr(WebKitDOMTestObj* self); 249 250WEBKIT_API void 251webkit_dom_test_obj_set_reflected_custom_url_attr(WebKitDOMTestObj* self, const gchar* value); 252 253WEBKIT_API gchar* 254webkit_dom_test_obj_get_reflected_custom_non_empty_url_attr(WebKitDOMTestObj* self); 255 256WEBKIT_API void 257webkit_dom_test_obj_set_reflected_custom_non_empty_url_attr(WebKitDOMTestObj* self, const gchar* value); 258 259WEBKIT_API glong 260webkit_dom_test_obj_get_attr_with_getter_exception(WebKitDOMTestObj* self, GError **error); 261 262WEBKIT_API void 263webkit_dom_test_obj_set_attr_with_getter_exception(WebKitDOMTestObj* self, glong value, GError **error); 264 265WEBKIT_API glong 266webkit_dom_test_obj_get_attr_with_setter_exception(WebKitDOMTestObj* self); 267 268WEBKIT_API void 269webkit_dom_test_obj_set_attr_with_setter_exception(WebKitDOMTestObj* self, glong value, GError **error); 270 271WEBKIT_API gchar* 272webkit_dom_test_obj_get_string_attr_with_getter_exception(WebKitDOMTestObj* self, GError **error); 273 274WEBKIT_API void 275webkit_dom_test_obj_set_string_attr_with_getter_exception(WebKitDOMTestObj* self, const gchar* value, GError **error); 276 277WEBKIT_API gchar* 278webkit_dom_test_obj_get_string_attr_with_setter_exception(WebKitDOMTestObj* self); 279 280WEBKIT_API void 281webkit_dom_test_obj_set_string_attr_with_setter_exception(WebKitDOMTestObj* self, const gchar* value, GError **error); 282 283WEBKIT_API gchar* 284webkit_dom_test_obj_get_script_string_attr(WebKitDOMTestObj* self); 285 286WEBKIT_API glong 287webkit_dom_test_obj_get_conditional_attr1(WebKitDOMTestObj* self); 288 289WEBKIT_API void 290webkit_dom_test_obj_set_conditional_attr1(WebKitDOMTestObj* self, glong value); 291 292WEBKIT_API glong 293webkit_dom_test_obj_get_conditional_attr2(WebKitDOMTestObj* self); 294 295WEBKIT_API void 296webkit_dom_test_obj_set_conditional_attr2(WebKitDOMTestObj* self, glong value); 297 298WEBKIT_API glong 299webkit_dom_test_obj_get_conditional_attr3(WebKitDOMTestObj* self); 300 301WEBKIT_API void 302webkit_dom_test_obj_set_conditional_attr3(WebKitDOMTestObj* self, glong value); 303 304WEBKIT_API glong 305webkit_dom_test_obj_get_description(WebKitDOMTestObj* self); 306 307WEBKIT_API glong 308webkit_dom_test_obj_get_id(WebKitDOMTestObj* self); 309 310WEBKIT_API void 311webkit_dom_test_obj_set_id(WebKitDOMTestObj* self, glong value); 312 313WEBKIT_API gchar* 314webkit_dom_test_obj_get_hash(WebKitDOMTestObj* self); 315 316G_END_DECLS 317 318#endif /* WebKitDOMTestObj_h */ 319