1 /* 2 * This file is generated by gdbus-codegen, do not modify it. 3 * 4 * The license of this code is the same as for the D-Bus interface description 5 * it was derived from. Note that it links to GLib, so must comply with the 6 * LGPL linking clauses. 7 */ 8 9 #ifndef __GDBUS_DAEMON_GENERATED_H__ 10 #define __GDBUS_DAEMON_GENERATED_H__ 11 12 #include <gio/gio.h> 13 14 G_BEGIN_DECLS 15 16 17 /* ------------------------------------------------------------------------ */ 18 /* Declarations for org.freedesktop.DBus */ 19 20 #define _G_TYPE_FREEDESKTOP_DBUS (_g_freedesktop_dbus_get_type ()) 21 #define _G_FREEDESKTOP_DBUS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), _G_TYPE_FREEDESKTOP_DBUS, _GFreedesktopDBus)) 22 #define _G_IS_FREEDESKTOP_DBUS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), _G_TYPE_FREEDESKTOP_DBUS)) 23 #define _G_FREEDESKTOP_DBUS_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), _G_TYPE_FREEDESKTOP_DBUS, _GFreedesktopDBusIface)) 24 25 struct __GFreedesktopDBus; 26 typedef struct __GFreedesktopDBus _GFreedesktopDBus; 27 typedef struct __GFreedesktopDBusIface _GFreedesktopDBusIface; 28 29 struct __GFreedesktopDBusIface 30 { 31 GTypeInterface parent_iface; 32 33 34 gboolean (*handle_add_match) ( 35 _GFreedesktopDBus *object, 36 GDBusMethodInvocation *invocation, 37 const gchar *arg_rule); 38 39 gboolean (*handle_get_connection_selinux_security_context) ( 40 _GFreedesktopDBus *object, 41 GDBusMethodInvocation *invocation, 42 const gchar *arg_name); 43 44 gboolean (*handle_get_connection_unix_process_id) ( 45 _GFreedesktopDBus *object, 46 GDBusMethodInvocation *invocation, 47 const gchar *arg_name); 48 49 gboolean (*handle_get_connection_unix_user) ( 50 _GFreedesktopDBus *object, 51 GDBusMethodInvocation *invocation, 52 const gchar *arg_name); 53 54 gboolean (*handle_get_id) ( 55 _GFreedesktopDBus *object, 56 GDBusMethodInvocation *invocation); 57 58 gboolean (*handle_get_name_owner) ( 59 _GFreedesktopDBus *object, 60 GDBusMethodInvocation *invocation, 61 const gchar *arg_name); 62 63 gboolean (*handle_hello) ( 64 _GFreedesktopDBus *object, 65 GDBusMethodInvocation *invocation); 66 67 gboolean (*handle_list_activatable_names) ( 68 _GFreedesktopDBus *object, 69 GDBusMethodInvocation *invocation); 70 71 gboolean (*handle_list_names) ( 72 _GFreedesktopDBus *object, 73 GDBusMethodInvocation *invocation); 74 75 gboolean (*handle_list_queued_owners) ( 76 _GFreedesktopDBus *object, 77 GDBusMethodInvocation *invocation, 78 const gchar *arg_name); 79 80 gboolean (*handle_name_has_owner) ( 81 _GFreedesktopDBus *object, 82 GDBusMethodInvocation *invocation, 83 const gchar *arg_name); 84 85 gboolean (*handle_release_name) ( 86 _GFreedesktopDBus *object, 87 GDBusMethodInvocation *invocation, 88 const gchar *arg_name); 89 90 gboolean (*handle_reload_config) ( 91 _GFreedesktopDBus *object, 92 GDBusMethodInvocation *invocation); 93 94 gboolean (*handle_remove_match) ( 95 _GFreedesktopDBus *object, 96 GDBusMethodInvocation *invocation, 97 const gchar *arg_rule); 98 99 gboolean (*handle_request_name) ( 100 _GFreedesktopDBus *object, 101 GDBusMethodInvocation *invocation, 102 const gchar *arg_name, 103 guint arg_flags); 104 105 gboolean (*handle_start_service_by_name) ( 106 _GFreedesktopDBus *object, 107 GDBusMethodInvocation *invocation, 108 const gchar *arg_name, 109 guint arg_flags); 110 111 gboolean (*handle_update_activation_environment) ( 112 _GFreedesktopDBus *object, 113 GDBusMethodInvocation *invocation, 114 GVariant *arg_environment); 115 116 void (*name_acquired) ( 117 _GFreedesktopDBus *object, 118 const gchar *arg_name); 119 120 void (*name_lost) ( 121 _GFreedesktopDBus *object, 122 const gchar *arg_name); 123 124 void (*name_owner_changed) ( 125 _GFreedesktopDBus *object, 126 const gchar *arg_name, 127 const gchar *arg_old_owner, 128 const gchar *arg_new_owner); 129 130 }; 131 132 GType _g_freedesktop_dbus_get_type (void) G_GNUC_CONST; 133 134 GDBusInterfaceInfo *_g_freedesktop_dbus_interface_info (void); 135 guint _g_freedesktop_dbus_override_properties (GObjectClass *klass, guint property_id_begin); 136 137 138 /* D-Bus method call completion functions: */ 139 void _g_freedesktop_dbus_complete_hello ( 140 _GFreedesktopDBus *object, 141 GDBusMethodInvocation *invocation, 142 const gchar *assigned_name); 143 144 void _g_freedesktop_dbus_complete_request_name ( 145 _GFreedesktopDBus *object, 146 GDBusMethodInvocation *invocation, 147 guint value); 148 149 void _g_freedesktop_dbus_complete_release_name ( 150 _GFreedesktopDBus *object, 151 GDBusMethodInvocation *invocation, 152 guint value); 153 154 void _g_freedesktop_dbus_complete_start_service_by_name ( 155 _GFreedesktopDBus *object, 156 GDBusMethodInvocation *invocation, 157 guint value); 158 159 void _g_freedesktop_dbus_complete_name_has_owner ( 160 _GFreedesktopDBus *object, 161 GDBusMethodInvocation *invocation, 162 gboolean has_owner); 163 164 void _g_freedesktop_dbus_complete_list_names ( 165 _GFreedesktopDBus *object, 166 GDBusMethodInvocation *invocation, 167 const gchar *const *names); 168 169 void _g_freedesktop_dbus_complete_list_activatable_names ( 170 _GFreedesktopDBus *object, 171 GDBusMethodInvocation *invocation, 172 const gchar *const *activatable_names); 173 174 void _g_freedesktop_dbus_complete_add_match ( 175 _GFreedesktopDBus *object, 176 GDBusMethodInvocation *invocation); 177 178 void _g_freedesktop_dbus_complete_remove_match ( 179 _GFreedesktopDBus *object, 180 GDBusMethodInvocation *invocation); 181 182 void _g_freedesktop_dbus_complete_get_name_owner ( 183 _GFreedesktopDBus *object, 184 GDBusMethodInvocation *invocation, 185 const gchar *unique_name); 186 187 void _g_freedesktop_dbus_complete_list_queued_owners ( 188 _GFreedesktopDBus *object, 189 GDBusMethodInvocation *invocation, 190 const gchar *const *queued_owners); 191 192 void _g_freedesktop_dbus_complete_get_connection_unix_user ( 193 _GFreedesktopDBus *object, 194 GDBusMethodInvocation *invocation, 195 guint uid); 196 197 void _g_freedesktop_dbus_complete_get_connection_unix_process_id ( 198 _GFreedesktopDBus *object, 199 GDBusMethodInvocation *invocation, 200 guint pid); 201 202 void _g_freedesktop_dbus_complete_get_connection_selinux_security_context ( 203 _GFreedesktopDBus *object, 204 GDBusMethodInvocation *invocation, 205 const gchar *security_context); 206 207 void _g_freedesktop_dbus_complete_update_activation_environment ( 208 _GFreedesktopDBus *object, 209 GDBusMethodInvocation *invocation); 210 211 void _g_freedesktop_dbus_complete_reload_config ( 212 _GFreedesktopDBus *object, 213 GDBusMethodInvocation *invocation); 214 215 void _g_freedesktop_dbus_complete_get_id ( 216 _GFreedesktopDBus *object, 217 GDBusMethodInvocation *invocation, 218 const gchar *unique_id); 219 220 221 222 /* D-Bus signal emissions functions: */ 223 void _g_freedesktop_dbus_emit_name_owner_changed ( 224 _GFreedesktopDBus *object, 225 const gchar *arg_name, 226 const gchar *arg_old_owner, 227 const gchar *arg_new_owner); 228 229 void _g_freedesktop_dbus_emit_name_lost ( 230 _GFreedesktopDBus *object, 231 const gchar *arg_name); 232 233 void _g_freedesktop_dbus_emit_name_acquired ( 234 _GFreedesktopDBus *object, 235 const gchar *arg_name); 236 237 238 239 /* D-Bus method calls: */ 240 void _g_freedesktop_dbus_call_hello ( 241 _GFreedesktopDBus *proxy, 242 GCancellable *cancellable, 243 GAsyncReadyCallback callback, 244 gpointer user_data); 245 246 gboolean _g_freedesktop_dbus_call_hello_finish ( 247 _GFreedesktopDBus *proxy, 248 gchar **out_assigned_name, 249 GAsyncResult *res, 250 GError **error); 251 252 gboolean _g_freedesktop_dbus_call_hello_sync ( 253 _GFreedesktopDBus *proxy, 254 gchar **out_assigned_name, 255 GCancellable *cancellable, 256 GError **error); 257 258 void _g_freedesktop_dbus_call_request_name ( 259 _GFreedesktopDBus *proxy, 260 const gchar *arg_name, 261 guint arg_flags, 262 GCancellable *cancellable, 263 GAsyncReadyCallback callback, 264 gpointer user_data); 265 266 gboolean _g_freedesktop_dbus_call_request_name_finish ( 267 _GFreedesktopDBus *proxy, 268 guint *out_value, 269 GAsyncResult *res, 270 GError **error); 271 272 gboolean _g_freedesktop_dbus_call_request_name_sync ( 273 _GFreedesktopDBus *proxy, 274 const gchar *arg_name, 275 guint arg_flags, 276 guint *out_value, 277 GCancellable *cancellable, 278 GError **error); 279 280 void _g_freedesktop_dbus_call_release_name ( 281 _GFreedesktopDBus *proxy, 282 const gchar *arg_name, 283 GCancellable *cancellable, 284 GAsyncReadyCallback callback, 285 gpointer user_data); 286 287 gboolean _g_freedesktop_dbus_call_release_name_finish ( 288 _GFreedesktopDBus *proxy, 289 guint *out_value, 290 GAsyncResult *res, 291 GError **error); 292 293 gboolean _g_freedesktop_dbus_call_release_name_sync ( 294 _GFreedesktopDBus *proxy, 295 const gchar *arg_name, 296 guint *out_value, 297 GCancellable *cancellable, 298 GError **error); 299 300 void _g_freedesktop_dbus_call_start_service_by_name ( 301 _GFreedesktopDBus *proxy, 302 const gchar *arg_name, 303 guint arg_flags, 304 GCancellable *cancellable, 305 GAsyncReadyCallback callback, 306 gpointer user_data); 307 308 gboolean _g_freedesktop_dbus_call_start_service_by_name_finish ( 309 _GFreedesktopDBus *proxy, 310 guint *out_value, 311 GAsyncResult *res, 312 GError **error); 313 314 gboolean _g_freedesktop_dbus_call_start_service_by_name_sync ( 315 _GFreedesktopDBus *proxy, 316 const gchar *arg_name, 317 guint arg_flags, 318 guint *out_value, 319 GCancellable *cancellable, 320 GError **error); 321 322 void _g_freedesktop_dbus_call_name_has_owner ( 323 _GFreedesktopDBus *proxy, 324 const gchar *arg_name, 325 GCancellable *cancellable, 326 GAsyncReadyCallback callback, 327 gpointer user_data); 328 329 gboolean _g_freedesktop_dbus_call_name_has_owner_finish ( 330 _GFreedesktopDBus *proxy, 331 gboolean *out_has_owner, 332 GAsyncResult *res, 333 GError **error); 334 335 gboolean _g_freedesktop_dbus_call_name_has_owner_sync ( 336 _GFreedesktopDBus *proxy, 337 const gchar *arg_name, 338 gboolean *out_has_owner, 339 GCancellable *cancellable, 340 GError **error); 341 342 void _g_freedesktop_dbus_call_list_names ( 343 _GFreedesktopDBus *proxy, 344 GCancellable *cancellable, 345 GAsyncReadyCallback callback, 346 gpointer user_data); 347 348 gboolean _g_freedesktop_dbus_call_list_names_finish ( 349 _GFreedesktopDBus *proxy, 350 gchar ***out_names, 351 GAsyncResult *res, 352 GError **error); 353 354 gboolean _g_freedesktop_dbus_call_list_names_sync ( 355 _GFreedesktopDBus *proxy, 356 gchar ***out_names, 357 GCancellable *cancellable, 358 GError **error); 359 360 void _g_freedesktop_dbus_call_list_activatable_names ( 361 _GFreedesktopDBus *proxy, 362 GCancellable *cancellable, 363 GAsyncReadyCallback callback, 364 gpointer user_data); 365 366 gboolean _g_freedesktop_dbus_call_list_activatable_names_finish ( 367 _GFreedesktopDBus *proxy, 368 gchar ***out_activatable_names, 369 GAsyncResult *res, 370 GError **error); 371 372 gboolean _g_freedesktop_dbus_call_list_activatable_names_sync ( 373 _GFreedesktopDBus *proxy, 374 gchar ***out_activatable_names, 375 GCancellable *cancellable, 376 GError **error); 377 378 void _g_freedesktop_dbus_call_add_match ( 379 _GFreedesktopDBus *proxy, 380 const gchar *arg_rule, 381 GCancellable *cancellable, 382 GAsyncReadyCallback callback, 383 gpointer user_data); 384 385 gboolean _g_freedesktop_dbus_call_add_match_finish ( 386 _GFreedesktopDBus *proxy, 387 GAsyncResult *res, 388 GError **error); 389 390 gboolean _g_freedesktop_dbus_call_add_match_sync ( 391 _GFreedesktopDBus *proxy, 392 const gchar *arg_rule, 393 GCancellable *cancellable, 394 GError **error); 395 396 void _g_freedesktop_dbus_call_remove_match ( 397 _GFreedesktopDBus *proxy, 398 const gchar *arg_rule, 399 GCancellable *cancellable, 400 GAsyncReadyCallback callback, 401 gpointer user_data); 402 403 gboolean _g_freedesktop_dbus_call_remove_match_finish ( 404 _GFreedesktopDBus *proxy, 405 GAsyncResult *res, 406 GError **error); 407 408 gboolean _g_freedesktop_dbus_call_remove_match_sync ( 409 _GFreedesktopDBus *proxy, 410 const gchar *arg_rule, 411 GCancellable *cancellable, 412 GError **error); 413 414 void _g_freedesktop_dbus_call_get_name_owner ( 415 _GFreedesktopDBus *proxy, 416 const gchar *arg_name, 417 GCancellable *cancellable, 418 GAsyncReadyCallback callback, 419 gpointer user_data); 420 421 gboolean _g_freedesktop_dbus_call_get_name_owner_finish ( 422 _GFreedesktopDBus *proxy, 423 gchar **out_unique_name, 424 GAsyncResult *res, 425 GError **error); 426 427 gboolean _g_freedesktop_dbus_call_get_name_owner_sync ( 428 _GFreedesktopDBus *proxy, 429 const gchar *arg_name, 430 gchar **out_unique_name, 431 GCancellable *cancellable, 432 GError **error); 433 434 void _g_freedesktop_dbus_call_list_queued_owners ( 435 _GFreedesktopDBus *proxy, 436 const gchar *arg_name, 437 GCancellable *cancellable, 438 GAsyncReadyCallback callback, 439 gpointer user_data); 440 441 gboolean _g_freedesktop_dbus_call_list_queued_owners_finish ( 442 _GFreedesktopDBus *proxy, 443 gchar ***out_queued_owners, 444 GAsyncResult *res, 445 GError **error); 446 447 gboolean _g_freedesktop_dbus_call_list_queued_owners_sync ( 448 _GFreedesktopDBus *proxy, 449 const gchar *arg_name, 450 gchar ***out_queued_owners, 451 GCancellable *cancellable, 452 GError **error); 453 454 void _g_freedesktop_dbus_call_get_connection_unix_user ( 455 _GFreedesktopDBus *proxy, 456 const gchar *arg_name, 457 GCancellable *cancellable, 458 GAsyncReadyCallback callback, 459 gpointer user_data); 460 461 gboolean _g_freedesktop_dbus_call_get_connection_unix_user_finish ( 462 _GFreedesktopDBus *proxy, 463 guint *out_uid, 464 GAsyncResult *res, 465 GError **error); 466 467 gboolean _g_freedesktop_dbus_call_get_connection_unix_user_sync ( 468 _GFreedesktopDBus *proxy, 469 const gchar *arg_name, 470 guint *out_uid, 471 GCancellable *cancellable, 472 GError **error); 473 474 void _g_freedesktop_dbus_call_get_connection_unix_process_id ( 475 _GFreedesktopDBus *proxy, 476 const gchar *arg_name, 477 GCancellable *cancellable, 478 GAsyncReadyCallback callback, 479 gpointer user_data); 480 481 gboolean _g_freedesktop_dbus_call_get_connection_unix_process_id_finish ( 482 _GFreedesktopDBus *proxy, 483 guint *out_pid, 484 GAsyncResult *res, 485 GError **error); 486 487 gboolean _g_freedesktop_dbus_call_get_connection_unix_process_id_sync ( 488 _GFreedesktopDBus *proxy, 489 const gchar *arg_name, 490 guint *out_pid, 491 GCancellable *cancellable, 492 GError **error); 493 494 void _g_freedesktop_dbus_call_get_connection_selinux_security_context ( 495 _GFreedesktopDBus *proxy, 496 const gchar *arg_name, 497 GCancellable *cancellable, 498 GAsyncReadyCallback callback, 499 gpointer user_data); 500 501 gboolean _g_freedesktop_dbus_call_get_connection_selinux_security_context_finish ( 502 _GFreedesktopDBus *proxy, 503 gchar **out_security_context, 504 GAsyncResult *res, 505 GError **error); 506 507 gboolean _g_freedesktop_dbus_call_get_connection_selinux_security_context_sync ( 508 _GFreedesktopDBus *proxy, 509 const gchar *arg_name, 510 gchar **out_security_context, 511 GCancellable *cancellable, 512 GError **error); 513 514 void _g_freedesktop_dbus_call_update_activation_environment ( 515 _GFreedesktopDBus *proxy, 516 GVariant *arg_environment, 517 GCancellable *cancellable, 518 GAsyncReadyCallback callback, 519 gpointer user_data); 520 521 gboolean _g_freedesktop_dbus_call_update_activation_environment_finish ( 522 _GFreedesktopDBus *proxy, 523 GAsyncResult *res, 524 GError **error); 525 526 gboolean _g_freedesktop_dbus_call_update_activation_environment_sync ( 527 _GFreedesktopDBus *proxy, 528 GVariant *arg_environment, 529 GCancellable *cancellable, 530 GError **error); 531 532 void _g_freedesktop_dbus_call_reload_config ( 533 _GFreedesktopDBus *proxy, 534 GCancellable *cancellable, 535 GAsyncReadyCallback callback, 536 gpointer user_data); 537 538 gboolean _g_freedesktop_dbus_call_reload_config_finish ( 539 _GFreedesktopDBus *proxy, 540 GAsyncResult *res, 541 GError **error); 542 543 gboolean _g_freedesktop_dbus_call_reload_config_sync ( 544 _GFreedesktopDBus *proxy, 545 GCancellable *cancellable, 546 GError **error); 547 548 void _g_freedesktop_dbus_call_get_id ( 549 _GFreedesktopDBus *proxy, 550 GCancellable *cancellable, 551 GAsyncReadyCallback callback, 552 gpointer user_data); 553 554 gboolean _g_freedesktop_dbus_call_get_id_finish ( 555 _GFreedesktopDBus *proxy, 556 gchar **out_unique_id, 557 GAsyncResult *res, 558 GError **error); 559 560 gboolean _g_freedesktop_dbus_call_get_id_sync ( 561 _GFreedesktopDBus *proxy, 562 gchar **out_unique_id, 563 GCancellable *cancellable, 564 GError **error); 565 566 567 568 /* ---- */ 569 570 #define _G_TYPE_FREEDESKTOP_DBUS_PROXY (_g_freedesktop_dbus_proxy_get_type ()) 571 #define _G_FREEDESKTOP_DBUS_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), _G_TYPE_FREEDESKTOP_DBUS_PROXY, _GFreedesktopDBusProxy)) 572 #define _G_FREEDESKTOP_DBUS_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), _G_TYPE_FREEDESKTOP_DBUS_PROXY, _GFreedesktopDBusProxyClass)) 573 #define _G_FREEDESKTOP_DBUS_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), _G_TYPE_FREEDESKTOP_DBUS_PROXY, _GFreedesktopDBusProxyClass)) 574 #define _G_IS_FREEDESKTOP_DBUS_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), _G_TYPE_FREEDESKTOP_DBUS_PROXY)) 575 #define _G_IS_FREEDESKTOP_DBUS_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), _G_TYPE_FREEDESKTOP_DBUS_PROXY)) 576 577 typedef struct __GFreedesktopDBusProxy _GFreedesktopDBusProxy; 578 typedef struct __GFreedesktopDBusProxyClass _GFreedesktopDBusProxyClass; 579 typedef struct __GFreedesktopDBusProxyPrivate _GFreedesktopDBusProxyPrivate; 580 581 struct __GFreedesktopDBusProxy 582 { 583 /*< private >*/ 584 GDBusProxy parent_instance; 585 _GFreedesktopDBusProxyPrivate *priv; 586 }; 587 588 struct __GFreedesktopDBusProxyClass 589 { 590 GDBusProxyClass parent_class; 591 }; 592 593 GType _g_freedesktop_dbus_proxy_get_type (void) G_GNUC_CONST; 594 595 #if GLIB_CHECK_VERSION(2, 44, 0) 596 G_DEFINE_AUTOPTR_CLEANUP_FUNC (_GFreedesktopDBusProxy, g_object_unref) 597 #endif 598 599 void _g_freedesktop_dbus_proxy_new ( 600 GDBusConnection *connection, 601 GDBusProxyFlags flags, 602 const gchar *name, 603 const gchar *object_path, 604 GCancellable *cancellable, 605 GAsyncReadyCallback callback, 606 gpointer user_data); 607 _GFreedesktopDBus *_g_freedesktop_dbus_proxy_new_finish ( 608 GAsyncResult *res, 609 GError **error); 610 _GFreedesktopDBus *_g_freedesktop_dbus_proxy_new_sync ( 611 GDBusConnection *connection, 612 GDBusProxyFlags flags, 613 const gchar *name, 614 const gchar *object_path, 615 GCancellable *cancellable, 616 GError **error); 617 618 void _g_freedesktop_dbus_proxy_new_for_bus ( 619 GBusType bus_type, 620 GDBusProxyFlags flags, 621 const gchar *name, 622 const gchar *object_path, 623 GCancellable *cancellable, 624 GAsyncReadyCallback callback, 625 gpointer user_data); 626 _GFreedesktopDBus *_g_freedesktop_dbus_proxy_new_for_bus_finish ( 627 GAsyncResult *res, 628 GError **error); 629 _GFreedesktopDBus *_g_freedesktop_dbus_proxy_new_for_bus_sync ( 630 GBusType bus_type, 631 GDBusProxyFlags flags, 632 const gchar *name, 633 const gchar *object_path, 634 GCancellable *cancellable, 635 GError **error); 636 637 638 /* ---- */ 639 640 #define _G_TYPE_FREEDESKTOP_DBUS_SKELETON (_g_freedesktop_dbus_skeleton_get_type ()) 641 #define _G_FREEDESKTOP_DBUS_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), _G_TYPE_FREEDESKTOP_DBUS_SKELETON, _GFreedesktopDBusSkeleton)) 642 #define _G_FREEDESKTOP_DBUS_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), _G_TYPE_FREEDESKTOP_DBUS_SKELETON, _GFreedesktopDBusSkeletonClass)) 643 #define _G_FREEDESKTOP_DBUS_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), _G_TYPE_FREEDESKTOP_DBUS_SKELETON, _GFreedesktopDBusSkeletonClass)) 644 #define _G_IS_FREEDESKTOP_DBUS_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), _G_TYPE_FREEDESKTOP_DBUS_SKELETON)) 645 #define _G_IS_FREEDESKTOP_DBUS_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), _G_TYPE_FREEDESKTOP_DBUS_SKELETON)) 646 647 typedef struct __GFreedesktopDBusSkeleton _GFreedesktopDBusSkeleton; 648 typedef struct __GFreedesktopDBusSkeletonClass _GFreedesktopDBusSkeletonClass; 649 typedef struct __GFreedesktopDBusSkeletonPrivate _GFreedesktopDBusSkeletonPrivate; 650 651 struct __GFreedesktopDBusSkeleton 652 { 653 /*< private >*/ 654 GDBusInterfaceSkeleton parent_instance; 655 _GFreedesktopDBusSkeletonPrivate *priv; 656 }; 657 658 struct __GFreedesktopDBusSkeletonClass 659 { 660 GDBusInterfaceSkeletonClass parent_class; 661 }; 662 663 GType _g_freedesktop_dbus_skeleton_get_type (void) G_GNUC_CONST; 664 665 #if GLIB_CHECK_VERSION(2, 44, 0) 666 G_DEFINE_AUTOPTR_CLEANUP_FUNC (_GFreedesktopDBusSkeleton, g_object_unref) 667 #endif 668 669 _GFreedesktopDBus *_g_freedesktop_dbus_skeleton_new (void); 670 671 672 G_END_DECLS 673 674 #endif /* __GDBUS_DAEMON_GENERATED_H__ */ 675