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 __XDP_DBUS_H__ 10 #define __XDP_DBUS_H__ 11 12 #include <gio/gio.h> 13 14 G_BEGIN_DECLS 15 16 17 /* ------------------------------------------------------------------------ */ 18 /* Declarations for org.freedesktop.portal.Documents */ 19 20 #define GXDP_TYPE_DOCUMENTS (gxdp_documents_get_type ()) 21 #define GXDP_DOCUMENTS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GXDP_TYPE_DOCUMENTS, GXdpDocuments)) 22 #define GXDP_IS_DOCUMENTS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GXDP_TYPE_DOCUMENTS)) 23 #define GXDP_DOCUMENTS_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GXDP_TYPE_DOCUMENTS, GXdpDocumentsIface)) 24 25 struct _GXdpDocuments; 26 typedef struct _GXdpDocuments GXdpDocuments; 27 typedef struct _GXdpDocumentsIface GXdpDocumentsIface; 28 29 struct _GXdpDocumentsIface 30 { 31 GTypeInterface parent_iface; 32 33 34 gboolean (*handle_add) ( 35 GXdpDocuments *object, 36 GDBusMethodInvocation *invocation, 37 GUnixFDList *fd_list, 38 GVariant *arg_o_path_fd, 39 gboolean arg_reuse_existing, 40 gboolean arg_persistent); 41 42 gboolean (*handle_add_full) ( 43 GXdpDocuments *object, 44 GDBusMethodInvocation *invocation, 45 GUnixFDList *fd_list, 46 GVariant *arg_o_path_fds, 47 guint arg_flags, 48 const gchar *arg_app_id, 49 const gchar *const *arg_permissions); 50 51 gboolean (*handle_add_named) ( 52 GXdpDocuments *object, 53 GDBusMethodInvocation *invocation, 54 GUnixFDList *fd_list, 55 GVariant *arg_o_path_parent_fd, 56 const gchar *arg_filename, 57 gboolean arg_reuse_existing, 58 gboolean arg_persistent); 59 60 gboolean (*handle_add_named_full) ( 61 GXdpDocuments *object, 62 GDBusMethodInvocation *invocation, 63 GUnixFDList *fd_list, 64 GVariant *arg_o_path_fd, 65 const gchar *arg_filename, 66 guint arg_flags, 67 const gchar *arg_app_id, 68 const gchar *const *arg_permissions); 69 70 gboolean (*handle_delete) ( 71 GXdpDocuments *object, 72 GDBusMethodInvocation *invocation, 73 const gchar *arg_doc_id); 74 75 gboolean (*handle_get_mount_point) ( 76 GXdpDocuments *object, 77 GDBusMethodInvocation *invocation); 78 79 gboolean (*handle_grant_permissions) ( 80 GXdpDocuments *object, 81 GDBusMethodInvocation *invocation, 82 const gchar *arg_doc_id, 83 const gchar *arg_app_id, 84 const gchar *const *arg_permissions); 85 86 gboolean (*handle_info) ( 87 GXdpDocuments *object, 88 GDBusMethodInvocation *invocation, 89 const gchar *arg_doc_id); 90 91 gboolean (*handle_list) ( 92 GXdpDocuments *object, 93 GDBusMethodInvocation *invocation, 94 const gchar *arg_app_id); 95 96 gboolean (*handle_lookup) ( 97 GXdpDocuments *object, 98 GDBusMethodInvocation *invocation, 99 const gchar *arg_filename); 100 101 gboolean (*handle_revoke_permissions) ( 102 GXdpDocuments *object, 103 GDBusMethodInvocation *invocation, 104 const gchar *arg_doc_id, 105 const gchar *arg_app_id, 106 const gchar *const *arg_permissions); 107 108 guint (*get_version) (GXdpDocuments *object); 109 110 }; 111 112 GType gxdp_documents_get_type (void) G_GNUC_CONST; 113 114 GDBusInterfaceInfo *gxdp_documents_interface_info (void); 115 guint gxdp_documents_override_properties (GObjectClass *klass, guint property_id_begin); 116 117 118 /* D-Bus method call completion functions: */ 119 void gxdp_documents_complete_get_mount_point ( 120 GXdpDocuments *object, 121 GDBusMethodInvocation *invocation, 122 const gchar *path); 123 124 void gxdp_documents_complete_add ( 125 GXdpDocuments *object, 126 GDBusMethodInvocation *invocation, 127 GUnixFDList *fd_list, 128 const gchar *doc_id); 129 130 void gxdp_documents_complete_add_named ( 131 GXdpDocuments *object, 132 GDBusMethodInvocation *invocation, 133 GUnixFDList *fd_list, 134 const gchar *doc_id); 135 136 void gxdp_documents_complete_add_full ( 137 GXdpDocuments *object, 138 GDBusMethodInvocation *invocation, 139 GUnixFDList *fd_list, 140 const gchar *const *doc_ids, 141 GVariant *extra_out); 142 143 void gxdp_documents_complete_add_named_full ( 144 GXdpDocuments *object, 145 GDBusMethodInvocation *invocation, 146 GUnixFDList *fd_list, 147 const gchar *doc_id, 148 GVariant *extra_out); 149 150 void gxdp_documents_complete_grant_permissions ( 151 GXdpDocuments *object, 152 GDBusMethodInvocation *invocation); 153 154 void gxdp_documents_complete_revoke_permissions ( 155 GXdpDocuments *object, 156 GDBusMethodInvocation *invocation); 157 158 void gxdp_documents_complete_delete ( 159 GXdpDocuments *object, 160 GDBusMethodInvocation *invocation); 161 162 void gxdp_documents_complete_lookup ( 163 GXdpDocuments *object, 164 GDBusMethodInvocation *invocation, 165 const gchar *doc_id); 166 167 void gxdp_documents_complete_info ( 168 GXdpDocuments *object, 169 GDBusMethodInvocation *invocation, 170 const gchar *path, 171 GVariant *apps); 172 173 void gxdp_documents_complete_list ( 174 GXdpDocuments *object, 175 GDBusMethodInvocation *invocation, 176 GVariant *docs); 177 178 179 180 /* D-Bus method calls: */ 181 void gxdp_documents_call_get_mount_point ( 182 GXdpDocuments *proxy, 183 GCancellable *cancellable, 184 GAsyncReadyCallback callback, 185 gpointer user_data); 186 187 gboolean gxdp_documents_call_get_mount_point_finish ( 188 GXdpDocuments *proxy, 189 gchar **out_path, 190 GAsyncResult *res, 191 GError **error); 192 193 gboolean gxdp_documents_call_get_mount_point_sync ( 194 GXdpDocuments *proxy, 195 gchar **out_path, 196 GCancellable *cancellable, 197 GError **error); 198 199 void gxdp_documents_call_add ( 200 GXdpDocuments *proxy, 201 GVariant *arg_o_path_fd, 202 gboolean arg_reuse_existing, 203 gboolean arg_persistent, 204 GUnixFDList *fd_list, 205 GCancellable *cancellable, 206 GAsyncReadyCallback callback, 207 gpointer user_data); 208 209 gboolean gxdp_documents_call_add_finish ( 210 GXdpDocuments *proxy, 211 gchar **out_doc_id, 212 GUnixFDList **out_fd_list, 213 GAsyncResult *res, 214 GError **error); 215 216 gboolean gxdp_documents_call_add_sync ( 217 GXdpDocuments *proxy, 218 GVariant *arg_o_path_fd, 219 gboolean arg_reuse_existing, 220 gboolean arg_persistent, 221 GUnixFDList *fd_list, 222 gchar **out_doc_id, 223 GUnixFDList **out_fd_list, 224 GCancellable *cancellable, 225 GError **error); 226 227 void gxdp_documents_call_add_named ( 228 GXdpDocuments *proxy, 229 GVariant *arg_o_path_parent_fd, 230 const gchar *arg_filename, 231 gboolean arg_reuse_existing, 232 gboolean arg_persistent, 233 GUnixFDList *fd_list, 234 GCancellable *cancellable, 235 GAsyncReadyCallback callback, 236 gpointer user_data); 237 238 gboolean gxdp_documents_call_add_named_finish ( 239 GXdpDocuments *proxy, 240 gchar **out_doc_id, 241 GUnixFDList **out_fd_list, 242 GAsyncResult *res, 243 GError **error); 244 245 gboolean gxdp_documents_call_add_named_sync ( 246 GXdpDocuments *proxy, 247 GVariant *arg_o_path_parent_fd, 248 const gchar *arg_filename, 249 gboolean arg_reuse_existing, 250 gboolean arg_persistent, 251 GUnixFDList *fd_list, 252 gchar **out_doc_id, 253 GUnixFDList **out_fd_list, 254 GCancellable *cancellable, 255 GError **error); 256 257 void gxdp_documents_call_add_full ( 258 GXdpDocuments *proxy, 259 GVariant *arg_o_path_fds, 260 guint arg_flags, 261 const gchar *arg_app_id, 262 const gchar *const *arg_permissions, 263 GUnixFDList *fd_list, 264 GCancellable *cancellable, 265 GAsyncReadyCallback callback, 266 gpointer user_data); 267 268 gboolean gxdp_documents_call_add_full_finish ( 269 GXdpDocuments *proxy, 270 gchar ***out_doc_ids, 271 GVariant **out_extra_out, 272 GUnixFDList **out_fd_list, 273 GAsyncResult *res, 274 GError **error); 275 276 gboolean gxdp_documents_call_add_full_sync ( 277 GXdpDocuments *proxy, 278 GVariant *arg_o_path_fds, 279 guint arg_flags, 280 const gchar *arg_app_id, 281 const gchar *const *arg_permissions, 282 GUnixFDList *fd_list, 283 gchar ***out_doc_ids, 284 GVariant **out_extra_out, 285 GUnixFDList **out_fd_list, 286 GCancellable *cancellable, 287 GError **error); 288 289 void gxdp_documents_call_add_named_full ( 290 GXdpDocuments *proxy, 291 GVariant *arg_o_path_fd, 292 const gchar *arg_filename, 293 guint arg_flags, 294 const gchar *arg_app_id, 295 const gchar *const *arg_permissions, 296 GUnixFDList *fd_list, 297 GCancellable *cancellable, 298 GAsyncReadyCallback callback, 299 gpointer user_data); 300 301 gboolean gxdp_documents_call_add_named_full_finish ( 302 GXdpDocuments *proxy, 303 gchar **out_doc_id, 304 GVariant **out_extra_out, 305 GUnixFDList **out_fd_list, 306 GAsyncResult *res, 307 GError **error); 308 309 gboolean gxdp_documents_call_add_named_full_sync ( 310 GXdpDocuments *proxy, 311 GVariant *arg_o_path_fd, 312 const gchar *arg_filename, 313 guint arg_flags, 314 const gchar *arg_app_id, 315 const gchar *const *arg_permissions, 316 GUnixFDList *fd_list, 317 gchar **out_doc_id, 318 GVariant **out_extra_out, 319 GUnixFDList **out_fd_list, 320 GCancellable *cancellable, 321 GError **error); 322 323 void gxdp_documents_call_grant_permissions ( 324 GXdpDocuments *proxy, 325 const gchar *arg_doc_id, 326 const gchar *arg_app_id, 327 const gchar *const *arg_permissions, 328 GCancellable *cancellable, 329 GAsyncReadyCallback callback, 330 gpointer user_data); 331 332 gboolean gxdp_documents_call_grant_permissions_finish ( 333 GXdpDocuments *proxy, 334 GAsyncResult *res, 335 GError **error); 336 337 gboolean gxdp_documents_call_grant_permissions_sync ( 338 GXdpDocuments *proxy, 339 const gchar *arg_doc_id, 340 const gchar *arg_app_id, 341 const gchar *const *arg_permissions, 342 GCancellable *cancellable, 343 GError **error); 344 345 void gxdp_documents_call_revoke_permissions ( 346 GXdpDocuments *proxy, 347 const gchar *arg_doc_id, 348 const gchar *arg_app_id, 349 const gchar *const *arg_permissions, 350 GCancellable *cancellable, 351 GAsyncReadyCallback callback, 352 gpointer user_data); 353 354 gboolean gxdp_documents_call_revoke_permissions_finish ( 355 GXdpDocuments *proxy, 356 GAsyncResult *res, 357 GError **error); 358 359 gboolean gxdp_documents_call_revoke_permissions_sync ( 360 GXdpDocuments *proxy, 361 const gchar *arg_doc_id, 362 const gchar *arg_app_id, 363 const gchar *const *arg_permissions, 364 GCancellable *cancellable, 365 GError **error); 366 367 void gxdp_documents_call_delete ( 368 GXdpDocuments *proxy, 369 const gchar *arg_doc_id, 370 GCancellable *cancellable, 371 GAsyncReadyCallback callback, 372 gpointer user_data); 373 374 gboolean gxdp_documents_call_delete_finish ( 375 GXdpDocuments *proxy, 376 GAsyncResult *res, 377 GError **error); 378 379 gboolean gxdp_documents_call_delete_sync ( 380 GXdpDocuments *proxy, 381 const gchar *arg_doc_id, 382 GCancellable *cancellable, 383 GError **error); 384 385 void gxdp_documents_call_lookup ( 386 GXdpDocuments *proxy, 387 const gchar *arg_filename, 388 GCancellable *cancellable, 389 GAsyncReadyCallback callback, 390 gpointer user_data); 391 392 gboolean gxdp_documents_call_lookup_finish ( 393 GXdpDocuments *proxy, 394 gchar **out_doc_id, 395 GAsyncResult *res, 396 GError **error); 397 398 gboolean gxdp_documents_call_lookup_sync ( 399 GXdpDocuments *proxy, 400 const gchar *arg_filename, 401 gchar **out_doc_id, 402 GCancellable *cancellable, 403 GError **error); 404 405 void gxdp_documents_call_info ( 406 GXdpDocuments *proxy, 407 const gchar *arg_doc_id, 408 GCancellable *cancellable, 409 GAsyncReadyCallback callback, 410 gpointer user_data); 411 412 gboolean gxdp_documents_call_info_finish ( 413 GXdpDocuments *proxy, 414 gchar **out_path, 415 GVariant **out_apps, 416 GAsyncResult *res, 417 GError **error); 418 419 gboolean gxdp_documents_call_info_sync ( 420 GXdpDocuments *proxy, 421 const gchar *arg_doc_id, 422 gchar **out_path, 423 GVariant **out_apps, 424 GCancellable *cancellable, 425 GError **error); 426 427 void gxdp_documents_call_list ( 428 GXdpDocuments *proxy, 429 const gchar *arg_app_id, 430 GCancellable *cancellable, 431 GAsyncReadyCallback callback, 432 gpointer user_data); 433 434 gboolean gxdp_documents_call_list_finish ( 435 GXdpDocuments *proxy, 436 GVariant **out_docs, 437 GAsyncResult *res, 438 GError **error); 439 440 gboolean gxdp_documents_call_list_sync ( 441 GXdpDocuments *proxy, 442 const gchar *arg_app_id, 443 GVariant **out_docs, 444 GCancellable *cancellable, 445 GError **error); 446 447 448 449 /* D-Bus property accessors: */ 450 guint gxdp_documents_get_version (GXdpDocuments *object); 451 void gxdp_documents_set_version (GXdpDocuments *object, guint value); 452 453 454 /* ---- */ 455 456 #define GXDP_TYPE_DOCUMENTS_PROXY (gxdp_documents_proxy_get_type ()) 457 #define GXDP_DOCUMENTS_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GXDP_TYPE_DOCUMENTS_PROXY, GXdpDocumentsProxy)) 458 #define GXDP_DOCUMENTS_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GXDP_TYPE_DOCUMENTS_PROXY, GXdpDocumentsProxyClass)) 459 #define GXDP_DOCUMENTS_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GXDP_TYPE_DOCUMENTS_PROXY, GXdpDocumentsProxyClass)) 460 #define GXDP_IS_DOCUMENTS_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GXDP_TYPE_DOCUMENTS_PROXY)) 461 #define GXDP_IS_DOCUMENTS_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GXDP_TYPE_DOCUMENTS_PROXY)) 462 463 typedef struct _GXdpDocumentsProxy GXdpDocumentsProxy; 464 typedef struct _GXdpDocumentsProxyClass GXdpDocumentsProxyClass; 465 typedef struct _GXdpDocumentsProxyPrivate GXdpDocumentsProxyPrivate; 466 467 struct _GXdpDocumentsProxy 468 { 469 /*< private >*/ 470 GDBusProxy parent_instance; 471 GXdpDocumentsProxyPrivate *priv; 472 }; 473 474 struct _GXdpDocumentsProxyClass 475 { 476 GDBusProxyClass parent_class; 477 }; 478 479 GType gxdp_documents_proxy_get_type (void) G_GNUC_CONST; 480 481 #if GLIB_CHECK_VERSION(2, 44, 0) 482 G_DEFINE_AUTOPTR_CLEANUP_FUNC (GXdpDocumentsProxy, g_object_unref) 483 #endif 484 485 void gxdp_documents_proxy_new ( 486 GDBusConnection *connection, 487 GDBusProxyFlags flags, 488 const gchar *name, 489 const gchar *object_path, 490 GCancellable *cancellable, 491 GAsyncReadyCallback callback, 492 gpointer user_data); 493 GXdpDocuments *gxdp_documents_proxy_new_finish ( 494 GAsyncResult *res, 495 GError **error); 496 GXdpDocuments *gxdp_documents_proxy_new_sync ( 497 GDBusConnection *connection, 498 GDBusProxyFlags flags, 499 const gchar *name, 500 const gchar *object_path, 501 GCancellable *cancellable, 502 GError **error); 503 504 void gxdp_documents_proxy_new_for_bus ( 505 GBusType bus_type, 506 GDBusProxyFlags flags, 507 const gchar *name, 508 const gchar *object_path, 509 GCancellable *cancellable, 510 GAsyncReadyCallback callback, 511 gpointer user_data); 512 GXdpDocuments *gxdp_documents_proxy_new_for_bus_finish ( 513 GAsyncResult *res, 514 GError **error); 515 GXdpDocuments *gxdp_documents_proxy_new_for_bus_sync ( 516 GBusType bus_type, 517 GDBusProxyFlags flags, 518 const gchar *name, 519 const gchar *object_path, 520 GCancellable *cancellable, 521 GError **error); 522 523 524 /* ---- */ 525 526 #define GXDP_TYPE_DOCUMENTS_SKELETON (gxdp_documents_skeleton_get_type ()) 527 #define GXDP_DOCUMENTS_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GXDP_TYPE_DOCUMENTS_SKELETON, GXdpDocumentsSkeleton)) 528 #define GXDP_DOCUMENTS_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GXDP_TYPE_DOCUMENTS_SKELETON, GXdpDocumentsSkeletonClass)) 529 #define GXDP_DOCUMENTS_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GXDP_TYPE_DOCUMENTS_SKELETON, GXdpDocumentsSkeletonClass)) 530 #define GXDP_IS_DOCUMENTS_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GXDP_TYPE_DOCUMENTS_SKELETON)) 531 #define GXDP_IS_DOCUMENTS_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GXDP_TYPE_DOCUMENTS_SKELETON)) 532 533 typedef struct _GXdpDocumentsSkeleton GXdpDocumentsSkeleton; 534 typedef struct _GXdpDocumentsSkeletonClass GXdpDocumentsSkeletonClass; 535 typedef struct _GXdpDocumentsSkeletonPrivate GXdpDocumentsSkeletonPrivate; 536 537 struct _GXdpDocumentsSkeleton 538 { 539 /*< private >*/ 540 GDBusInterfaceSkeleton parent_instance; 541 GXdpDocumentsSkeletonPrivate *priv; 542 }; 543 544 struct _GXdpDocumentsSkeletonClass 545 { 546 GDBusInterfaceSkeletonClass parent_class; 547 }; 548 549 GType gxdp_documents_skeleton_get_type (void) G_GNUC_CONST; 550 551 #if GLIB_CHECK_VERSION(2, 44, 0) 552 G_DEFINE_AUTOPTR_CLEANUP_FUNC (GXdpDocumentsSkeleton, g_object_unref) 553 #endif 554 555 GXdpDocuments *gxdp_documents_skeleton_new (void); 556 557 558 /* ------------------------------------------------------------------------ */ 559 /* Declarations for org.freedesktop.portal.OpenURI */ 560 561 #define GXDP_TYPE_OPEN_URI (gxdp_open_uri_get_type ()) 562 #define GXDP_OPEN_URI(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GXDP_TYPE_OPEN_URI, GXdpOpenURI)) 563 #define GXDP_IS_OPEN_URI(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GXDP_TYPE_OPEN_URI)) 564 #define GXDP_OPEN_URI_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GXDP_TYPE_OPEN_URI, GXdpOpenURIIface)) 565 566 struct _GXdpOpenURI; 567 typedef struct _GXdpOpenURI GXdpOpenURI; 568 typedef struct _GXdpOpenURIIface GXdpOpenURIIface; 569 570 struct _GXdpOpenURIIface 571 { 572 GTypeInterface parent_iface; 573 574 575 gboolean (*handle_open_directory) ( 576 GXdpOpenURI *object, 577 GDBusMethodInvocation *invocation, 578 GUnixFDList *fd_list, 579 const gchar *arg_parent_window, 580 GVariant *arg_fd, 581 GVariant *arg_options); 582 583 gboolean (*handle_open_file) ( 584 GXdpOpenURI *object, 585 GDBusMethodInvocation *invocation, 586 GUnixFDList *fd_list, 587 const gchar *arg_parent_window, 588 GVariant *arg_fd, 589 GVariant *arg_options); 590 591 gboolean (*handle_open_uri) ( 592 GXdpOpenURI *object, 593 GDBusMethodInvocation *invocation, 594 const gchar *arg_parent_window, 595 const gchar *arg_uri, 596 GVariant *arg_options); 597 598 guint (*get_version) (GXdpOpenURI *object); 599 600 }; 601 602 GType gxdp_open_uri_get_type (void) G_GNUC_CONST; 603 604 GDBusInterfaceInfo *gxdp_open_uri_interface_info (void); 605 guint gxdp_open_uri_override_properties (GObjectClass *klass, guint property_id_begin); 606 607 608 /* D-Bus method call completion functions: */ 609 void gxdp_open_uri_complete_open_uri ( 610 GXdpOpenURI *object, 611 GDBusMethodInvocation *invocation, 612 const gchar *handle); 613 614 void gxdp_open_uri_complete_open_file ( 615 GXdpOpenURI *object, 616 GDBusMethodInvocation *invocation, 617 GUnixFDList *fd_list, 618 const gchar *handle); 619 620 void gxdp_open_uri_complete_open_directory ( 621 GXdpOpenURI *object, 622 GDBusMethodInvocation *invocation, 623 GUnixFDList *fd_list, 624 const gchar *handle); 625 626 627 628 /* D-Bus method calls: */ 629 void gxdp_open_uri_call_open_uri ( 630 GXdpOpenURI *proxy, 631 const gchar *arg_parent_window, 632 const gchar *arg_uri, 633 GVariant *arg_options, 634 GCancellable *cancellable, 635 GAsyncReadyCallback callback, 636 gpointer user_data); 637 638 gboolean gxdp_open_uri_call_open_uri_finish ( 639 GXdpOpenURI *proxy, 640 gchar **out_handle, 641 GAsyncResult *res, 642 GError **error); 643 644 gboolean gxdp_open_uri_call_open_uri_sync ( 645 GXdpOpenURI *proxy, 646 const gchar *arg_parent_window, 647 const gchar *arg_uri, 648 GVariant *arg_options, 649 gchar **out_handle, 650 GCancellable *cancellable, 651 GError **error); 652 653 void gxdp_open_uri_call_open_file ( 654 GXdpOpenURI *proxy, 655 const gchar *arg_parent_window, 656 GVariant *arg_fd, 657 GVariant *arg_options, 658 GUnixFDList *fd_list, 659 GCancellable *cancellable, 660 GAsyncReadyCallback callback, 661 gpointer user_data); 662 663 gboolean gxdp_open_uri_call_open_file_finish ( 664 GXdpOpenURI *proxy, 665 gchar **out_handle, 666 GUnixFDList **out_fd_list, 667 GAsyncResult *res, 668 GError **error); 669 670 gboolean gxdp_open_uri_call_open_file_sync ( 671 GXdpOpenURI *proxy, 672 const gchar *arg_parent_window, 673 GVariant *arg_fd, 674 GVariant *arg_options, 675 GUnixFDList *fd_list, 676 gchar **out_handle, 677 GUnixFDList **out_fd_list, 678 GCancellable *cancellable, 679 GError **error); 680 681 void gxdp_open_uri_call_open_directory ( 682 GXdpOpenURI *proxy, 683 const gchar *arg_parent_window, 684 GVariant *arg_fd, 685 GVariant *arg_options, 686 GUnixFDList *fd_list, 687 GCancellable *cancellable, 688 GAsyncReadyCallback callback, 689 gpointer user_data); 690 691 gboolean gxdp_open_uri_call_open_directory_finish ( 692 GXdpOpenURI *proxy, 693 gchar **out_handle, 694 GUnixFDList **out_fd_list, 695 GAsyncResult *res, 696 GError **error); 697 698 gboolean gxdp_open_uri_call_open_directory_sync ( 699 GXdpOpenURI *proxy, 700 const gchar *arg_parent_window, 701 GVariant *arg_fd, 702 GVariant *arg_options, 703 GUnixFDList *fd_list, 704 gchar **out_handle, 705 GUnixFDList **out_fd_list, 706 GCancellable *cancellable, 707 GError **error); 708 709 710 711 /* D-Bus property accessors: */ 712 guint gxdp_open_uri_get_version (GXdpOpenURI *object); 713 void gxdp_open_uri_set_version (GXdpOpenURI *object, guint value); 714 715 716 /* ---- */ 717 718 #define GXDP_TYPE_OPEN_URI_PROXY (gxdp_open_uri_proxy_get_type ()) 719 #define GXDP_OPEN_URI_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GXDP_TYPE_OPEN_URI_PROXY, GXdpOpenURIProxy)) 720 #define GXDP_OPEN_URI_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GXDP_TYPE_OPEN_URI_PROXY, GXdpOpenURIProxyClass)) 721 #define GXDP_OPEN_URI_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GXDP_TYPE_OPEN_URI_PROXY, GXdpOpenURIProxyClass)) 722 #define GXDP_IS_OPEN_URI_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GXDP_TYPE_OPEN_URI_PROXY)) 723 #define GXDP_IS_OPEN_URI_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GXDP_TYPE_OPEN_URI_PROXY)) 724 725 typedef struct _GXdpOpenURIProxy GXdpOpenURIProxy; 726 typedef struct _GXdpOpenURIProxyClass GXdpOpenURIProxyClass; 727 typedef struct _GXdpOpenURIProxyPrivate GXdpOpenURIProxyPrivate; 728 729 struct _GXdpOpenURIProxy 730 { 731 /*< private >*/ 732 GDBusProxy parent_instance; 733 GXdpOpenURIProxyPrivate *priv; 734 }; 735 736 struct _GXdpOpenURIProxyClass 737 { 738 GDBusProxyClass parent_class; 739 }; 740 741 GType gxdp_open_uri_proxy_get_type (void) G_GNUC_CONST; 742 743 #if GLIB_CHECK_VERSION(2, 44, 0) 744 G_DEFINE_AUTOPTR_CLEANUP_FUNC (GXdpOpenURIProxy, g_object_unref) 745 #endif 746 747 void gxdp_open_uri_proxy_new ( 748 GDBusConnection *connection, 749 GDBusProxyFlags flags, 750 const gchar *name, 751 const gchar *object_path, 752 GCancellable *cancellable, 753 GAsyncReadyCallback callback, 754 gpointer user_data); 755 GXdpOpenURI *gxdp_open_uri_proxy_new_finish ( 756 GAsyncResult *res, 757 GError **error); 758 GXdpOpenURI *gxdp_open_uri_proxy_new_sync ( 759 GDBusConnection *connection, 760 GDBusProxyFlags flags, 761 const gchar *name, 762 const gchar *object_path, 763 GCancellable *cancellable, 764 GError **error); 765 766 void gxdp_open_uri_proxy_new_for_bus ( 767 GBusType bus_type, 768 GDBusProxyFlags flags, 769 const gchar *name, 770 const gchar *object_path, 771 GCancellable *cancellable, 772 GAsyncReadyCallback callback, 773 gpointer user_data); 774 GXdpOpenURI *gxdp_open_uri_proxy_new_for_bus_finish ( 775 GAsyncResult *res, 776 GError **error); 777 GXdpOpenURI *gxdp_open_uri_proxy_new_for_bus_sync ( 778 GBusType bus_type, 779 GDBusProxyFlags flags, 780 const gchar *name, 781 const gchar *object_path, 782 GCancellable *cancellable, 783 GError **error); 784 785 786 /* ---- */ 787 788 #define GXDP_TYPE_OPEN_URI_SKELETON (gxdp_open_uri_skeleton_get_type ()) 789 #define GXDP_OPEN_URI_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GXDP_TYPE_OPEN_URI_SKELETON, GXdpOpenURISkeleton)) 790 #define GXDP_OPEN_URI_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GXDP_TYPE_OPEN_URI_SKELETON, GXdpOpenURISkeletonClass)) 791 #define GXDP_OPEN_URI_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GXDP_TYPE_OPEN_URI_SKELETON, GXdpOpenURISkeletonClass)) 792 #define GXDP_IS_OPEN_URI_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GXDP_TYPE_OPEN_URI_SKELETON)) 793 #define GXDP_IS_OPEN_URI_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GXDP_TYPE_OPEN_URI_SKELETON)) 794 795 typedef struct _GXdpOpenURISkeleton GXdpOpenURISkeleton; 796 typedef struct _GXdpOpenURISkeletonClass GXdpOpenURISkeletonClass; 797 typedef struct _GXdpOpenURISkeletonPrivate GXdpOpenURISkeletonPrivate; 798 799 struct _GXdpOpenURISkeleton 800 { 801 /*< private >*/ 802 GDBusInterfaceSkeleton parent_instance; 803 GXdpOpenURISkeletonPrivate *priv; 804 }; 805 806 struct _GXdpOpenURISkeletonClass 807 { 808 GDBusInterfaceSkeletonClass parent_class; 809 }; 810 811 GType gxdp_open_uri_skeleton_get_type (void) G_GNUC_CONST; 812 813 #if GLIB_CHECK_VERSION(2, 44, 0) 814 G_DEFINE_AUTOPTR_CLEANUP_FUNC (GXdpOpenURISkeleton, g_object_unref) 815 #endif 816 817 GXdpOpenURI *gxdp_open_uri_skeleton_new (void); 818 819 820 /* ------------------------------------------------------------------------ */ 821 /* Declarations for org.freedesktop.portal.ProxyResolver */ 822 823 #define GXDP_TYPE_PROXY_RESOLVER (gxdp_proxy_resolver_get_type ()) 824 #define GXDP_PROXY_RESOLVER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GXDP_TYPE_PROXY_RESOLVER, GXdpProxyResolver)) 825 #define GXDP_IS_PROXY_RESOLVER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GXDP_TYPE_PROXY_RESOLVER)) 826 #define GXDP_PROXY_RESOLVER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GXDP_TYPE_PROXY_RESOLVER, GXdpProxyResolverIface)) 827 828 struct _GXdpProxyResolver; 829 typedef struct _GXdpProxyResolver GXdpProxyResolver; 830 typedef struct _GXdpProxyResolverIface GXdpProxyResolverIface; 831 832 struct _GXdpProxyResolverIface 833 { 834 GTypeInterface parent_iface; 835 836 837 gboolean (*handle_lookup) ( 838 GXdpProxyResolver *object, 839 GDBusMethodInvocation *invocation, 840 const gchar *arg_uri); 841 842 guint (*get_version) (GXdpProxyResolver *object); 843 844 }; 845 846 GType gxdp_proxy_resolver_get_type (void) G_GNUC_CONST; 847 848 GDBusInterfaceInfo *gxdp_proxy_resolver_interface_info (void); 849 guint gxdp_proxy_resolver_override_properties (GObjectClass *klass, guint property_id_begin); 850 851 852 /* D-Bus method call completion functions: */ 853 void gxdp_proxy_resolver_complete_lookup ( 854 GXdpProxyResolver *object, 855 GDBusMethodInvocation *invocation, 856 const gchar *const *proxies); 857 858 859 860 /* D-Bus method calls: */ 861 void gxdp_proxy_resolver_call_lookup ( 862 GXdpProxyResolver *proxy, 863 const gchar *arg_uri, 864 GCancellable *cancellable, 865 GAsyncReadyCallback callback, 866 gpointer user_data); 867 868 gboolean gxdp_proxy_resolver_call_lookup_finish ( 869 GXdpProxyResolver *proxy, 870 gchar ***out_proxies, 871 GAsyncResult *res, 872 GError **error); 873 874 gboolean gxdp_proxy_resolver_call_lookup_sync ( 875 GXdpProxyResolver *proxy, 876 const gchar *arg_uri, 877 gchar ***out_proxies, 878 GCancellable *cancellable, 879 GError **error); 880 881 882 883 /* D-Bus property accessors: */ 884 guint gxdp_proxy_resolver_get_version (GXdpProxyResolver *object); 885 void gxdp_proxy_resolver_set_version (GXdpProxyResolver *object, guint value); 886 887 888 /* ---- */ 889 890 #define GXDP_TYPE_PROXY_RESOLVER_PROXY (gxdp_proxy_resolver_proxy_get_type ()) 891 #define GXDP_PROXY_RESOLVER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GXDP_TYPE_PROXY_RESOLVER_PROXY, GXdpProxyResolverProxy)) 892 #define GXDP_PROXY_RESOLVER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GXDP_TYPE_PROXY_RESOLVER_PROXY, GXdpProxyResolverProxyClass)) 893 #define GXDP_PROXY_RESOLVER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GXDP_TYPE_PROXY_RESOLVER_PROXY, GXdpProxyResolverProxyClass)) 894 #define GXDP_IS_PROXY_RESOLVER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GXDP_TYPE_PROXY_RESOLVER_PROXY)) 895 #define GXDP_IS_PROXY_RESOLVER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GXDP_TYPE_PROXY_RESOLVER_PROXY)) 896 897 typedef struct _GXdpProxyResolverProxy GXdpProxyResolverProxy; 898 typedef struct _GXdpProxyResolverProxyClass GXdpProxyResolverProxyClass; 899 typedef struct _GXdpProxyResolverProxyPrivate GXdpProxyResolverProxyPrivate; 900 901 struct _GXdpProxyResolverProxy 902 { 903 /*< private >*/ 904 GDBusProxy parent_instance; 905 GXdpProxyResolverProxyPrivate *priv; 906 }; 907 908 struct _GXdpProxyResolverProxyClass 909 { 910 GDBusProxyClass parent_class; 911 }; 912 913 GType gxdp_proxy_resolver_proxy_get_type (void) G_GNUC_CONST; 914 915 #if GLIB_CHECK_VERSION(2, 44, 0) 916 G_DEFINE_AUTOPTR_CLEANUP_FUNC (GXdpProxyResolverProxy, g_object_unref) 917 #endif 918 919 void gxdp_proxy_resolver_proxy_new ( 920 GDBusConnection *connection, 921 GDBusProxyFlags flags, 922 const gchar *name, 923 const gchar *object_path, 924 GCancellable *cancellable, 925 GAsyncReadyCallback callback, 926 gpointer user_data); 927 GXdpProxyResolver *gxdp_proxy_resolver_proxy_new_finish ( 928 GAsyncResult *res, 929 GError **error); 930 GXdpProxyResolver *gxdp_proxy_resolver_proxy_new_sync ( 931 GDBusConnection *connection, 932 GDBusProxyFlags flags, 933 const gchar *name, 934 const gchar *object_path, 935 GCancellable *cancellable, 936 GError **error); 937 938 void gxdp_proxy_resolver_proxy_new_for_bus ( 939 GBusType bus_type, 940 GDBusProxyFlags flags, 941 const gchar *name, 942 const gchar *object_path, 943 GCancellable *cancellable, 944 GAsyncReadyCallback callback, 945 gpointer user_data); 946 GXdpProxyResolver *gxdp_proxy_resolver_proxy_new_for_bus_finish ( 947 GAsyncResult *res, 948 GError **error); 949 GXdpProxyResolver *gxdp_proxy_resolver_proxy_new_for_bus_sync ( 950 GBusType bus_type, 951 GDBusProxyFlags flags, 952 const gchar *name, 953 const gchar *object_path, 954 GCancellable *cancellable, 955 GError **error); 956 957 958 /* ---- */ 959 960 #define GXDP_TYPE_PROXY_RESOLVER_SKELETON (gxdp_proxy_resolver_skeleton_get_type ()) 961 #define GXDP_PROXY_RESOLVER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GXDP_TYPE_PROXY_RESOLVER_SKELETON, GXdpProxyResolverSkeleton)) 962 #define GXDP_PROXY_RESOLVER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GXDP_TYPE_PROXY_RESOLVER_SKELETON, GXdpProxyResolverSkeletonClass)) 963 #define GXDP_PROXY_RESOLVER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GXDP_TYPE_PROXY_RESOLVER_SKELETON, GXdpProxyResolverSkeletonClass)) 964 #define GXDP_IS_PROXY_RESOLVER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GXDP_TYPE_PROXY_RESOLVER_SKELETON)) 965 #define GXDP_IS_PROXY_RESOLVER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GXDP_TYPE_PROXY_RESOLVER_SKELETON)) 966 967 typedef struct _GXdpProxyResolverSkeleton GXdpProxyResolverSkeleton; 968 typedef struct _GXdpProxyResolverSkeletonClass GXdpProxyResolverSkeletonClass; 969 typedef struct _GXdpProxyResolverSkeletonPrivate GXdpProxyResolverSkeletonPrivate; 970 971 struct _GXdpProxyResolverSkeleton 972 { 973 /*< private >*/ 974 GDBusInterfaceSkeleton parent_instance; 975 GXdpProxyResolverSkeletonPrivate *priv; 976 }; 977 978 struct _GXdpProxyResolverSkeletonClass 979 { 980 GDBusInterfaceSkeletonClass parent_class; 981 }; 982 983 GType gxdp_proxy_resolver_skeleton_get_type (void) G_GNUC_CONST; 984 985 #if GLIB_CHECK_VERSION(2, 44, 0) 986 G_DEFINE_AUTOPTR_CLEANUP_FUNC (GXdpProxyResolverSkeleton, g_object_unref) 987 #endif 988 989 GXdpProxyResolver *gxdp_proxy_resolver_skeleton_new (void); 990 991 992 /* ------------------------------------------------------------------------ */ 993 /* Declarations for org.freedesktop.portal.Trash */ 994 995 #define GXDP_TYPE_TRASH (gxdp_trash_get_type ()) 996 #define GXDP_TRASH(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GXDP_TYPE_TRASH, GXdpTrash)) 997 #define GXDP_IS_TRASH(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GXDP_TYPE_TRASH)) 998 #define GXDP_TRASH_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GXDP_TYPE_TRASH, GXdpTrashIface)) 999 1000 struct _GXdpTrash; 1001 typedef struct _GXdpTrash GXdpTrash; 1002 typedef struct _GXdpTrashIface GXdpTrashIface; 1003 1004 struct _GXdpTrashIface 1005 { 1006 GTypeInterface parent_iface; 1007 1008 1009 gboolean (*handle_trash_file) ( 1010 GXdpTrash *object, 1011 GDBusMethodInvocation *invocation, 1012 GUnixFDList *fd_list, 1013 GVariant *arg_fd); 1014 1015 guint (*get_version) (GXdpTrash *object); 1016 1017 }; 1018 1019 GType gxdp_trash_get_type (void) G_GNUC_CONST; 1020 1021 GDBusInterfaceInfo *gxdp_trash_interface_info (void); 1022 guint gxdp_trash_override_properties (GObjectClass *klass, guint property_id_begin); 1023 1024 1025 /* D-Bus method call completion functions: */ 1026 void gxdp_trash_complete_trash_file ( 1027 GXdpTrash *object, 1028 GDBusMethodInvocation *invocation, 1029 GUnixFDList *fd_list, 1030 guint result); 1031 1032 1033 1034 /* D-Bus method calls: */ 1035 void gxdp_trash_call_trash_file ( 1036 GXdpTrash *proxy, 1037 GVariant *arg_fd, 1038 GUnixFDList *fd_list, 1039 GCancellable *cancellable, 1040 GAsyncReadyCallback callback, 1041 gpointer user_data); 1042 1043 gboolean gxdp_trash_call_trash_file_finish ( 1044 GXdpTrash *proxy, 1045 guint *out_result, 1046 GUnixFDList **out_fd_list, 1047 GAsyncResult *res, 1048 GError **error); 1049 1050 gboolean gxdp_trash_call_trash_file_sync ( 1051 GXdpTrash *proxy, 1052 GVariant *arg_fd, 1053 GUnixFDList *fd_list, 1054 guint *out_result, 1055 GUnixFDList **out_fd_list, 1056 GCancellable *cancellable, 1057 GError **error); 1058 1059 1060 1061 /* D-Bus property accessors: */ 1062 guint gxdp_trash_get_version (GXdpTrash *object); 1063 void gxdp_trash_set_version (GXdpTrash *object, guint value); 1064 1065 1066 /* ---- */ 1067 1068 #define GXDP_TYPE_TRASH_PROXY (gxdp_trash_proxy_get_type ()) 1069 #define GXDP_TRASH_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GXDP_TYPE_TRASH_PROXY, GXdpTrashProxy)) 1070 #define GXDP_TRASH_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GXDP_TYPE_TRASH_PROXY, GXdpTrashProxyClass)) 1071 #define GXDP_TRASH_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GXDP_TYPE_TRASH_PROXY, GXdpTrashProxyClass)) 1072 #define GXDP_IS_TRASH_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GXDP_TYPE_TRASH_PROXY)) 1073 #define GXDP_IS_TRASH_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GXDP_TYPE_TRASH_PROXY)) 1074 1075 typedef struct _GXdpTrashProxy GXdpTrashProxy; 1076 typedef struct _GXdpTrashProxyClass GXdpTrashProxyClass; 1077 typedef struct _GXdpTrashProxyPrivate GXdpTrashProxyPrivate; 1078 1079 struct _GXdpTrashProxy 1080 { 1081 /*< private >*/ 1082 GDBusProxy parent_instance; 1083 GXdpTrashProxyPrivate *priv; 1084 }; 1085 1086 struct _GXdpTrashProxyClass 1087 { 1088 GDBusProxyClass parent_class; 1089 }; 1090 1091 GType gxdp_trash_proxy_get_type (void) G_GNUC_CONST; 1092 1093 #if GLIB_CHECK_VERSION(2, 44, 0) 1094 G_DEFINE_AUTOPTR_CLEANUP_FUNC (GXdpTrashProxy, g_object_unref) 1095 #endif 1096 1097 void gxdp_trash_proxy_new ( 1098 GDBusConnection *connection, 1099 GDBusProxyFlags flags, 1100 const gchar *name, 1101 const gchar *object_path, 1102 GCancellable *cancellable, 1103 GAsyncReadyCallback callback, 1104 gpointer user_data); 1105 GXdpTrash *gxdp_trash_proxy_new_finish ( 1106 GAsyncResult *res, 1107 GError **error); 1108 GXdpTrash *gxdp_trash_proxy_new_sync ( 1109 GDBusConnection *connection, 1110 GDBusProxyFlags flags, 1111 const gchar *name, 1112 const gchar *object_path, 1113 GCancellable *cancellable, 1114 GError **error); 1115 1116 void gxdp_trash_proxy_new_for_bus ( 1117 GBusType bus_type, 1118 GDBusProxyFlags flags, 1119 const gchar *name, 1120 const gchar *object_path, 1121 GCancellable *cancellable, 1122 GAsyncReadyCallback callback, 1123 gpointer user_data); 1124 GXdpTrash *gxdp_trash_proxy_new_for_bus_finish ( 1125 GAsyncResult *res, 1126 GError **error); 1127 GXdpTrash *gxdp_trash_proxy_new_for_bus_sync ( 1128 GBusType bus_type, 1129 GDBusProxyFlags flags, 1130 const gchar *name, 1131 const gchar *object_path, 1132 GCancellable *cancellable, 1133 GError **error); 1134 1135 1136 /* ---- */ 1137 1138 #define GXDP_TYPE_TRASH_SKELETON (gxdp_trash_skeleton_get_type ()) 1139 #define GXDP_TRASH_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GXDP_TYPE_TRASH_SKELETON, GXdpTrashSkeleton)) 1140 #define GXDP_TRASH_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GXDP_TYPE_TRASH_SKELETON, GXdpTrashSkeletonClass)) 1141 #define GXDP_TRASH_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GXDP_TYPE_TRASH_SKELETON, GXdpTrashSkeletonClass)) 1142 #define GXDP_IS_TRASH_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GXDP_TYPE_TRASH_SKELETON)) 1143 #define GXDP_IS_TRASH_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GXDP_TYPE_TRASH_SKELETON)) 1144 1145 typedef struct _GXdpTrashSkeleton GXdpTrashSkeleton; 1146 typedef struct _GXdpTrashSkeletonClass GXdpTrashSkeletonClass; 1147 typedef struct _GXdpTrashSkeletonPrivate GXdpTrashSkeletonPrivate; 1148 1149 struct _GXdpTrashSkeleton 1150 { 1151 /*< private >*/ 1152 GDBusInterfaceSkeleton parent_instance; 1153 GXdpTrashSkeletonPrivate *priv; 1154 }; 1155 1156 struct _GXdpTrashSkeletonClass 1157 { 1158 GDBusInterfaceSkeletonClass parent_class; 1159 }; 1160 1161 GType gxdp_trash_skeleton_get_type (void) G_GNUC_CONST; 1162 1163 #if GLIB_CHECK_VERSION(2, 44, 0) 1164 G_DEFINE_AUTOPTR_CLEANUP_FUNC (GXdpTrashSkeleton, g_object_unref) 1165 #endif 1166 1167 GXdpTrash *gxdp_trash_skeleton_new (void); 1168 1169 1170 G_END_DECLS 1171 1172 #endif /* __XDP_DBUS_H__ */ 1173