A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.
1 '' FreeBASIC binding for glib-2.44.1 2 '' 3 '' based on the C header files: 4 '' GIO - GLib Input, Output and Streaming Library 5 '' 6 '' Copyright (C) 2006-2007 Red Hat, Inc. 7 '' 8 '' This library is free software; you can redistribute it and/or 9 '' modify it under the terms of the GNU Lesser General Public 10 '' License as published by the Free Software Foundation; either 11 '' version 2 of the License, or (at your option) any later version. 12 '' 13 '' This library is distributed in the hope that it will be useful, 14 '' but WITHOUT ANY WARRANTY; without even the implied warranty of 15 '' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 '' Lesser General Public License for more details. 17 '' 18 '' You should have received a copy of the GNU Lesser General 19 '' Public License along with this library; if not, see <http://www.gnu.org/licenses/>. 20 '' 21 '' Author: Alexander Larsson <alexl@redhat.com> 22 '' 23 '' translated to FreeBASIC by: 24 '' (C) 2011, 2012 Thomas[ dot ]Freiherr[ at ]gmx[ dot ]net 25 '' Copyright © 2015 FreeBASIC development team 26 27 #pragma once 28 29 #inclib "gio-2.0" 30 31 #include once "glib-object.bi" 32 33 #ifdef __FB_UNIX__ 34 #include once "crt/sys/types.bi" 35 #endif 36 37 #include once "glib.bi" 38 #include once "gmodule.bi" 39 40 '' The following symbols have been renamed: 41 '' procedure g_file_monitor => g_file_monitor_ 42 43 #ifdef __FB_WIN32__ 44 #pragma push(msbitfields) 45 #endif 46 47 extern "C" 48 49 #define __G_IO_H__ 50 #define __GIO_GIO_H_INSIDE__ 51 #define __GIO_TYPES_H__ 52 #define __GIO_ENUMS_H__ 53 54 type GAppInfoCreateFlags as long 55 enum 56 G_APP_INFO_CREATE_NONE = 0 57 G_APP_INFO_CREATE_NEEDS_TERMINAL = 1 shl 0 58 G_APP_INFO_CREATE_SUPPORTS_URIS = 1 shl 1 59 G_APP_INFO_CREATE_SUPPORTS_STARTUP_NOTIFICATION = 1 shl 2 60 end enum 61 62 type GConverterFlags as long 63 enum 64 G_CONVERTER_NO_FLAGS = 0 65 G_CONVERTER_INPUT_AT_END = 1 shl 0 66 G_CONVERTER_FLUSH = 1 shl 1 67 end enum 68 69 type GConverterResult as long 70 enum 71 G_CONVERTER_ERROR = 0 72 G_CONVERTER_CONVERTED = 1 73 G_CONVERTER_FINISHED = 2 74 G_CONVERTER_FLUSHED = 3 75 end enum 76 77 type GDataStreamByteOrder as long 78 enum 79 G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN 80 G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN 81 G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN 82 end enum 83 84 type GDataStreamNewlineType as long 85 enum 86 G_DATA_STREAM_NEWLINE_TYPE_LF 87 G_DATA_STREAM_NEWLINE_TYPE_CR 88 G_DATA_STREAM_NEWLINE_TYPE_CR_LF 89 G_DATA_STREAM_NEWLINE_TYPE_ANY 90 end enum 91 92 type GFileAttributeType as long 93 enum 94 G_FILE_ATTRIBUTE_TYPE_INVALID = 0 95 G_FILE_ATTRIBUTE_TYPE_STRING 96 G_FILE_ATTRIBUTE_TYPE_BYTE_STRING 97 G_FILE_ATTRIBUTE_TYPE_BOOLEAN 98 G_FILE_ATTRIBUTE_TYPE_UINT32 99 G_FILE_ATTRIBUTE_TYPE_INT32 100 G_FILE_ATTRIBUTE_TYPE_UINT64 101 G_FILE_ATTRIBUTE_TYPE_INT64 102 G_FILE_ATTRIBUTE_TYPE_OBJECT 103 G_FILE_ATTRIBUTE_TYPE_STRINGV 104 end enum 105 106 type GFileAttributeInfoFlags as long 107 enum 108 G_FILE_ATTRIBUTE_INFO_NONE = 0 109 G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE = 1 shl 0 110 G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED = 1 shl 1 111 end enum 112 113 type GFileAttributeStatus as long 114 enum 115 G_FILE_ATTRIBUTE_STATUS_UNSET = 0 116 G_FILE_ATTRIBUTE_STATUS_SET 117 G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING 118 end enum 119 120 type GFileQueryInfoFlags as long 121 enum 122 G_FILE_QUERY_INFO_NONE = 0 123 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS = 1 shl 0 124 end enum 125 126 type GFileCreateFlags as long 127 enum 128 G_FILE_CREATE_NONE = 0 129 G_FILE_CREATE_PRIVATE = 1 shl 0 130 G_FILE_CREATE_REPLACE_DESTINATION = 1 shl 1 131 end enum 132 133 type GFileMeasureFlags as long 134 enum 135 G_FILE_MEASURE_NONE = 0 136 G_FILE_MEASURE_REPORT_ANY_ERROR = 1 shl 1 137 G_FILE_MEASURE_APPARENT_SIZE = 1 shl 2 138 G_FILE_MEASURE_NO_XDEV = 1 shl 3 139 end enum 140 141 type GMountMountFlags as long 142 enum 143 G_MOUNT_MOUNT_NONE = 0 144 end enum 145 146 type GMountUnmountFlags as long 147 enum 148 G_MOUNT_UNMOUNT_NONE = 0 149 G_MOUNT_UNMOUNT_FORCE = 1 shl 0 150 end enum 151 152 type GDriveStartFlags as long 153 enum 154 G_DRIVE_START_NONE = 0 155 end enum 156 157 type GDriveStartStopType as long 158 enum 159 G_DRIVE_START_STOP_TYPE_UNKNOWN 160 G_DRIVE_START_STOP_TYPE_SHUTDOWN 161 G_DRIVE_START_STOP_TYPE_NETWORK 162 G_DRIVE_START_STOP_TYPE_MULTIDISK 163 G_DRIVE_START_STOP_TYPE_PASSWORD 164 end enum 165 166 type GFileCopyFlags as long 167 enum 168 G_FILE_COPY_NONE = 0 169 G_FILE_COPY_OVERWRITE = 1 shl 0 170 G_FILE_COPY_BACKUP = 1 shl 1 171 G_FILE_COPY_NOFOLLOW_SYMLINKS = 1 shl 2 172 G_FILE_COPY_ALL_METADATA = 1 shl 3 173 G_FILE_COPY_NO_FALLBACK_FOR_MOVE = 1 shl 4 174 G_FILE_COPY_TARGET_DEFAULT_PERMS = 1 shl 5 175 end enum 176 177 type GFileMonitorFlags as long 178 enum 179 G_FILE_MONITOR_NONE = 0 180 G_FILE_MONITOR_WATCH_MOUNTS = 1 shl 0 181 G_FILE_MONITOR_SEND_MOVED = 1 shl 1 182 G_FILE_MONITOR_WATCH_HARD_LINKS = 1 shl 2 183 end enum 184 185 type GFileType as long 186 enum 187 G_FILE_TYPE_UNKNOWN = 0 188 G_FILE_TYPE_REGULAR 189 G_FILE_TYPE_DIRECTORY 190 G_FILE_TYPE_SYMBOLIC_LINK 191 G_FILE_TYPE_SPECIAL 192 G_FILE_TYPE_SHORTCUT 193 G_FILE_TYPE_MOUNTABLE 194 end enum 195 196 type GFilesystemPreviewType as long 197 enum 198 G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS = 0 199 G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL 200 G_FILESYSTEM_PREVIEW_TYPE_NEVER 201 end enum 202 203 type GFileMonitorEvent as long 204 enum 205 G_FILE_MONITOR_EVENT_CHANGED 206 G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT 207 G_FILE_MONITOR_EVENT_DELETED 208 G_FILE_MONITOR_EVENT_CREATED 209 G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED 210 G_FILE_MONITOR_EVENT_PRE_UNMOUNT 211 G_FILE_MONITOR_EVENT_UNMOUNTED 212 G_FILE_MONITOR_EVENT_MOVED 213 end enum 214 215 type GIOErrorEnum as long 216 enum 217 G_IO_ERROR_FAILED 218 G_IO_ERROR_NOT_FOUND 219 G_IO_ERROR_EXISTS 220 G_IO_ERROR_IS_DIRECTORY 221 G_IO_ERROR_NOT_DIRECTORY 222 G_IO_ERROR_NOT_EMPTY 223 G_IO_ERROR_NOT_REGULAR_FILE 224 G_IO_ERROR_NOT_SYMBOLIC_LINK 225 G_IO_ERROR_NOT_MOUNTABLE_FILE 226 G_IO_ERROR_FILENAME_TOO_LONG 227 G_IO_ERROR_INVALID_FILENAME 228 G_IO_ERROR_TOO_MANY_LINKS 229 G_IO_ERROR_NO_SPACE 230 G_IO_ERROR_INVALID_ARGUMENT 231 G_IO_ERROR_PERMISSION_DENIED 232 G_IO_ERROR_NOT_SUPPORTED 233 G_IO_ERROR_NOT_MOUNTED 234 G_IO_ERROR_ALREADY_MOUNTED 235 G_IO_ERROR_CLOSED 236 G_IO_ERROR_CANCELLED 237 G_IO_ERROR_PENDING 238 G_IO_ERROR_READ_ONLY 239 G_IO_ERROR_CANT_CREATE_BACKUP 240 G_IO_ERROR_WRONG_ETAG 241 G_IO_ERROR_TIMED_OUT 242 G_IO_ERROR_WOULD_RECURSE 243 G_IO_ERROR_BUSY 244 G_IO_ERROR_WOULD_BLOCK 245 G_IO_ERROR_HOST_NOT_FOUND 246 G_IO_ERROR_WOULD_MERGE 247 G_IO_ERROR_FAILED_HANDLED 248 G_IO_ERROR_TOO_MANY_OPEN_FILES 249 G_IO_ERROR_NOT_INITIALIZED 250 G_IO_ERROR_ADDRESS_IN_USE 251 G_IO_ERROR_PARTIAL_INPUT 252 G_IO_ERROR_INVALID_DATA 253 G_IO_ERROR_DBUS_ERROR 254 G_IO_ERROR_HOST_UNREACHABLE 255 G_IO_ERROR_NETWORK_UNREACHABLE 256 G_IO_ERROR_CONNECTION_REFUSED 257 G_IO_ERROR_PROXY_FAILED 258 G_IO_ERROR_PROXY_AUTH_FAILED 259 G_IO_ERROR_PROXY_NEED_AUTH 260 G_IO_ERROR_PROXY_NOT_ALLOWED 261 G_IO_ERROR_BROKEN_PIPE 262 G_IO_ERROR_CONNECTION_CLOSED = G_IO_ERROR_BROKEN_PIPE 263 G_IO_ERROR_NOT_CONNECTED 264 end enum 265 266 type GAskPasswordFlags as long 267 enum 268 G_ASK_PASSWORD_NEED_PASSWORD = 1 shl 0 269 G_ASK_PASSWORD_NEED_USERNAME = 1 shl 1 270 G_ASK_PASSWORD_NEED_DOMAIN = 1 shl 2 271 G_ASK_PASSWORD_SAVING_SUPPORTED = 1 shl 3 272 G_ASK_PASSWORD_ANONYMOUS_SUPPORTED = 1 shl 4 273 end enum 274 275 type GPasswordSave as long 276 enum 277 G_PASSWORD_SAVE_NEVER 278 G_PASSWORD_SAVE_FOR_SESSION 279 G_PASSWORD_SAVE_PERMANENTLY 280 end enum 281 282 type GMountOperationResult as long 283 enum 284 G_MOUNT_OPERATION_HANDLED 285 G_MOUNT_OPERATION_ABORTED 286 G_MOUNT_OPERATION_UNHANDLED 287 end enum 288 289 type GOutputStreamSpliceFlags as long 290 enum 291 G_OUTPUT_STREAM_SPLICE_NONE = 0 292 G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE = 1 shl 0 293 G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET = 1 shl 1 294 end enum 295 296 type GIOStreamSpliceFlags as long 297 enum 298 G_IO_STREAM_SPLICE_NONE = 0 299 G_IO_STREAM_SPLICE_CLOSE_STREAM1 = 1 shl 0 300 G_IO_STREAM_SPLICE_CLOSE_STREAM2 = 1 shl 1 301 G_IO_STREAM_SPLICE_WAIT_FOR_BOTH = 1 shl 2 302 end enum 303 304 type GEmblemOrigin as long 305 enum 306 G_EMBLEM_ORIGIN_UNKNOWN 307 G_EMBLEM_ORIGIN_DEVICE 308 G_EMBLEM_ORIGIN_LIVEMETADATA 309 G_EMBLEM_ORIGIN_TAG 310 end enum 311 312 type GResolverError as long 313 enum 314 G_RESOLVER_ERROR_NOT_FOUND 315 G_RESOLVER_ERROR_TEMPORARY_FAILURE 316 G_RESOLVER_ERROR_INTERNAL 317 end enum 318 319 type GResolverRecordType as long 320 enum 321 G_RESOLVER_RECORD_SRV = 1 322 G_RESOLVER_RECORD_MX 323 G_RESOLVER_RECORD_TXT 324 G_RESOLVER_RECORD_SOA 325 G_RESOLVER_RECORD_NS 326 end enum 327 328 type GResourceError as long 329 enum 330 G_RESOURCE_ERROR_NOT_FOUND 331 G_RESOURCE_ERROR_INTERNAL 332 end enum 333 334 type GResourceFlags as long 335 enum 336 G_RESOURCE_FLAGS_NONE = 0 337 G_RESOURCE_FLAGS_COMPRESSED = 1 shl 0 338 end enum 339 340 type GResourceLookupFlags as long 341 enum 342 G_RESOURCE_LOOKUP_FLAGS_NONE = 0 343 end enum 344 345 type GSocketFamily as long 346 enum 347 G_SOCKET_FAMILY_INVALID 348 G_SOCKET_FAMILY_UNIX = 1 349 G_SOCKET_FAMILY_IPV4 = 2 350 351 #ifdef __FB_LINUX__ 352 G_SOCKET_FAMILY_IPV6 = 10 353 #elseif defined(__FB_FREEBSD__) 354 G_SOCKET_FAMILY_IPV6 = 28 355 #elseif defined(__FB_OPENBSD__) or defined(__FB_NETBSD__) 356 G_SOCKET_FAMILY_IPV6 = 24 357 #elseif defined(__FB_DARWIN__) 358 G_SOCKET_FAMILY_IPV6 = 30 359 #else 360 G_SOCKET_FAMILY_IPV6 = 23 361 #endif 362 end enum 363 364 type GSocketType as long 365 enum 366 G_SOCKET_TYPE_INVALID 367 G_SOCKET_TYPE_STREAM 368 G_SOCKET_TYPE_DATAGRAM 369 G_SOCKET_TYPE_SEQPACKET 370 end enum 371 372 type GSocketMsgFlags as long 373 enum 374 G_SOCKET_MSG_NONE 375 G_SOCKET_MSG_OOB = 1 376 G_SOCKET_MSG_PEEK = 2 377 G_SOCKET_MSG_DONTROUTE = 4 378 end enum 379 380 type GSocketProtocol as long 381 enum 382 G_SOCKET_PROTOCOL_UNKNOWN = -1 383 G_SOCKET_PROTOCOL_DEFAULT = 0 384 G_SOCKET_PROTOCOL_TCP = 6 385 G_SOCKET_PROTOCOL_UDP = 17 386 G_SOCKET_PROTOCOL_SCTP = 132 387 end enum 388 389 type GZlibCompressorFormat as long 390 enum 391 G_ZLIB_COMPRESSOR_FORMAT_ZLIB 392 G_ZLIB_COMPRESSOR_FORMAT_GZIP 393 G_ZLIB_COMPRESSOR_FORMAT_RAW 394 end enum 395 396 type GUnixSocketAddressType as long 397 enum 398 G_UNIX_SOCKET_ADDRESS_INVALID 399 G_UNIX_SOCKET_ADDRESS_ANONYMOUS 400 G_UNIX_SOCKET_ADDRESS_PATH 401 G_UNIX_SOCKET_ADDRESS_ABSTRACT 402 G_UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED 403 end enum 404 405 type GBusType as long 406 enum 407 G_BUS_TYPE_STARTER = -1 408 G_BUS_TYPE_NONE = 0 409 G_BUS_TYPE_SYSTEM = 1 410 G_BUS_TYPE_SESSION = 2 411 end enum 412 413 type GBusNameOwnerFlags as long 414 enum 415 G_BUS_NAME_OWNER_FLAGS_NONE = 0 416 G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT = 1 shl 0 417 G_BUS_NAME_OWNER_FLAGS_REPLACE = 1 shl 1 418 end enum 419 420 type GBusNameWatcherFlags as long 421 enum 422 G_BUS_NAME_WATCHER_FLAGS_NONE = 0 423 G_BUS_NAME_WATCHER_FLAGS_AUTO_START = 1 shl 0 424 end enum 425 426 type GDBusProxyFlags as long 427 enum 428 G_DBUS_PROXY_FLAGS_NONE = 0 429 G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES = 1 shl 0 430 G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS = 1 shl 1 431 G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START = 1 shl 2 432 G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES = 1 shl 3 433 G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START_AT_CONSTRUCTION = 1 shl 4 434 end enum 435 436 type GDBusError as long 437 enum 438 G_DBUS_ERROR_FAILED 439 G_DBUS_ERROR_NO_MEMORY 440 G_DBUS_ERROR_SERVICE_UNKNOWN 441 G_DBUS_ERROR_NAME_HAS_NO_OWNER 442 G_DBUS_ERROR_NO_REPLY 443 G_DBUS_ERROR_IO_ERROR 444 G_DBUS_ERROR_BAD_ADDRESS 445 G_DBUS_ERROR_NOT_SUPPORTED 446 G_DBUS_ERROR_LIMITS_EXCEEDED 447 G_DBUS_ERROR_ACCESS_DENIED 448 G_DBUS_ERROR_AUTH_FAILED 449 G_DBUS_ERROR_NO_SERVER 450 G_DBUS_ERROR_TIMEOUT 451 G_DBUS_ERROR_NO_NETWORK 452 G_DBUS_ERROR_ADDRESS_IN_USE 453 G_DBUS_ERROR_DISCONNECTED 454 G_DBUS_ERROR_INVALID_ARGS 455 G_DBUS_ERROR_FILE_NOT_FOUND 456 G_DBUS_ERROR_FILE_EXISTS 457 G_DBUS_ERROR_UNKNOWN_METHOD 458 G_DBUS_ERROR_TIMED_OUT 459 G_DBUS_ERROR_MATCH_RULE_NOT_FOUND 460 G_DBUS_ERROR_MATCH_RULE_INVALID 461 G_DBUS_ERROR_SPAWN_EXEC_FAILED 462 G_DBUS_ERROR_SPAWN_FORK_FAILED 463 G_DBUS_ERROR_SPAWN_CHILD_EXITED 464 G_DBUS_ERROR_SPAWN_CHILD_SIGNALED 465 G_DBUS_ERROR_SPAWN_FAILED 466 G_DBUS_ERROR_SPAWN_SETUP_FAILED 467 G_DBUS_ERROR_SPAWN_CONFIG_INVALID 468 G_DBUS_ERROR_SPAWN_SERVICE_INVALID 469 G_DBUS_ERROR_SPAWN_SERVICE_NOT_FOUND 470 G_DBUS_ERROR_SPAWN_PERMISSIONS_INVALID 471 G_DBUS_ERROR_SPAWN_FILE_INVALID 472 G_DBUS_ERROR_SPAWN_NO_MEMORY 473 G_DBUS_ERROR_UNIX_PROCESS_ID_UNKNOWN 474 G_DBUS_ERROR_INVALID_SIGNATURE 475 G_DBUS_ERROR_INVALID_FILE_CONTENT 476 G_DBUS_ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN 477 G_DBUS_ERROR_ADT_AUDIT_DATA_UNKNOWN 478 G_DBUS_ERROR_OBJECT_PATH_IN_USE 479 G_DBUS_ERROR_UNKNOWN_OBJECT 480 G_DBUS_ERROR_UNKNOWN_INTERFACE 481 G_DBUS_ERROR_UNKNOWN_PROPERTY 482 G_DBUS_ERROR_PROPERTY_READ_ONLY 483 end enum 484 485 type GDBusConnectionFlags as long 486 enum 487 G_DBUS_CONNECTION_FLAGS_NONE = 0 488 G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT = 1 shl 0 489 G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_SERVER = 1 shl 1 490 G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS = 1 shl 2 491 G_DBUS_CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION = 1 shl 3 492 G_DBUS_CONNECTION_FLAGS_DELAY_MESSAGE_PROCESSING = 1 shl 4 493 end enum 494 495 type GDBusCapabilityFlags as long 496 enum 497 G_DBUS_CAPABILITY_FLAGS_NONE = 0 498 G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING = 1 shl 0 499 end enum 500 501 type GDBusCallFlags as long 502 enum 503 G_DBUS_CALL_FLAGS_NONE = 0 504 G_DBUS_CALL_FLAGS_NO_AUTO_START = 1 shl 0 505 end enum 506 507 type GDBusMessageType as long 508 enum 509 G_DBUS_MESSAGE_TYPE_INVALID 510 G_DBUS_MESSAGE_TYPE_METHOD_CALL 511 G_DBUS_MESSAGE_TYPE_METHOD_RETURN 512 G_DBUS_MESSAGE_TYPE_ERROR 513 G_DBUS_MESSAGE_TYPE_SIGNAL 514 end enum 515 516 type GDBusMessageFlags as long 517 enum 518 G_DBUS_MESSAGE_FLAGS_NONE = 0 519 G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED = 1 shl 0 520 G_DBUS_MESSAGE_FLAGS_NO_AUTO_START = 1 shl 1 521 end enum 522 523 type GDBusMessageHeaderField as long 524 enum 525 G_DBUS_MESSAGE_HEADER_FIELD_INVALID 526 G_DBUS_MESSAGE_HEADER_FIELD_PATH 527 G_DBUS_MESSAGE_HEADER_FIELD_INTERFACE 528 G_DBUS_MESSAGE_HEADER_FIELD_MEMBER 529 G_DBUS_MESSAGE_HEADER_FIELD_ERROR_NAME 530 G_DBUS_MESSAGE_HEADER_FIELD_REPLY_SERIAL 531 G_DBUS_MESSAGE_HEADER_FIELD_DESTINATION 532 G_DBUS_MESSAGE_HEADER_FIELD_SENDER 533 G_DBUS_MESSAGE_HEADER_FIELD_SIGNATURE 534 G_DBUS_MESSAGE_HEADER_FIELD_NUM_UNIX_FDS 535 end enum 536 537 type GDBusPropertyInfoFlags as long 538 enum 539 G_DBUS_PROPERTY_INFO_FLAGS_NONE = 0 540 G_DBUS_PROPERTY_INFO_FLAGS_READABLE = 1 shl 0 541 G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE = 1 shl 1 542 end enum 543 544 type GDBusSubtreeFlags as long 545 enum 546 G_DBUS_SUBTREE_FLAGS_NONE = 0 547 G_DBUS_SUBTREE_FLAGS_DISPATCH_TO_UNENUMERATED_NODES = 1 shl 0 548 end enum 549 550 type GDBusServerFlags as long 551 enum 552 G_DBUS_SERVER_FLAGS_NONE = 0 553 G_DBUS_SERVER_FLAGS_RUN_IN_THREAD = 1 shl 0 554 G_DBUS_SERVER_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS = 1 shl 1 555 end enum 556 557 type GDBusSignalFlags as long 558 enum 559 G_DBUS_SIGNAL_FLAGS_NONE = 0 560 G_DBUS_SIGNAL_FLAGS_NO_MATCH_RULE = 1 shl 0 561 G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_NAMESPACE = 1 shl 1 562 G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_PATH = 1 shl 2 563 end enum 564 565 type GDBusSendMessageFlags as long 566 enum 567 G_DBUS_SEND_MESSAGE_FLAGS_NONE = 0 568 G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL = 1 shl 0 569 end enum 570 571 type GCredentialsType as long 572 enum 573 G_CREDENTIALS_TYPE_INVALID 574 G_CREDENTIALS_TYPE_LINUX_UCRED 575 G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED 576 G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED 577 G_CREDENTIALS_TYPE_SOLARIS_UCRED 578 G_CREDENTIALS_TYPE_NETBSD_UNPCBID 579 end enum 580 581 type GDBusMessageByteOrder as long 582 enum 583 G_DBUS_MESSAGE_BYTE_ORDER_BIG_ENDIAN = asc("B") 584 G_DBUS_MESSAGE_BYTE_ORDER_LITTLE_ENDIAN = asc("l") 585 end enum 586 587 type GApplicationFlags as long 588 enum 589 G_APPLICATION_FLAGS_NONE 590 G_APPLICATION_IS_SERVICE = 1 shl 0 591 G_APPLICATION_IS_LAUNCHER = 1 shl 1 592 G_APPLICATION_HANDLES_OPEN = 1 shl 2 593 G_APPLICATION_HANDLES_COMMAND_LINE = 1 shl 3 594 G_APPLICATION_SEND_ENVIRONMENT = 1 shl 4 595 G_APPLICATION_NON_UNIQUE = 1 shl 5 596 end enum 597 598 type GTlsError as long 599 enum 600 G_TLS_ERROR_UNAVAILABLE 601 G_TLS_ERROR_MISC 602 G_TLS_ERROR_BAD_CERTIFICATE 603 G_TLS_ERROR_NOT_TLS 604 G_TLS_ERROR_HANDSHAKE 605 G_TLS_ERROR_CERTIFICATE_REQUIRED 606 G_TLS_ERROR_EOF 607 end enum 608 609 type GTlsCertificateFlags as long 610 enum 611 G_TLS_CERTIFICATE_UNKNOWN_CA = 1 shl 0 612 G_TLS_CERTIFICATE_BAD_IDENTITY = 1 shl 1 613 G_TLS_CERTIFICATE_NOT_ACTIVATED = 1 shl 2 614 G_TLS_CERTIFICATE_EXPIRED = 1 shl 3 615 G_TLS_CERTIFICATE_REVOKED = 1 shl 4 616 G_TLS_CERTIFICATE_INSECURE = 1 shl 5 617 G_TLS_CERTIFICATE_GENERIC_ERROR = 1 shl 6 618 G_TLS_CERTIFICATE_VALIDATE_ALL = &h007f 619 end enum 620 621 type GTlsAuthenticationMode as long 622 enum 623 G_TLS_AUTHENTICATION_NONE 624 G_TLS_AUTHENTICATION_REQUESTED 625 G_TLS_AUTHENTICATION_REQUIRED 626 end enum 627 628 type GTlsRehandshakeMode as long 629 enum 630 G_TLS_REHANDSHAKE_NEVER 631 G_TLS_REHANDSHAKE_SAFELY 632 G_TLS_REHANDSHAKE_UNSAFELY 633 end enum 634 635 type _GTlsPasswordFlags as long 636 enum 637 G_TLS_PASSWORD_NONE = 0 638 G_TLS_PASSWORD_RETRY = 1 shl 1 639 G_TLS_PASSWORD_MANY_TRIES = 1 shl 2 640 G_TLS_PASSWORD_FINAL_TRY = 1 shl 3 641 end enum 642 643 type GTlsPasswordFlags as _GTlsPasswordFlags 644 645 type GTlsInteractionResult as long 646 enum 647 G_TLS_INTERACTION_UNHANDLED 648 G_TLS_INTERACTION_HANDLED 649 G_TLS_INTERACTION_FAILED 650 end enum 651 652 type GDBusInterfaceSkeletonFlags as long 653 enum 654 G_DBUS_INTERFACE_SKELETON_FLAGS_NONE = 0 655 G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD = 1 shl 0 656 end enum 657 658 type GDBusObjectManagerClientFlags as long 659 enum 660 G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE = 0 661 G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START = 1 shl 0 662 end enum 663 664 type GTlsDatabaseVerifyFlags as long 665 enum 666 G_TLS_DATABASE_VERIFY_NONE = 0 667 end enum 668 669 type GTlsDatabaseLookupFlags as long 670 enum 671 G_TLS_DATABASE_LOOKUP_NONE = 0 672 G_TLS_DATABASE_LOOKUP_KEYPAIR = 1 673 end enum 674 675 type GTlsCertificateRequestFlags as long 676 enum 677 G_TLS_CERTIFICATE_REQUEST_NONE = 0 678 end enum 679 680 type GIOModuleScopeFlags as long 681 enum 682 G_IO_MODULE_SCOPE_NONE 683 G_IO_MODULE_SCOPE_BLOCK_DUPLICATES 684 end enum 685 686 type GSocketClientEvent as long 687 enum 688 G_SOCKET_CLIENT_RESOLVING 689 G_SOCKET_CLIENT_RESOLVED 690 G_SOCKET_CLIENT_CONNECTING 691 G_SOCKET_CLIENT_CONNECTED 692 G_SOCKET_CLIENT_PROXY_NEGOTIATING 693 G_SOCKET_CLIENT_PROXY_NEGOTIATED 694 G_SOCKET_CLIENT_TLS_HANDSHAKING 695 G_SOCKET_CLIENT_TLS_HANDSHAKED 696 G_SOCKET_CLIENT_COMPLETE 697 end enum 698 699 type GTestDBusFlags as long 700 enum 701 G_TEST_DBUS_NONE = 0 702 end enum 703 704 type GSubprocessFlags as long 705 enum 706 G_SUBPROCESS_FLAGS_NONE = 0 707 G_SUBPROCESS_FLAGS_STDIN_PIPE = culng(1u shl 0) 708 G_SUBPROCESS_FLAGS_STDIN_INHERIT = culng(1u shl 1) 709 G_SUBPROCESS_FLAGS_STDOUT_PIPE = culng(1u shl 2) 710 G_SUBPROCESS_FLAGS_STDOUT_SILENCE = culng(1u shl 3) 711 G_SUBPROCESS_FLAGS_STDERR_PIPE = culng(1u shl 4) 712 G_SUBPROCESS_FLAGS_STDERR_SILENCE = culng(1u shl 5) 713 G_SUBPROCESS_FLAGS_STDERR_MERGE = culng(1u shl 6) 714 G_SUBPROCESS_FLAGS_INHERIT_FDS = culng(1u shl 7) 715 end enum 716 717 type GNotificationPriority as long 718 enum 719 G_NOTIFICATION_PRIORITY_NORMAL 720 G_NOTIFICATION_PRIORITY_LOW 721 G_NOTIFICATION_PRIORITY_HIGH 722 G_NOTIFICATION_PRIORITY_URGENT 723 end enum 724 725 type GNetworkConnectivity as long 726 enum 727 G_NETWORK_CONNECTIVITY_LOCAL = 1 728 G_NETWORK_CONNECTIVITY_LIMITED = 2 729 G_NETWORK_CONNECTIVITY_PORTAL = 3 730 G_NETWORK_CONNECTIVITY_FULL = 4 731 end enum 732 733 type GAppLaunchContext as _GAppLaunchContext 734 type GAppInfo as _GAppInfo 735 type GAsyncResult as _GAsyncResult 736 type GAsyncInitable as _GAsyncInitable 737 type GBufferedInputStream as _GBufferedInputStream 738 type GBufferedOutputStream as _GBufferedOutputStream 739 type GCancellable as _GCancellable 740 type GCharsetConverter as _GCharsetConverter 741 type GConverter as _GConverter 742 type GConverterInputStream as _GConverterInputStream 743 type GConverterOutputStream as _GConverterOutputStream 744 type GDataInputStream as _GDataInputStream 745 type GSimplePermission as _GSimplePermission 746 type GZlibCompressor as _GZlibCompressor 747 type GZlibDecompressor as _GZlibDecompressor 748 type GSimpleActionGroup as _GSimpleActionGroup 749 type GRemoteActionGroup as _GRemoteActionGroup 750 type GDBusActionGroup as _GDBusActionGroup 751 type GActionMap as _GActionMap 752 type GActionGroup as _GActionGroup 753 type GPropertyAction as _GPropertyAction 754 type GSimpleAction as _GSimpleAction 755 type GAction as _GAction 756 type GApplication as _GApplication 757 type GApplicationCommandLine as _GApplicationCommandLine 758 type GSettingsBackend as _GSettingsBackend 759 type GSettings as _GSettings 760 type GPermission as _GPermission 761 type GMenuModel as _GMenuModel 762 type GNotification as _GNotification 763 type GDrive as _GDrive 764 type GFileEnumerator as _GFileEnumerator 765 type GFileMonitor as _GFileMonitor 766 type GFilterInputStream as _GFilterInputStream 767 type GFilterOutputStream as _GFilterOutputStream 768 type GFile as _GFile 769 type GFileInfo as _GFileInfo 770 type GFileAttributeMatcher as _GFileAttributeMatcher 771 type GFileAttributeInfo as _GFileAttributeInfo 772 type GFileAttributeInfoList as _GFileAttributeInfoList 773 type GFileDescriptorBased as _GFileDescriptorBased 774 type GFileInputStream as _GFileInputStream 775 type GFileOutputStream as _GFileOutputStream 776 type GFileIOStream as _GFileIOStream 777 type GFileIcon as _GFileIcon 778 type GFilenameCompleter as _GFilenameCompleter 779 type GIcon as _GIcon 780 type GInetAddress as _GInetAddress 781 type GInetAddressMask as _GInetAddressMask 782 type GInetSocketAddress as _GInetSocketAddress 783 type GInputStream as _GInputStream 784 type GInitable as _GInitable 785 type GIOModule as _GIOModule 786 type GIOExtensionPoint as _GIOExtensionPoint 787 type GIOExtension as _GIOExtension 788 type GIOSchedulerJob as _GIOSchedulerJob 789 type GIOStreamAdapter as _GIOStreamAdapter 790 type GLoadableIcon as _GLoadableIcon 791 type GBytesIcon as _GBytesIcon 792 type GMemoryInputStream as _GMemoryInputStream 793 type GMemoryOutputStream as _GMemoryOutputStream 794 type GMount as _GMount 795 type GMountOperation as _GMountOperation 796 type GNetworkAddress as _GNetworkAddress 797 type GNetworkMonitor as _GNetworkMonitor 798 type GNetworkService as _GNetworkService 799 type GOutputStream as _GOutputStream 800 type GIOStream as _GIOStream 801 type GSimpleIOStream as _GSimpleIOStream 802 type GPollableInputStream as _GPollableInputStream 803 type GPollableOutputStream as _GPollableOutputStream 804 type GResolver as _GResolver 805 type GResource as _GResource 806 type GSeekable as _GSeekable 807 type GSimpleAsyncResult as _GSimpleAsyncResult 808 type GSocket as _GSocket 809 type GSocketControlMessage as _GSocketControlMessage 810 type GSocketClient as _GSocketClient 811 type GSocketConnection as _GSocketConnection 812 type GSocketListener as _GSocketListener 813 type GSocketService as _GSocketService 814 type GSocketAddress as _GSocketAddress 815 type GSocketAddressEnumerator as _GSocketAddressEnumerator 816 type GSocketConnectable as _GSocketConnectable 817 type GSrvTarget as _GSrvTarget 818 type GTask as _GTask 819 type GTcpConnection as _GTcpConnection 820 type GTcpWrapperConnection as _GTcpWrapperConnection 821 type GThreadedSocketService as _GThreadedSocketService 822 type GThemedIcon as _GThemedIcon 823 type GTlsCertificate as _GTlsCertificate 824 type GTlsClientConnection as _GTlsClientConnection 825 type GTlsConnection as _GTlsConnection 826 type GTlsDatabase as _GTlsDatabase 827 type GTlsFileDatabase as _GTlsFileDatabase 828 type GTlsInteraction as _GTlsInteraction 829 type GTlsPassword as _GTlsPassword 830 type GTlsServerConnection as _GTlsServerConnection 831 type GVfs as _GVfs 832 type GProxyResolver as _GProxyResolver 833 type GProxy as _GProxy 834 type GProxyAddress as _GProxyAddress 835 type GProxyAddressEnumerator as _GProxyAddressEnumerator 836 type GVolume as _GVolume 837 type GVolumeMonitor as _GVolumeMonitor 838 type GAsyncReadyCallback as sub(byval source_object as GObject ptr, byval res as GAsyncResult ptr, byval user_data as gpointer) 839 type GFileProgressCallback as sub(byval current_num_bytes as goffset, byval total_num_bytes as goffset, byval user_data as gpointer) 840 type GFileReadMoreCallback as function(byval file_contents as const zstring ptr, byval file_size as goffset, byval callback_data as gpointer) as gboolean 841 type GFileMeasureProgressCallback as sub(byval reporting as gboolean, byval current_size as guint64, byval num_dirs as guint64, byval num_files as guint64, byval user_data as gpointer) 842 type GIOSchedulerJobFunc as function(byval job as GIOSchedulerJob ptr, byval cancellable as GCancellable ptr, byval user_data as gpointer) as gboolean 843 type GSimpleAsyncThreadFunc as sub(byval res as GSimpleAsyncResult ptr, byval object as GObject ptr, byval cancellable as GCancellable ptr) 844 type GSocketSourceFunc as function(byval socket as GSocket ptr, byval condition as GIOCondition, byval user_data as gpointer) as gboolean 845 type GInputVector as _GInputVector 846 847 type _GInputVector 848 buffer as gpointer 849 size as gsize 850 end type 851 852 type GOutputVector as _GOutputVector 853 854 type _GOutputVector 855 buffer as gconstpointer 856 size as gsize 857 end type 858 859 type GOutputMessage as _GOutputMessage 860 861 type _GOutputMessage 862 address as GSocketAddress ptr 863 vectors as GOutputVector ptr 864 num_vectors as guint 865 bytes_sent as guint 866 control_messages as GSocketControlMessage ptr ptr 867 num_control_messages as guint 868 end type 869 870 type GCredentials as _GCredentials 871 type GUnixCredentialsMessage as _GUnixCredentialsMessage 872 type GUnixFDList as _GUnixFDList 873 type GDBusMessage as _GDBusMessage 874 type GDBusConnection as _GDBusConnection 875 type GDBusProxy as _GDBusProxy 876 type GDBusMethodInvocation as _GDBusMethodInvocation 877 type GDBusServer as _GDBusServer 878 type GDBusAuthObserver as _GDBusAuthObserver 879 type GDBusErrorEntry as _GDBusErrorEntry 880 type GDBusInterfaceVTable as _GDBusInterfaceVTable 881 type GDBusSubtreeVTable as _GDBusSubtreeVTable 882 type GDBusAnnotationInfo as _GDBusAnnotationInfo 883 type GDBusArgInfo as _GDBusArgInfo 884 type GDBusMethodInfo as _GDBusMethodInfo 885 type GDBusSignalInfo as _GDBusSignalInfo 886 type GDBusPropertyInfo as _GDBusPropertyInfo 887 type GDBusInterfaceInfo as _GDBusInterfaceInfo 888 type GDBusNodeInfo as _GDBusNodeInfo 889 type GCancellableSourceFunc as function(byval cancellable as GCancellable ptr, byval user_data as gpointer) as gboolean 890 type GPollableSourceFunc as function(byval pollable_stream as GObject ptr, byval user_data as gpointer) as gboolean 891 type GDBusInterface as _GDBusInterface 892 type GDBusInterfaceSkeleton as _GDBusInterfaceSkeleton 893 type GDBusObject as _GDBusObject 894 type GDBusObjectSkeleton as _GDBusObjectSkeleton 895 type GDBusObjectProxy as _GDBusObjectProxy 896 type GDBusObjectManager as _GDBusObjectManager 897 type GDBusObjectManagerClient as _GDBusObjectManagerClient 898 type GDBusObjectManagerServer as _GDBusObjectManagerServer 899 type GDBusProxyTypeFunc as function(byval manager as GDBusObjectManagerClient ptr, byval object_path as const gchar ptr, byval interface_name as const gchar ptr, byval user_data as gpointer) as GType 900 type GTestDBus as _GTestDBus 901 type GSubprocess as _GSubprocess 902 type GSubprocessLauncher as _GSubprocessLauncher 903 904 #define __G_ACTION_H__ 905 #define G_TYPE_ACTION g_action_get_type() 906 #define G_ACTION(inst) G_TYPE_CHECK_INSTANCE_CAST((inst), G_TYPE_ACTION, GAction) 907 #define G_IS_ACTION(inst) G_TYPE_CHECK_INSTANCE_TYPE((inst), G_TYPE_ACTION) 908 #define G_ACTION_GET_IFACE(inst) G_TYPE_INSTANCE_GET_INTERFACE((inst), G_TYPE_ACTION, GActionInterface) 909 type GActionInterface as _GActionInterface 910 911 type _GActionInterface 912 g_iface as GTypeInterface 913 get_name as function(byval action as GAction ptr) as const gchar ptr 914 get_parameter_type as function(byval action as GAction ptr) as const GVariantType ptr 915 get_state_type as function(byval action as GAction ptr) as const GVariantType ptr 916 get_state_hint as function(byval action as GAction ptr) as GVariant ptr 917 get_enabled as function(byval action as GAction ptr) as gboolean 918 get_state as function(byval action as GAction ptr) as GVariant ptr 919 change_state as sub(byval action as GAction ptr, byval value as GVariant ptr) 920 activate as sub(byval action as GAction ptr, byval parameter as GVariant ptr) 921 end type 922 923 declare function g_action_get_type() as GType 924 declare function g_action_get_name(byval action as GAction ptr) as const gchar ptr 925 declare function g_action_get_parameter_type(byval action as GAction ptr) as const GVariantType ptr 926 declare function g_action_get_state_type(byval action as GAction ptr) as const GVariantType ptr 927 declare function g_action_get_state_hint(byval action as GAction ptr) as GVariant ptr 928 declare function g_action_get_enabled(byval action as GAction ptr) as gboolean 929 declare function g_action_get_state(byval action as GAction ptr) as GVariant ptr 930 declare sub g_action_change_state(byval action as GAction ptr, byval value as GVariant ptr) 931 declare sub g_action_activate(byval action as GAction ptr, byval parameter as GVariant ptr) 932 declare function g_action_name_is_valid(byval action_name as const gchar ptr) as gboolean 933 declare function g_action_parse_detailed_name(byval detailed_name as const gchar ptr, byval action_name as gchar ptr ptr, byval target_value as GVariant ptr ptr, byval error as GError ptr ptr) as gboolean 934 declare function g_action_print_detailed_name(byval action_name as const gchar ptr, byval target_value as GVariant ptr) as gchar ptr 935 936 #define __G_ACTION_GROUP_H__ 937 #define G_TYPE_ACTION_GROUP g_action_group_get_type() 938 #define G_ACTION_GROUP(inst) G_TYPE_CHECK_INSTANCE_CAST((inst), G_TYPE_ACTION_GROUP, GActionGroup) 939 #define G_IS_ACTION_GROUP(inst) G_TYPE_CHECK_INSTANCE_TYPE((inst), G_TYPE_ACTION_GROUP) 940 #define G_ACTION_GROUP_GET_IFACE(inst) G_TYPE_INSTANCE_GET_INTERFACE((inst), G_TYPE_ACTION_GROUP, GActionGroupInterface) 941 type GActionGroupInterface as _GActionGroupInterface 942 943 type _GActionGroupInterface 944 g_iface as GTypeInterface 945 has_action as function(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr) as gboolean 946 list_actions as function(byval action_group as GActionGroup ptr) as gchar ptr ptr 947 get_action_enabled as function(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr) as gboolean 948 get_action_parameter_type as function(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr) as const GVariantType ptr 949 get_action_state_type as function(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr) as const GVariantType ptr 950 get_action_state_hint as function(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr) as GVariant ptr 951 get_action_state as function(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr) as GVariant ptr 952 change_action_state as sub(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr, byval value as GVariant ptr) 953 activate_action as sub(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr, byval parameter as GVariant ptr) 954 action_added as sub(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr) 955 action_removed as sub(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr) 956 action_enabled_changed as sub(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr, byval enabled as gboolean) 957 action_state_changed as sub(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr, byval state as GVariant ptr) 958 query_action as function(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr, byval enabled as gboolean ptr, byval parameter_type as const GVariantType ptr ptr, byval state_type as const GVariantType ptr ptr, byval state_hint as GVariant ptr ptr, byval state as GVariant ptr ptr) as gboolean 959 end type 960 961 declare function g_action_group_get_type() as GType 962 declare function g_action_group_has_action(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr) as gboolean 963 declare function g_action_group_list_actions(byval action_group as GActionGroup ptr) as gchar ptr ptr 964 declare function g_action_group_get_action_parameter_type(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr) as const GVariantType ptr 965 declare function g_action_group_get_action_state_type(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr) as const GVariantType ptr 966 declare function g_action_group_get_action_state_hint(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr) as GVariant ptr 967 declare function g_action_group_get_action_enabled(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr) as gboolean 968 declare function g_action_group_get_action_state(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr) as GVariant ptr 969 declare sub g_action_group_change_action_state(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr, byval value as GVariant ptr) 970 declare sub g_action_group_activate_action(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr, byval parameter as GVariant ptr) 971 declare sub g_action_group_action_added(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr) 972 declare sub g_action_group_action_removed(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr) 973 declare sub g_action_group_action_enabled_changed(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr, byval enabled as gboolean) 974 declare sub g_action_group_action_state_changed(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr, byval state as GVariant ptr) 975 declare function g_action_group_query_action(byval action_group as GActionGroup ptr, byval action_name as const gchar ptr, byval enabled as gboolean ptr, byval parameter_type as const GVariantType ptr ptr, byval state_type as const GVariantType ptr ptr, byval state_hint as GVariant ptr ptr, byval state as GVariant ptr ptr) as gboolean 976 #define __G_ACTION_GROUP_EXPORTER_H__ 977 declare function g_dbus_connection_export_action_group(byval connection as GDBusConnection ptr, byval object_path as const gchar ptr, byval action_group as GActionGroup ptr, byval error as GError ptr ptr) as guint 978 declare sub g_dbus_connection_unexport_action_group(byval connection as GDBusConnection ptr, byval export_id as guint) 979 980 #define __G_ACTION_MAP_H__ 981 #define G_TYPE_ACTION_MAP g_action_map_get_type() 982 #define G_ACTION_MAP(inst) G_TYPE_CHECK_INSTANCE_CAST((inst), G_TYPE_ACTION_MAP, GActionMap) 983 #define G_IS_ACTION_MAP(inst) G_TYPE_CHECK_INSTANCE_TYPE((inst), G_TYPE_ACTION_MAP) 984 #define G_ACTION_MAP_GET_IFACE(inst) G_TYPE_INSTANCE_GET_INTERFACE((inst), G_TYPE_ACTION_MAP, GActionMapInterface) 985 type GActionMapInterface as _GActionMapInterface 986 type GActionEntry as _GActionEntry 987 988 type _GActionMapInterface 989 g_iface as GTypeInterface 990 lookup_action as function(byval action_map as GActionMap ptr, byval action_name as const gchar ptr) as GAction ptr 991 add_action as sub(byval action_map as GActionMap ptr, byval action as GAction ptr) 992 remove_action as sub(byval action_map as GActionMap ptr, byval action_name as const gchar ptr) 993 end type 994 995 type _GActionEntry 996 name as const gchar ptr 997 activate as sub(byval action as GSimpleAction ptr, byval parameter as GVariant ptr, byval user_data as gpointer) 998 parameter_type as const gchar ptr 999 state as const gchar ptr 1000 change_state as sub(byval action as GSimpleAction ptr, byval value as GVariant ptr, byval user_data as gpointer) 1001 padding(0 to 2) as gsize 1002 end type 1003 1004 declare function g_action_map_get_type() as GType 1005 declare function g_action_map_lookup_action(byval action_map as GActionMap ptr, byval action_name as const gchar ptr) as GAction ptr 1006 declare sub g_action_map_add_action(byval action_map as GActionMap ptr, byval action as GAction ptr) 1007 declare sub g_action_map_remove_action(byval action_map as GActionMap ptr, byval action_name as const gchar ptr) 1008 declare sub g_action_map_add_action_entries(byval action_map as GActionMap ptr, byval entries as const GActionEntry ptr, byval n_entries as gint, byval user_data as gpointer) 1009 1010 #define __G_APP_INFO_H__ 1011 #define G_TYPE_APP_INFO g_app_info_get_type() 1012 #define G_APP_INFO(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), G_TYPE_APP_INFO, GAppInfo) 1013 #define G_IS_APP_INFO(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), G_TYPE_APP_INFO) 1014 #define G_APP_INFO_GET_IFACE(obj) G_TYPE_INSTANCE_GET_INTERFACE((obj), G_TYPE_APP_INFO, GAppInfoIface) 1015 #define G_TYPE_APP_LAUNCH_CONTEXT g_app_launch_context_get_type() 1016 #define G_APP_LAUNCH_CONTEXT(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_APP_LAUNCH_CONTEXT, GAppLaunchContext) 1017 #define G_APP_LAUNCH_CONTEXT_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_APP_LAUNCH_CONTEXT, GAppLaunchContextClass) 1018 #define G_IS_APP_LAUNCH_CONTEXT(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_APP_LAUNCH_CONTEXT) 1019 #define G_IS_APP_LAUNCH_CONTEXT_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_APP_LAUNCH_CONTEXT) 1020 #define G_APP_LAUNCH_CONTEXT_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_APP_LAUNCH_CONTEXT, GAppLaunchContextClass) 1021 1022 type GAppLaunchContextClass as _GAppLaunchContextClass 1023 type GAppLaunchContextPrivate as _GAppLaunchContextPrivate 1024 type GAppInfoIface as _GAppInfoIface 1025 1026 type _GAppInfoIface 1027 g_iface as GTypeInterface 1028 dup as function(byval appinfo as GAppInfo ptr) as GAppInfo ptr 1029 equal as function(byval appinfo1 as GAppInfo ptr, byval appinfo2 as GAppInfo ptr) as gboolean 1030 get_id as function(byval appinfo as GAppInfo ptr) as const zstring ptr 1031 get_name as function(byval appinfo as GAppInfo ptr) as const zstring ptr 1032 get_description as function(byval appinfo as GAppInfo ptr) as const zstring ptr 1033 get_executable as function(byval appinfo as GAppInfo ptr) as const zstring ptr 1034 get_icon as function(byval appinfo as GAppInfo ptr) as GIcon ptr 1035 launch as function(byval appinfo as GAppInfo ptr, byval files as GList ptr, byval launch_context as GAppLaunchContext ptr, byval error as GError ptr ptr) as gboolean 1036 supports_uris as function(byval appinfo as GAppInfo ptr) as gboolean 1037 supports_files as function(byval appinfo as GAppInfo ptr) as gboolean 1038 launch_uris as function(byval appinfo as GAppInfo ptr, byval uris as GList ptr, byval launch_context as GAppLaunchContext ptr, byval error as GError ptr ptr) as gboolean 1039 should_show as function(byval appinfo as GAppInfo ptr) as gboolean 1040 set_as_default_for_type as function(byval appinfo as GAppInfo ptr, byval content_type as const zstring ptr, byval error as GError ptr ptr) as gboolean 1041 set_as_default_for_extension as function(byval appinfo as GAppInfo ptr, byval extension as const zstring ptr, byval error as GError ptr ptr) as gboolean 1042 add_supports_type as function(byval appinfo as GAppInfo ptr, byval content_type as const zstring ptr, byval error as GError ptr ptr) as gboolean 1043 can_remove_supports_type as function(byval appinfo as GAppInfo ptr) as gboolean 1044 remove_supports_type as function(byval appinfo as GAppInfo ptr, byval content_type as const zstring ptr, byval error as GError ptr ptr) as gboolean 1045 can_delete as function(byval appinfo as GAppInfo ptr) as gboolean 1046 do_delete as function(byval appinfo as GAppInfo ptr) as gboolean 1047 get_commandline as function(byval appinfo as GAppInfo ptr) as const zstring ptr 1048 get_display_name as function(byval appinfo as GAppInfo ptr) as const zstring ptr 1049 set_as_last_used_for_type as function(byval appinfo as GAppInfo ptr, byval content_type as const zstring ptr, byval error as GError ptr ptr) as gboolean 1050 get_supported_types as function(byval appinfo as GAppInfo ptr) as const zstring ptr ptr 1051 end type 1052 1053 declare function g_app_info_get_type() as GType 1054 declare function g_app_info_create_from_commandline(byval commandline as const zstring ptr, byval application_name as const zstring ptr, byval flags as GAppInfoCreateFlags, byval error as GError ptr ptr) as GAppInfo ptr 1055 declare function g_app_info_dup(byval appinfo as GAppInfo ptr) as GAppInfo ptr 1056 declare function g_app_info_equal(byval appinfo1 as GAppInfo ptr, byval appinfo2 as GAppInfo ptr) as gboolean 1057 declare function g_app_info_get_id(byval appinfo as GAppInfo ptr) as const zstring ptr 1058 declare function g_app_info_get_name(byval appinfo as GAppInfo ptr) as const zstring ptr 1059 declare function g_app_info_get_display_name(byval appinfo as GAppInfo ptr) as const zstring ptr 1060 declare function g_app_info_get_description(byval appinfo as GAppInfo ptr) as const zstring ptr 1061 declare function g_app_info_get_executable(byval appinfo as GAppInfo ptr) as const zstring ptr 1062 declare function g_app_info_get_commandline(byval appinfo as GAppInfo ptr) as const zstring ptr 1063 declare function g_app_info_get_icon(byval appinfo as GAppInfo ptr) as GIcon ptr 1064 declare function g_app_info_launch(byval appinfo as GAppInfo ptr, byval files as GList ptr, byval launch_context as GAppLaunchContext ptr, byval error as GError ptr ptr) as gboolean 1065 declare function g_app_info_supports_uris(byval appinfo as GAppInfo ptr) as gboolean 1066 declare function g_app_info_supports_files(byval appinfo as GAppInfo ptr) as gboolean 1067 declare function g_app_info_launch_uris(byval appinfo as GAppInfo ptr, byval uris as GList ptr, byval launch_context as GAppLaunchContext ptr, byval error as GError ptr ptr) as gboolean 1068 declare function g_app_info_should_show(byval appinfo as GAppInfo ptr) as gboolean 1069 declare function g_app_info_set_as_default_for_type(byval appinfo as GAppInfo ptr, byval content_type as const zstring ptr, byval error as GError ptr ptr) as gboolean 1070 declare function g_app_info_set_as_default_for_extension(byval appinfo as GAppInfo ptr, byval extension as const zstring ptr, byval error as GError ptr ptr) as gboolean 1071 declare function g_app_info_add_supports_type(byval appinfo as GAppInfo ptr, byval content_type as const zstring ptr, byval error as GError ptr ptr) as gboolean 1072 declare function g_app_info_can_remove_supports_type(byval appinfo as GAppInfo ptr) as gboolean 1073 declare function g_app_info_remove_supports_type(byval appinfo as GAppInfo ptr, byval content_type as const zstring ptr, byval error as GError ptr ptr) as gboolean 1074 declare function g_app_info_get_supported_types(byval appinfo as GAppInfo ptr) as const zstring ptr ptr 1075 declare function g_app_info_can_delete(byval appinfo as GAppInfo ptr) as gboolean 1076 declare function g_app_info_delete(byval appinfo as GAppInfo ptr) as gboolean 1077 declare function g_app_info_set_as_last_used_for_type(byval appinfo as GAppInfo ptr, byval content_type as const zstring ptr, byval error as GError ptr ptr) as gboolean 1078 declare function g_app_info_get_all() as GList ptr 1079 declare function g_app_info_get_all_for_type(byval content_type as const zstring ptr) as GList ptr 1080 declare function g_app_info_get_recommended_for_type(byval content_type as const gchar ptr) as GList ptr 1081 declare function g_app_info_get_fallback_for_type(byval content_type as const gchar ptr) as GList ptr 1082 declare sub g_app_info_reset_type_associations(byval content_type as const zstring ptr) 1083 declare function g_app_info_get_default_for_type(byval content_type as const zstring ptr, byval must_support_uris as gboolean) as GAppInfo ptr 1084 declare function g_app_info_get_default_for_uri_scheme(byval uri_scheme as const zstring ptr) as GAppInfo ptr 1085 declare function g_app_info_launch_default_for_uri(byval uri as const zstring ptr, byval launch_context as GAppLaunchContext ptr, byval error as GError ptr ptr) as gboolean 1086 1087 type _GAppLaunchContext 1088 parent_instance as GObject 1089 priv as GAppLaunchContextPrivate ptr 1090 end type 1091 1092 type _GAppLaunchContextClass 1093 parent_class as GObjectClass 1094 get_display as function(byval context as GAppLaunchContext ptr, byval info as GAppInfo ptr, byval files as GList ptr) as zstring ptr 1095 get_startup_notify_id as function(byval context as GAppLaunchContext ptr, byval info as GAppInfo ptr, byval files as GList ptr) as zstring ptr 1096 launch_failed as sub(byval context as GAppLaunchContext ptr, byval startup_notify_id as const zstring ptr) 1097 launched as sub(byval context as GAppLaunchContext ptr, byval info as GAppInfo ptr, byval platform_data as GVariant ptr) 1098 _g_reserved1 as sub() 1099 _g_reserved2 as sub() 1100 _g_reserved3 as sub() 1101 _g_reserved4 as sub() 1102 end type 1103 1104 declare function g_app_launch_context_get_type() as GType 1105 declare function g_app_launch_context_new() as GAppLaunchContext ptr 1106 declare sub g_app_launch_context_setenv(byval context as GAppLaunchContext ptr, byval variable as const zstring ptr, byval value as const zstring ptr) 1107 declare sub g_app_launch_context_unsetenv(byval context as GAppLaunchContext ptr, byval variable as const zstring ptr) 1108 declare function g_app_launch_context_get_environment(byval context as GAppLaunchContext ptr) as zstring ptr ptr 1109 declare function g_app_launch_context_get_display(byval context as GAppLaunchContext ptr, byval info as GAppInfo ptr, byval files as GList ptr) as zstring ptr 1110 declare function g_app_launch_context_get_startup_notify_id(byval context as GAppLaunchContext ptr, byval info as GAppInfo ptr, byval files as GList ptr) as zstring ptr 1111 declare sub g_app_launch_context_launch_failed(byval context as GAppLaunchContext ptr, byval startup_notify_id as const zstring ptr) 1112 1113 #define G_TYPE_APP_INFO_MONITOR g_app_info_monitor_get_type() 1114 #define G_APP_INFO_MONITOR(inst) G_TYPE_CHECK_INSTANCE_CAST((inst), G_TYPE_APP_INFO_MONITOR, GAppInfoMonitor) 1115 #define G_IS_APP_INFO_MONITOR(inst) G_TYPE_CHECK_INSTANCE_TYPE((inst), G_TYPE_APP_INFO_MONITOR) 1116 type GAppInfoMonitor as _GAppInfoMonitor 1117 declare function g_app_info_monitor_get_type() as GType 1118 declare function g_app_info_monitor_get() as GAppInfoMonitor ptr 1119 #define __G_APPLICATION_H__ 1120 #define G_TYPE_APPLICATION g_application_get_type() 1121 #define G_APPLICATION(inst) G_TYPE_CHECK_INSTANCE_CAST((inst), G_TYPE_APPLICATION, GApplication) 1122 #define G_APPLICATION_CLASS(class) G_TYPE_CHECK_CLASS_CAST((class), G_TYPE_APPLICATION, GApplicationClass) 1123 #define G_IS_APPLICATION(inst) G_TYPE_CHECK_INSTANCE_TYPE((inst), G_TYPE_APPLICATION) 1124 #define G_IS_APPLICATION_CLASS(class) G_TYPE_CHECK_CLASS_TYPE((class), G_TYPE_APPLICATION) 1125 #define G_APPLICATION_GET_CLASS(inst) G_TYPE_INSTANCE_GET_CLASS((inst), G_TYPE_APPLICATION, GApplicationClass) 1126 type GApplicationPrivate as _GApplicationPrivate 1127 type GApplicationClass as _GApplicationClass 1128 1129 type _GApplication 1130 parent_instance as GObject 1131 priv as GApplicationPrivate ptr 1132 end type 1133 1134 type _GApplicationClass 1135 parent_class as GObjectClass 1136 startup as sub(byval application as GApplication ptr) 1137 activate as sub(byval application as GApplication ptr) 1138 open as sub(byval application as GApplication ptr, byval files as GFile ptr ptr, byval n_files as gint, byval hint as const gchar ptr) 1139 command_line as function(byval application as GApplication ptr, byval command_line as GApplicationCommandLine ptr) as long 1140 local_command_line as function(byval application as GApplication ptr, byval arguments as gchar ptr ptr ptr, byval exit_status as long ptr) as gboolean 1141 before_emit as sub(byval application as GApplication ptr, byval platform_data as GVariant ptr) 1142 after_emit as sub(byval application as GApplication ptr, byval platform_data as GVariant ptr) 1143 add_platform_data as sub(byval application as GApplication ptr, byval builder as GVariantBuilder ptr) 1144 quit_mainloop as sub(byval application as GApplication ptr) 1145 run_mainloop as sub(byval application as GApplication ptr) 1146 shutdown as sub(byval application as GApplication ptr) 1147 dbus_register as function(byval application as GApplication ptr, byval connection as GDBusConnection ptr, byval object_path as const gchar ptr, byval error as GError ptr ptr) as gboolean 1148 dbus_unregister as sub(byval application as GApplication ptr, byval connection as GDBusConnection ptr, byval object_path as const gchar ptr) 1149 handle_local_options as function(byval application as GApplication ptr, byval options as GVariantDict ptr) as gint 1150 padding(0 to 7) as gpointer 1151 end type 1152 1153 declare function g_application_get_type() as GType 1154 declare function g_application_id_is_valid(byval application_id as const gchar ptr) as gboolean 1155 declare function g_application_new(byval application_id as const gchar ptr, byval flags as GApplicationFlags) as GApplication ptr 1156 declare function g_application_get_application_id(byval application as GApplication ptr) as const gchar ptr 1157 declare sub g_application_set_application_id(byval application as GApplication ptr, byval application_id as const gchar ptr) 1158 declare function g_application_get_dbus_connection(byval application as GApplication ptr) as GDBusConnection ptr 1159 declare function g_application_get_dbus_object_path(byval application as GApplication ptr) as const gchar ptr 1160 declare function g_application_get_inactivity_timeout(byval application as GApplication ptr) as guint 1161 declare sub g_application_set_inactivity_timeout(byval application as GApplication ptr, byval inactivity_timeout as guint) 1162 declare function g_application_get_flags(byval application as GApplication ptr) as GApplicationFlags 1163 declare sub g_application_set_flags(byval application as GApplication ptr, byval flags as GApplicationFlags) 1164 declare function g_application_get_resource_base_path(byval application as GApplication ptr) as const gchar ptr 1165 declare sub g_application_set_resource_base_path(byval application as GApplication ptr, byval resource_path as const gchar ptr) 1166 declare sub g_application_set_action_group(byval application as GApplication ptr, byval action_group as GActionGroup ptr) 1167 declare sub g_application_add_main_option_entries(byval application as GApplication ptr, byval entries as const GOptionEntry ptr) 1168 declare sub g_application_add_main_option(byval application as GApplication ptr, byval long_name as const zstring ptr, byval short_name as byte, byval flags as GOptionFlags, byval arg as GOptionArg, byval description as const zstring ptr, byval arg_description as const zstring ptr) 1169 declare sub g_application_add_option_group(byval application as GApplication ptr, byval group as GOptionGroup ptr) 1170 declare function g_application_get_is_registered(byval application as GApplication ptr) as gboolean 1171 declare function g_application_get_is_remote(byval application as GApplication ptr) as gboolean 1172 declare function g_application_register(byval application as GApplication ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 1173 declare sub g_application_hold(byval application as GApplication ptr) 1174 declare sub g_application_release(byval application as GApplication ptr) 1175 declare sub g_application_activate(byval application as GApplication ptr) 1176 declare sub g_application_open(byval application as GApplication ptr, byval files as GFile ptr ptr, byval n_files as gint, byval hint as const gchar ptr) 1177 declare function g_application_run(byval application as GApplication ptr, byval argc as long, byval argv as zstring ptr ptr) as long 1178 declare sub g_application_quit(byval application as GApplication ptr) 1179 declare function g_application_get_default() as GApplication ptr 1180 declare sub g_application_set_default(byval application as GApplication ptr) 1181 declare sub g_application_mark_busy(byval application as GApplication ptr) 1182 declare sub g_application_unmark_busy(byval application as GApplication ptr) 1183 declare function g_application_get_is_busy(byval application as GApplication ptr) as gboolean 1184 declare sub g_application_send_notification(byval application as GApplication ptr, byval id as const gchar ptr, byval notification as GNotification ptr) 1185 declare sub g_application_withdraw_notification(byval application as GApplication ptr, byval id as const gchar ptr) 1186 declare sub g_application_bind_busy_property(byval application as GApplication ptr, byval object as gpointer, byval property as const gchar ptr) 1187 declare sub g_application_unbind_busy_property(byval application as GApplication ptr, byval object as gpointer, byval property as const gchar ptr) 1188 1189 #define __G_APPLICATION_COMMAND_LINE_H__ 1190 #define G_TYPE_APPLICATION_COMMAND_LINE g_application_command_line_get_type() 1191 #define G_APPLICATION_COMMAND_LINE(inst) G_TYPE_CHECK_INSTANCE_CAST((inst), G_TYPE_APPLICATION_COMMAND_LINE, GApplicationCommandLine) 1192 #define G_APPLICATION_COMMAND_LINE_CLASS(class) G_TYPE_CHECK_CLASS_CAST((class), G_TYPE_APPLICATION_COMMAND_LINE, GApplicationCommandLineClass) 1193 #define G_IS_APPLICATION_COMMAND_LINE(inst) G_TYPE_CHECK_INSTANCE_TYPE((inst), G_TYPE_APPLICATION_COMMAND_LINE) 1194 #define G_IS_APPLICATION_COMMAND_LINE_CLASS(class) G_TYPE_CHECK_CLASS_TYPE((class), G_TYPE_APPLICATION_COMMAND_LINE) 1195 #define G_APPLICATION_COMMAND_LINE_GET_CLASS(inst) G_TYPE_INSTANCE_GET_CLASS((inst), G_TYPE_APPLICATION_COMMAND_LINE, GApplicationCommandLineClass) 1196 type GApplicationCommandLinePrivate as _GApplicationCommandLinePrivate 1197 type GApplicationCommandLineClass as _GApplicationCommandLineClass 1198 1199 type _GApplicationCommandLine 1200 parent_instance as GObject 1201 priv as GApplicationCommandLinePrivate ptr 1202 end type 1203 1204 type _GApplicationCommandLineClass 1205 parent_class as GObjectClass 1206 print_literal as sub(byval cmdline as GApplicationCommandLine ptr, byval message as const gchar ptr) 1207 printerr_literal as sub(byval cmdline as GApplicationCommandLine ptr, byval message as const gchar ptr) 1208 get_stdin as function(byval cmdline as GApplicationCommandLine ptr) as GInputStream ptr 1209 padding(0 to 10) as gpointer 1210 end type 1211 1212 declare function g_application_command_line_get_type() as GType 1213 declare function g_application_command_line_get_arguments(byval cmdline as GApplicationCommandLine ptr, byval argc as long ptr) as gchar ptr ptr 1214 declare function g_application_command_line_get_options_dict(byval cmdline as GApplicationCommandLine ptr) as GVariantDict ptr 1215 declare function g_application_command_line_get_stdin(byval cmdline as GApplicationCommandLine ptr) as GInputStream ptr 1216 declare function g_application_command_line_get_environ(byval cmdline as GApplicationCommandLine ptr) as const gchar const ptr ptr 1217 declare function g_application_command_line_getenv(byval cmdline as GApplicationCommandLine ptr, byval name as const gchar ptr) as const gchar ptr 1218 declare function g_application_command_line_get_cwd(byval cmdline as GApplicationCommandLine ptr) as const gchar ptr 1219 declare function g_application_command_line_get_is_remote(byval cmdline as GApplicationCommandLine ptr) as gboolean 1220 declare sub g_application_command_line_print(byval cmdline as GApplicationCommandLine ptr, byval format as const gchar ptr, ...) 1221 declare sub g_application_command_line_printerr(byval cmdline as GApplicationCommandLine ptr, byval format as const gchar ptr, ...) 1222 declare function g_application_command_line_get_exit_status(byval cmdline as GApplicationCommandLine ptr) as long 1223 declare sub g_application_command_line_set_exit_status(byval cmdline as GApplicationCommandLine ptr, byval exit_status as long) 1224 declare function g_application_command_line_get_platform_data(byval cmdline as GApplicationCommandLine ptr) as GVariant ptr 1225 declare function g_application_command_line_create_file_for_arg(byval cmdline as GApplicationCommandLine ptr, byval arg as const gchar ptr) as GFile ptr 1226 1227 #define __G_ASYNC_INITABLE_H__ 1228 #define __G_INITABLE_H__ 1229 #define G_TYPE_INITABLE g_initable_get_type() 1230 #define G_INITABLE(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), G_TYPE_INITABLE, GInitable) 1231 #define G_IS_INITABLE(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), G_TYPE_INITABLE) 1232 #define G_INITABLE_GET_IFACE(obj) G_TYPE_INSTANCE_GET_INTERFACE((obj), G_TYPE_INITABLE, GInitableIface) 1233 #define G_TYPE_IS_INITABLE(type) g_type_is_a((type), G_TYPE_INITABLE) 1234 type GInitableIface as _GInitableIface 1235 1236 type _GInitableIface 1237 g_iface as GTypeInterface 1238 init as function(byval initable as GInitable ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 1239 end type 1240 1241 declare function g_initable_get_type() as GType 1242 declare function g_initable_init(byval initable as GInitable ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 1243 declare function g_initable_new(byval object_type as GType, byval cancellable as GCancellable ptr, byval error as GError ptr ptr, byval first_property_name as const gchar ptr, ...) as gpointer 1244 declare function g_initable_newv(byval object_type as GType, byval n_parameters as guint, byval parameters as GParameter ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gpointer 1245 declare function g_initable_new_valist(byval object_type as GType, byval first_property_name as const gchar ptr, byval var_args as va_list, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GObject ptr 1246 1247 #define G_TYPE_ASYNC_INITABLE g_async_initable_get_type() 1248 #define G_ASYNC_INITABLE(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), G_TYPE_ASYNC_INITABLE, GAsyncInitable) 1249 #define G_IS_ASYNC_INITABLE(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), G_TYPE_ASYNC_INITABLE) 1250 #define G_ASYNC_INITABLE_GET_IFACE(obj) G_TYPE_INSTANCE_GET_INTERFACE((obj), G_TYPE_ASYNC_INITABLE, GAsyncInitableIface) 1251 #define G_TYPE_IS_ASYNC_INITABLE(type) g_type_is_a((type), G_TYPE_ASYNC_INITABLE) 1252 type GAsyncInitableIface as _GAsyncInitableIface 1253 1254 type _GAsyncInitableIface 1255 g_iface as GTypeInterface 1256 init_async as sub(byval initable as GAsyncInitable ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1257 init_finish as function(byval initable as GAsyncInitable ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 1258 end type 1259 1260 declare function g_async_initable_get_type() as GType 1261 declare sub g_async_initable_init_async(byval initable as GAsyncInitable ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1262 declare function g_async_initable_init_finish(byval initable as GAsyncInitable ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 1263 declare sub g_async_initable_new_async(byval object_type as GType, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer, byval first_property_name as const gchar ptr, ...) 1264 declare sub g_async_initable_newv_async(byval object_type as GType, byval n_parameters as guint, byval parameters as GParameter ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1265 declare sub g_async_initable_new_valist_async(byval object_type as GType, byval first_property_name as const gchar ptr, byval var_args as va_list, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1266 declare function g_async_initable_new_finish(byval initable as GAsyncInitable ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GObject ptr 1267 1268 #define __G_ASYNC_RESULT_H__ 1269 #define G_TYPE_ASYNC_RESULT g_async_result_get_type() 1270 #define G_ASYNC_RESULT(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), G_TYPE_ASYNC_RESULT, GAsyncResult) 1271 #define G_IS_ASYNC_RESULT(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), G_TYPE_ASYNC_RESULT) 1272 #define G_ASYNC_RESULT_GET_IFACE(obj) G_TYPE_INSTANCE_GET_INTERFACE((obj), G_TYPE_ASYNC_RESULT, GAsyncResultIface) 1273 type GAsyncResultIface as _GAsyncResultIface 1274 1275 type _GAsyncResultIface 1276 g_iface as GTypeInterface 1277 get_user_data as function(byval res as GAsyncResult ptr) as gpointer 1278 get_source_object as function(byval res as GAsyncResult ptr) as GObject ptr 1279 is_tagged as function(byval res as GAsyncResult ptr, byval source_tag as gpointer) as gboolean 1280 end type 1281 1282 declare function g_async_result_get_type() as GType 1283 declare function g_async_result_get_user_data(byval res as GAsyncResult ptr) as gpointer 1284 declare function g_async_result_get_source_object(byval res as GAsyncResult ptr) as GObject ptr 1285 declare function g_async_result_legacy_propagate_error(byval res as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 1286 declare function g_async_result_is_tagged(byval res as GAsyncResult ptr, byval source_tag as gpointer) as gboolean 1287 1288 #define __G_BUFFERED_INPUT_STREAM_H__ 1289 #define __G_FILTER_INPUT_STREAM_H__ 1290 #define __G_INPUT_STREAM_H__ 1291 #define G_TYPE_INPUT_STREAM g_input_stream_get_type() 1292 #define G_INPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_INPUT_STREAM, GInputStream) 1293 #define G_INPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_INPUT_STREAM, GInputStreamClass) 1294 #define G_IS_INPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_INPUT_STREAM) 1295 #define G_IS_INPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_INPUT_STREAM) 1296 #define G_INPUT_STREAM_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_INPUT_STREAM, GInputStreamClass) 1297 type GInputStreamClass as _GInputStreamClass 1298 type GInputStreamPrivate as _GInputStreamPrivate 1299 1300 type _GInputStream 1301 parent_instance as GObject 1302 priv as GInputStreamPrivate ptr 1303 end type 1304 1305 type _GInputStreamClass 1306 parent_class as GObjectClass 1307 read_fn as function(byval stream as GInputStream ptr, byval buffer as any ptr, byval count as gsize, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gssize 1308 skip as function(byval stream as GInputStream ptr, byval count as gsize, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gssize 1309 close_fn as function(byval stream as GInputStream ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 1310 read_async as sub(byval stream as GInputStream ptr, byval buffer as any ptr, byval count as gsize, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1311 read_finish as function(byval stream as GInputStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gssize 1312 skip_async as sub(byval stream as GInputStream ptr, byval count as gsize, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1313 skip_finish as function(byval stream as GInputStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gssize 1314 close_async as sub(byval stream as GInputStream ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1315 close_finish as function(byval stream as GInputStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 1316 _g_reserved1 as sub() 1317 _g_reserved2 as sub() 1318 _g_reserved3 as sub() 1319 _g_reserved4 as sub() 1320 _g_reserved5 as sub() 1321 end type 1322 1323 declare function g_input_stream_get_type() as GType 1324 declare function g_input_stream_read(byval stream as GInputStream ptr, byval buffer as any ptr, byval count as gsize, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gssize 1325 declare function g_input_stream_read_all(byval stream as GInputStream ptr, byval buffer as any ptr, byval count as gsize, byval bytes_read as gsize ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 1326 declare function g_input_stream_read_bytes(byval stream as GInputStream ptr, byval count as gsize, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GBytes ptr 1327 declare function g_input_stream_skip(byval stream as GInputStream ptr, byval count as gsize, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gssize 1328 declare function g_input_stream_close(byval stream as GInputStream ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 1329 declare sub g_input_stream_read_async(byval stream as GInputStream ptr, byval buffer as any ptr, byval count as gsize, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1330 declare function g_input_stream_read_finish(byval stream as GInputStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gssize 1331 declare sub g_input_stream_read_all_async(byval stream as GInputStream ptr, byval buffer as any ptr, byval count as gsize, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1332 declare function g_input_stream_read_all_finish(byval stream as GInputStream ptr, byval result as GAsyncResult ptr, byval bytes_read as gsize ptr, byval error as GError ptr ptr) as gboolean 1333 declare sub g_input_stream_read_bytes_async(byval stream as GInputStream ptr, byval count as gsize, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1334 declare function g_input_stream_read_bytes_finish(byval stream as GInputStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as GBytes ptr 1335 declare sub g_input_stream_skip_async(byval stream as GInputStream ptr, byval count as gsize, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1336 declare function g_input_stream_skip_finish(byval stream as GInputStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gssize 1337 declare sub g_input_stream_close_async(byval stream as GInputStream ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1338 declare function g_input_stream_close_finish(byval stream as GInputStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 1339 declare function g_input_stream_is_closed(byval stream as GInputStream ptr) as gboolean 1340 declare function g_input_stream_has_pending(byval stream as GInputStream ptr) as gboolean 1341 declare function g_input_stream_set_pending(byval stream as GInputStream ptr, byval error as GError ptr ptr) as gboolean 1342 declare sub g_input_stream_clear_pending(byval stream as GInputStream ptr) 1343 1344 #define G_TYPE_FILTER_INPUT_STREAM g_filter_input_stream_get_type() 1345 #define G_FILTER_INPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_FILTER_INPUT_STREAM, GFilterInputStream) 1346 #define G_FILTER_INPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_FILTER_INPUT_STREAM, GFilterInputStreamClass) 1347 #define G_IS_FILTER_INPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_FILTER_INPUT_STREAM) 1348 #define G_IS_FILTER_INPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_FILTER_INPUT_STREAM) 1349 #define G_FILTER_INPUT_STREAM_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_FILTER_INPUT_STREAM, GFilterInputStreamClass) 1350 type GFilterInputStreamClass as _GFilterInputStreamClass 1351 1352 type _GFilterInputStream 1353 parent_instance as GInputStream 1354 base_stream as GInputStream ptr 1355 end type 1356 1357 type _GFilterInputStreamClass 1358 parent_class as GInputStreamClass 1359 _g_reserved1 as sub() 1360 _g_reserved2 as sub() 1361 _g_reserved3 as sub() 1362 end type 1363 1364 declare function g_filter_input_stream_get_type() as GType 1365 declare function g_filter_input_stream_get_base_stream(byval stream as GFilterInputStream ptr) as GInputStream ptr 1366 declare function g_filter_input_stream_get_close_base_stream(byval stream as GFilterInputStream ptr) as gboolean 1367 declare sub g_filter_input_stream_set_close_base_stream(byval stream as GFilterInputStream ptr, byval close_base as gboolean) 1368 1369 #define G_TYPE_BUFFERED_INPUT_STREAM g_buffered_input_stream_get_type() 1370 #define G_BUFFERED_INPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_BUFFERED_INPUT_STREAM, GBufferedInputStream) 1371 #define G_BUFFERED_INPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_BUFFERED_INPUT_STREAM, GBufferedInputStreamClass) 1372 #define G_IS_BUFFERED_INPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_BUFFERED_INPUT_STREAM) 1373 #define G_IS_BUFFERED_INPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_BUFFERED_INPUT_STREAM) 1374 #define G_BUFFERED_INPUT_STREAM_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_BUFFERED_INPUT_STREAM, GBufferedInputStreamClass) 1375 type GBufferedInputStreamClass as _GBufferedInputStreamClass 1376 type GBufferedInputStreamPrivate as _GBufferedInputStreamPrivate 1377 1378 type _GBufferedInputStream 1379 parent_instance as GFilterInputStream 1380 priv as GBufferedInputStreamPrivate ptr 1381 end type 1382 1383 type _GBufferedInputStreamClass 1384 parent_class as GFilterInputStreamClass 1385 fill as function(byval stream as GBufferedInputStream ptr, byval count as gssize, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gssize 1386 fill_async as sub(byval stream as GBufferedInputStream ptr, byval count as gssize, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1387 fill_finish as function(byval stream as GBufferedInputStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gssize 1388 _g_reserved1 as sub() 1389 _g_reserved2 as sub() 1390 _g_reserved3 as sub() 1391 _g_reserved4 as sub() 1392 _g_reserved5 as sub() 1393 end type 1394 1395 declare function g_buffered_input_stream_get_type() as GType 1396 declare function g_buffered_input_stream_new(byval base_stream as GInputStream ptr) as GInputStream ptr 1397 declare function g_buffered_input_stream_new_sized(byval base_stream as GInputStream ptr, byval size as gsize) as GInputStream ptr 1398 declare function g_buffered_input_stream_get_buffer_size(byval stream as GBufferedInputStream ptr) as gsize 1399 declare sub g_buffered_input_stream_set_buffer_size(byval stream as GBufferedInputStream ptr, byval size as gsize) 1400 declare function g_buffered_input_stream_get_available(byval stream as GBufferedInputStream ptr) as gsize 1401 declare function g_buffered_input_stream_peek(byval stream as GBufferedInputStream ptr, byval buffer as any ptr, byval offset as gsize, byval count as gsize) as gsize 1402 declare function g_buffered_input_stream_peek_buffer(byval stream as GBufferedInputStream ptr, byval count as gsize ptr) as const any ptr 1403 declare function g_buffered_input_stream_fill(byval stream as GBufferedInputStream ptr, byval count as gssize, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gssize 1404 declare sub g_buffered_input_stream_fill_async(byval stream as GBufferedInputStream ptr, byval count as gssize, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1405 declare function g_buffered_input_stream_fill_finish(byval stream as GBufferedInputStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gssize 1406 declare function g_buffered_input_stream_read_byte(byval stream as GBufferedInputStream ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as long 1407 1408 #define __G_BUFFERED_OUTPUT_STREAM_H__ 1409 #define __G_FILTER_OUTPUT_STREAM_H__ 1410 #define __G_OUTPUT_STREAM_H__ 1411 #define G_TYPE_OUTPUT_STREAM g_output_stream_get_type() 1412 #define G_OUTPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_OUTPUT_STREAM, GOutputStream) 1413 #define G_OUTPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_OUTPUT_STREAM, GOutputStreamClass) 1414 #define G_IS_OUTPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_OUTPUT_STREAM) 1415 #define G_IS_OUTPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_OUTPUT_STREAM) 1416 #define G_OUTPUT_STREAM_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_OUTPUT_STREAM, GOutputStreamClass) 1417 type GOutputStreamClass as _GOutputStreamClass 1418 type GOutputStreamPrivate as _GOutputStreamPrivate 1419 1420 type _GOutputStream 1421 parent_instance as GObject 1422 priv as GOutputStreamPrivate ptr 1423 end type 1424 1425 type _GOutputStreamClass 1426 parent_class as GObjectClass 1427 write_fn as function(byval stream as GOutputStream ptr, byval buffer as const any ptr, byval count as gsize, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gssize 1428 splice as function(byval stream as GOutputStream ptr, byval source as GInputStream ptr, byval flags as GOutputStreamSpliceFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gssize 1429 flush as function(byval stream as GOutputStream ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 1430 close_fn as function(byval stream as GOutputStream ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 1431 write_async as sub(byval stream as GOutputStream ptr, byval buffer as const any ptr, byval count as gsize, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1432 write_finish as function(byval stream as GOutputStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gssize 1433 splice_async as sub(byval stream as GOutputStream ptr, byval source as GInputStream ptr, byval flags as GOutputStreamSpliceFlags, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1434 splice_finish as function(byval stream as GOutputStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gssize 1435 flush_async as sub(byval stream as GOutputStream ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1436 flush_finish as function(byval stream as GOutputStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 1437 close_async as sub(byval stream as GOutputStream ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1438 close_finish as function(byval stream as GOutputStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 1439 _g_reserved1 as sub() 1440 _g_reserved2 as sub() 1441 _g_reserved3 as sub() 1442 _g_reserved4 as sub() 1443 _g_reserved5 as sub() 1444 _g_reserved6 as sub() 1445 _g_reserved7 as sub() 1446 _g_reserved8 as sub() 1447 end type 1448 1449 declare function g_output_stream_get_type() as GType 1450 declare function g_output_stream_write(byval stream as GOutputStream ptr, byval buffer as const any ptr, byval count as gsize, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gssize 1451 declare function g_output_stream_write_all(byval stream as GOutputStream ptr, byval buffer as const any ptr, byval count as gsize, byval bytes_written as gsize ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 1452 declare function g_output_stream_printf(byval stream as GOutputStream ptr, byval bytes_written as gsize ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr, byval format as const gchar ptr, ...) as gboolean 1453 declare function g_output_stream_vprintf(byval stream as GOutputStream ptr, byval bytes_written as gsize ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr, byval format as const gchar ptr, byval args as va_list) as gboolean 1454 declare function g_output_stream_write_bytes(byval stream as GOutputStream ptr, byval bytes as GBytes ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gssize 1455 declare function g_output_stream_splice(byval stream as GOutputStream ptr, byval source as GInputStream ptr, byval flags as GOutputStreamSpliceFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gssize 1456 declare function g_output_stream_flush(byval stream as GOutputStream ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 1457 declare function g_output_stream_close(byval stream as GOutputStream ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 1458 declare sub g_output_stream_write_async(byval stream as GOutputStream ptr, byval buffer as const any ptr, byval count as gsize, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1459 declare function g_output_stream_write_finish(byval stream as GOutputStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gssize 1460 declare sub g_output_stream_write_all_async(byval stream as GOutputStream ptr, byval buffer as const any ptr, byval count as gsize, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1461 declare function g_output_stream_write_all_finish(byval stream as GOutputStream ptr, byval result as GAsyncResult ptr, byval bytes_written as gsize ptr, byval error as GError ptr ptr) as gboolean 1462 declare sub g_output_stream_write_bytes_async(byval stream as GOutputStream ptr, byval bytes as GBytes ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1463 declare function g_output_stream_write_bytes_finish(byval stream as GOutputStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gssize 1464 declare sub g_output_stream_splice_async(byval stream as GOutputStream ptr, byval source as GInputStream ptr, byval flags as GOutputStreamSpliceFlags, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1465 declare function g_output_stream_splice_finish(byval stream as GOutputStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gssize 1466 declare sub g_output_stream_flush_async(byval stream as GOutputStream ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1467 declare function g_output_stream_flush_finish(byval stream as GOutputStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 1468 declare sub g_output_stream_close_async(byval stream as GOutputStream ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1469 declare function g_output_stream_close_finish(byval stream as GOutputStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 1470 declare function g_output_stream_is_closed(byval stream as GOutputStream ptr) as gboolean 1471 declare function g_output_stream_is_closing(byval stream as GOutputStream ptr) as gboolean 1472 declare function g_output_stream_has_pending(byval stream as GOutputStream ptr) as gboolean 1473 declare function g_output_stream_set_pending(byval stream as GOutputStream ptr, byval error as GError ptr ptr) as gboolean 1474 declare sub g_output_stream_clear_pending(byval stream as GOutputStream ptr) 1475 1476 #define G_TYPE_FILTER_OUTPUT_STREAM g_filter_output_stream_get_type() 1477 #define G_FILTER_OUTPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_FILTER_OUTPUT_STREAM, GFilterOutputStream) 1478 #define G_FILTER_OUTPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_FILTER_OUTPUT_STREAM, GFilterOutputStreamClass) 1479 #define G_IS_FILTER_OUTPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_FILTER_OUTPUT_STREAM) 1480 #define G_IS_FILTER_OUTPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_FILTER_OUTPUT_STREAM) 1481 #define G_FILTER_OUTPUT_STREAM_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_FILTER_OUTPUT_STREAM, GFilterOutputStreamClass) 1482 type GFilterOutputStreamClass as _GFilterOutputStreamClass 1483 1484 type _GFilterOutputStream 1485 parent_instance as GOutputStream 1486 base_stream as GOutputStream ptr 1487 end type 1488 1489 type _GFilterOutputStreamClass 1490 parent_class as GOutputStreamClass 1491 _g_reserved1 as sub() 1492 _g_reserved2 as sub() 1493 _g_reserved3 as sub() 1494 end type 1495 1496 declare function g_filter_output_stream_get_type() as GType 1497 declare function g_filter_output_stream_get_base_stream(byval stream as GFilterOutputStream ptr) as GOutputStream ptr 1498 declare function g_filter_output_stream_get_close_base_stream(byval stream as GFilterOutputStream ptr) as gboolean 1499 declare sub g_filter_output_stream_set_close_base_stream(byval stream as GFilterOutputStream ptr, byval close_base as gboolean) 1500 1501 #define G_TYPE_BUFFERED_OUTPUT_STREAM g_buffered_output_stream_get_type() 1502 #define G_BUFFERED_OUTPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_BUFFERED_OUTPUT_STREAM, GBufferedOutputStream) 1503 #define G_BUFFERED_OUTPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_BUFFERED_OUTPUT_STREAM, GBufferedOutputStreamClass) 1504 #define G_IS_BUFFERED_OUTPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_BUFFERED_OUTPUT_STREAM) 1505 #define G_IS_BUFFERED_OUTPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_BUFFERED_OUTPUT_STREAM) 1506 #define G_BUFFERED_OUTPUT_STREAM_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_BUFFERED_OUTPUT_STREAM, GBufferedOutputStreamClass) 1507 type GBufferedOutputStreamClass as _GBufferedOutputStreamClass 1508 type GBufferedOutputStreamPrivate as _GBufferedOutputStreamPrivate 1509 1510 type _GBufferedOutputStream 1511 parent_instance as GFilterOutputStream 1512 priv as GBufferedOutputStreamPrivate ptr 1513 end type 1514 1515 type _GBufferedOutputStreamClass 1516 parent_class as GFilterOutputStreamClass 1517 _g_reserved1 as sub() 1518 _g_reserved2 as sub() 1519 end type 1520 1521 declare function g_buffered_output_stream_get_type() as GType 1522 declare function g_buffered_output_stream_new(byval base_stream as GOutputStream ptr) as GOutputStream ptr 1523 declare function g_buffered_output_stream_new_sized(byval base_stream as GOutputStream ptr, byval size as gsize) as GOutputStream ptr 1524 declare function g_buffered_output_stream_get_buffer_size(byval stream as GBufferedOutputStream ptr) as gsize 1525 declare sub g_buffered_output_stream_set_buffer_size(byval stream as GBufferedOutputStream ptr, byval size as gsize) 1526 declare function g_buffered_output_stream_get_auto_grow(byval stream as GBufferedOutputStream ptr) as gboolean 1527 declare sub g_buffered_output_stream_set_auto_grow(byval stream as GBufferedOutputStream ptr, byval auto_grow as gboolean) 1528 1529 #define __G_BYTES_ICON_H__ 1530 #define G_TYPE_BYTES_ICON g_bytes_icon_get_type() 1531 #define G_BYTES_ICON(inst) G_TYPE_CHECK_INSTANCE_CAST((inst), G_TYPE_BYTES_ICON, GBytesIcon) 1532 #define G_IS_BYTES_ICON(inst) G_TYPE_CHECK_INSTANCE_TYPE((inst), G_TYPE_BYTES_ICON) 1533 1534 declare function g_bytes_icon_get_type() as GType 1535 declare function g_bytes_icon_new(byval bytes as GBytes ptr) as GIcon ptr 1536 declare function g_bytes_icon_get_bytes(byval icon as GBytesIcon ptr) as GBytes ptr 1537 1538 #define __G_CANCELLABLE_H__ 1539 #define G_TYPE_CANCELLABLE g_cancellable_get_type() 1540 #define G_CANCELLABLE(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_CANCELLABLE, GCancellable) 1541 #define G_CANCELLABLE_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_CANCELLABLE, GCancellableClass) 1542 #define G_IS_CANCELLABLE(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_CANCELLABLE) 1543 #define G_IS_CANCELLABLE_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_CANCELLABLE) 1544 #define G_CANCELLABLE_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_CANCELLABLE, GCancellableClass) 1545 type GCancellableClass as _GCancellableClass 1546 type GCancellablePrivate as _GCancellablePrivate 1547 1548 type _GCancellable 1549 parent_instance as GObject 1550 priv as GCancellablePrivate ptr 1551 end type 1552 1553 type _GCancellableClass 1554 parent_class as GObjectClass 1555 cancelled as sub(byval cancellable as GCancellable ptr) 1556 _g_reserved1 as sub() 1557 _g_reserved2 as sub() 1558 _g_reserved3 as sub() 1559 _g_reserved4 as sub() 1560 _g_reserved5 as sub() 1561 end type 1562 1563 declare function g_cancellable_get_type() as GType 1564 declare function g_cancellable_new() as GCancellable ptr 1565 declare function g_cancellable_is_cancelled(byval cancellable as GCancellable ptr) as gboolean 1566 declare function g_cancellable_set_error_if_cancelled(byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 1567 declare function g_cancellable_get_fd(byval cancellable as GCancellable ptr) as long 1568 declare function g_cancellable_make_pollfd(byval cancellable as GCancellable ptr, byval pollfd as GPollFD ptr) as gboolean 1569 declare sub g_cancellable_release_fd(byval cancellable as GCancellable ptr) 1570 declare function g_cancellable_source_new(byval cancellable as GCancellable ptr) as GSource ptr 1571 declare function g_cancellable_get_current() as GCancellable ptr 1572 declare sub g_cancellable_push_current(byval cancellable as GCancellable ptr) 1573 declare sub g_cancellable_pop_current(byval cancellable as GCancellable ptr) 1574 declare sub g_cancellable_reset(byval cancellable as GCancellable ptr) 1575 declare function g_cancellable_connect(byval cancellable as GCancellable ptr, byval callback as GCallback, byval data as gpointer, byval data_destroy_func as GDestroyNotify) as gulong 1576 declare sub g_cancellable_disconnect(byval cancellable as GCancellable ptr, byval handler_id as gulong) 1577 declare sub g_cancellable_cancel(byval cancellable as GCancellable ptr) 1578 1579 #define __G_CHARSET_CONVERTER_H__ 1580 #define __G_CONVERTER_H__ 1581 #define G_TYPE_CONVERTER g_converter_get_type() 1582 #define G_CONVERTER(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), G_TYPE_CONVERTER, GConverter) 1583 #define G_IS_CONVERTER(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), G_TYPE_CONVERTER) 1584 #define G_CONVERTER_GET_IFACE(obj) G_TYPE_INSTANCE_GET_INTERFACE((obj), G_TYPE_CONVERTER, GConverterIface) 1585 type GConverterIface as _GConverterIface 1586 1587 type _GConverterIface 1588 g_iface as GTypeInterface 1589 convert as function(byval converter as GConverter ptr, byval inbuf as const any ptr, byval inbuf_size as gsize, byval outbuf as any ptr, byval outbuf_size as gsize, byval flags as GConverterFlags, byval bytes_read as gsize ptr, byval bytes_written as gsize ptr, byval error as GError ptr ptr) as GConverterResult 1590 reset as sub(byval converter as GConverter ptr) 1591 end type 1592 1593 declare function g_converter_get_type() as GType 1594 declare function g_converter_convert(byval converter as GConverter ptr, byval inbuf as const any ptr, byval inbuf_size as gsize, byval outbuf as any ptr, byval outbuf_size as gsize, byval flags as GConverterFlags, byval bytes_read as gsize ptr, byval bytes_written as gsize ptr, byval error as GError ptr ptr) as GConverterResult 1595 declare sub g_converter_reset(byval converter as GConverter ptr) 1596 1597 #define G_TYPE_CHARSET_CONVERTER g_charset_converter_get_type() 1598 #define G_CHARSET_CONVERTER(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_CHARSET_CONVERTER, GCharsetConverter) 1599 #define G_CHARSET_CONVERTER_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_CHARSET_CONVERTER, GCharsetConverterClass) 1600 #define G_IS_CHARSET_CONVERTER(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_CHARSET_CONVERTER) 1601 #define G_IS_CHARSET_CONVERTER_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_CHARSET_CONVERTER) 1602 #define G_CHARSET_CONVERTER_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_CHARSET_CONVERTER, GCharsetConverterClass) 1603 type GCharsetConverterClass as _GCharsetConverterClass 1604 1605 type _GCharsetConverterClass 1606 parent_class as GObjectClass 1607 end type 1608 1609 declare function g_charset_converter_get_type() as GType 1610 declare function g_charset_converter_new(byval to_charset as const gchar ptr, byval from_charset as const gchar ptr, byval error as GError ptr ptr) as GCharsetConverter ptr 1611 declare sub g_charset_converter_set_use_fallback(byval converter as GCharsetConverter ptr, byval use_fallback as gboolean) 1612 declare function g_charset_converter_get_use_fallback(byval converter as GCharsetConverter ptr) as gboolean 1613 declare function g_charset_converter_get_num_fallbacks(byval converter as GCharsetConverter ptr) as guint 1614 #define __G_CONTENT_TYPE_H__ 1615 declare function g_content_type_equals(byval type1 as const gchar ptr, byval type2 as const gchar ptr) as gboolean 1616 declare function g_content_type_is_a(byval type as const gchar ptr, byval supertype as const gchar ptr) as gboolean 1617 declare function g_content_type_is_unknown(byval type as const gchar ptr) as gboolean 1618 declare function g_content_type_get_description(byval type as const gchar ptr) as gchar ptr 1619 declare function g_content_type_get_mime_type(byval type as const gchar ptr) as gchar ptr 1620 declare function g_content_type_get_icon(byval type as const gchar ptr) as GIcon ptr 1621 declare function g_content_type_get_symbolic_icon(byval type as const gchar ptr) as GIcon ptr 1622 declare function g_content_type_get_generic_icon_name(byval type as const gchar ptr) as gchar ptr 1623 declare function g_content_type_can_be_executable(byval type as const gchar ptr) as gboolean 1624 declare function g_content_type_from_mime_type(byval mime_type as const gchar ptr) as gchar ptr 1625 declare function g_content_type_guess(byval filename as const gchar ptr, byval data as const guchar ptr, byval data_size as gsize, byval result_uncertain as gboolean ptr) as gchar ptr 1626 declare function g_content_type_guess_for_tree(byval root as GFile ptr) as gchar ptr ptr 1627 declare function g_content_types_get_registered() as GList ptr 1628 1629 #define __G_CONVERTER_INPUT_STREAM_H__ 1630 #define G_TYPE_CONVERTER_INPUT_STREAM g_converter_input_stream_get_type() 1631 #define G_CONVERTER_INPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_CONVERTER_INPUT_STREAM, GConverterInputStream) 1632 #define G_CONVERTER_INPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_CONVERTER_INPUT_STREAM, GConverterInputStreamClass) 1633 #define G_IS_CONVERTER_INPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_CONVERTER_INPUT_STREAM) 1634 #define G_IS_CONVERTER_INPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_CONVERTER_INPUT_STREAM) 1635 #define G_CONVERTER_INPUT_STREAM_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_CONVERTER_INPUT_STREAM, GConverterInputStreamClass) 1636 type GConverterInputStreamClass as _GConverterInputStreamClass 1637 type GConverterInputStreamPrivate as _GConverterInputStreamPrivate 1638 1639 type _GConverterInputStream 1640 parent_instance as GFilterInputStream 1641 priv as GConverterInputStreamPrivate ptr 1642 end type 1643 1644 type _GConverterInputStreamClass 1645 parent_class as GFilterInputStreamClass 1646 _g_reserved1 as sub() 1647 _g_reserved2 as sub() 1648 _g_reserved3 as sub() 1649 _g_reserved4 as sub() 1650 _g_reserved5 as sub() 1651 end type 1652 1653 declare function g_converter_input_stream_get_type() as GType 1654 declare function g_converter_input_stream_new(byval base_stream as GInputStream ptr, byval converter as GConverter ptr) as GInputStream ptr 1655 declare function g_converter_input_stream_get_converter(byval converter_stream as GConverterInputStream ptr) as GConverter ptr 1656 1657 #define __G_CONVERTER_OUTPUT_STREAM_H__ 1658 #define G_TYPE_CONVERTER_OUTPUT_STREAM g_converter_output_stream_get_type() 1659 #define G_CONVERTER_OUTPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_CONVERTER_OUTPUT_STREAM, GConverterOutputStream) 1660 #define G_CONVERTER_OUTPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_CONVERTER_OUTPUT_STREAM, GConverterOutputStreamClass) 1661 #define G_IS_CONVERTER_OUTPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_CONVERTER_OUTPUT_STREAM) 1662 #define G_IS_CONVERTER_OUTPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_CONVERTER_OUTPUT_STREAM) 1663 #define G_CONVERTER_OUTPUT_STREAM_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_CONVERTER_OUTPUT_STREAM, GConverterOutputStreamClass) 1664 type GConverterOutputStreamClass as _GConverterOutputStreamClass 1665 type GConverterOutputStreamPrivate as _GConverterOutputStreamPrivate 1666 1667 type _GConverterOutputStream 1668 parent_instance as GFilterOutputStream 1669 priv as GConverterOutputStreamPrivate ptr 1670 end type 1671 1672 type _GConverterOutputStreamClass 1673 parent_class as GFilterOutputStreamClass 1674 _g_reserved1 as sub() 1675 _g_reserved2 as sub() 1676 _g_reserved3 as sub() 1677 _g_reserved4 as sub() 1678 _g_reserved5 as sub() 1679 end type 1680 1681 declare function g_converter_output_stream_get_type() as GType 1682 declare function g_converter_output_stream_new(byval base_stream as GOutputStream ptr, byval converter as GConverter ptr) as GOutputStream ptr 1683 declare function g_converter_output_stream_get_converter(byval converter_stream as GConverterOutputStream ptr) as GConverter ptr 1684 1685 #define __G_CREDENTIALS_H__ 1686 #define G_TYPE_CREDENTIALS g_credentials_get_type() 1687 #define G_CREDENTIALS(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_CREDENTIALS, GCredentials) 1688 #define G_CREDENTIALS_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_CREDENTIALS, GCredentialsClass) 1689 #define G_CREDENTIALS_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_CREDENTIALS, GCredentialsClass) 1690 #define G_IS_CREDENTIALS(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_CREDENTIALS) 1691 #define G_IS_CREDENTIALS_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_CREDENTIALS) 1692 type GCredentialsClass as _GCredentialsClass 1693 1694 declare function g_credentials_get_type() as GType 1695 declare function g_credentials_new() as GCredentials ptr 1696 declare function g_credentials_to_string(byval credentials as GCredentials ptr) as gchar ptr 1697 declare function g_credentials_get_native(byval credentials as GCredentials ptr, byval native_type as GCredentialsType) as gpointer 1698 declare sub g_credentials_set_native(byval credentials as GCredentials ptr, byval native_type as GCredentialsType, byval native as gpointer) 1699 declare function g_credentials_is_same_user(byval credentials as GCredentials ptr, byval other_credentials as GCredentials ptr, byval error as GError ptr ptr) as gboolean 1700 1701 #ifdef __FB_UNIX__ 1702 declare function g_credentials_get_unix_pid(byval credentials as GCredentials ptr, byval error as GError ptr ptr) as pid_t 1703 declare function g_credentials_get_unix_user(byval credentials as GCredentials ptr, byval error as GError ptr ptr) as uid_t 1704 declare function g_credentials_set_unix_user(byval credentials as GCredentials ptr, byval uid as uid_t, byval error as GError ptr ptr) as gboolean 1705 #endif 1706 1707 #define __G_DATA_INPUT_STREAM_H__ 1708 #define G_TYPE_DATA_INPUT_STREAM g_data_input_stream_get_type() 1709 #define G_DATA_INPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_DATA_INPUT_STREAM, GDataInputStream) 1710 #define G_DATA_INPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_DATA_INPUT_STREAM, GDataInputStreamClass) 1711 #define G_IS_DATA_INPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_DATA_INPUT_STREAM) 1712 #define G_IS_DATA_INPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_DATA_INPUT_STREAM) 1713 #define G_DATA_INPUT_STREAM_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_DATA_INPUT_STREAM, GDataInputStreamClass) 1714 type GDataInputStreamClass as _GDataInputStreamClass 1715 type GDataInputStreamPrivate as _GDataInputStreamPrivate 1716 1717 type _GDataInputStream 1718 parent_instance as GBufferedInputStream 1719 priv as GDataInputStreamPrivate ptr 1720 end type 1721 1722 type _GDataInputStreamClass 1723 parent_class as GBufferedInputStreamClass 1724 _g_reserved1 as sub() 1725 _g_reserved2 as sub() 1726 _g_reserved3 as sub() 1727 _g_reserved4 as sub() 1728 _g_reserved5 as sub() 1729 end type 1730 1731 declare function g_data_input_stream_get_type() as GType 1732 declare function g_data_input_stream_new(byval base_stream as GInputStream ptr) as GDataInputStream ptr 1733 declare sub g_data_input_stream_set_byte_order(byval stream as GDataInputStream ptr, byval order as GDataStreamByteOrder) 1734 declare function g_data_input_stream_get_byte_order(byval stream as GDataInputStream ptr) as GDataStreamByteOrder 1735 declare sub g_data_input_stream_set_newline_type(byval stream as GDataInputStream ptr, byval type as GDataStreamNewlineType) 1736 declare function g_data_input_stream_get_newline_type(byval stream as GDataInputStream ptr) as GDataStreamNewlineType 1737 declare function g_data_input_stream_read_byte(byval stream as GDataInputStream ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as guchar 1738 declare function g_data_input_stream_read_int16(byval stream as GDataInputStream ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gint16 1739 declare function g_data_input_stream_read_uint16(byval stream as GDataInputStream ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as guint16 1740 declare function g_data_input_stream_read_int32(byval stream as GDataInputStream ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gint32 1741 declare function g_data_input_stream_read_uint32(byval stream as GDataInputStream ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as guint32 1742 declare function g_data_input_stream_read_int64(byval stream as GDataInputStream ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gint64 1743 declare function g_data_input_stream_read_uint64(byval stream as GDataInputStream ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as guint64 1744 declare function g_data_input_stream_read_line(byval stream as GDataInputStream ptr, byval length as gsize ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as zstring ptr 1745 declare function g_data_input_stream_read_line_utf8(byval stream as GDataInputStream ptr, byval length as gsize ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as zstring ptr 1746 declare sub g_data_input_stream_read_line_async(byval stream as GDataInputStream ptr, byval io_priority as gint, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1747 declare function g_data_input_stream_read_line_finish(byval stream as GDataInputStream ptr, byval result as GAsyncResult ptr, byval length as gsize ptr, byval error as GError ptr ptr) as zstring ptr 1748 declare function g_data_input_stream_read_line_finish_utf8(byval stream as GDataInputStream ptr, byval result as GAsyncResult ptr, byval length as gsize ptr, byval error as GError ptr ptr) as zstring ptr 1749 declare function g_data_input_stream_read_until(byval stream as GDataInputStream ptr, byval stop_chars as const gchar ptr, byval length as gsize ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as zstring ptr 1750 declare sub g_data_input_stream_read_until_async(byval stream as GDataInputStream ptr, byval stop_chars as const gchar ptr, byval io_priority as gint, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1751 declare function g_data_input_stream_read_until_finish(byval stream as GDataInputStream ptr, byval result as GAsyncResult ptr, byval length as gsize ptr, byval error as GError ptr ptr) as zstring ptr 1752 declare function g_data_input_stream_read_upto(byval stream as GDataInputStream ptr, byval stop_chars as const gchar ptr, byval stop_chars_len as gssize, byval length as gsize ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as zstring ptr 1753 declare sub g_data_input_stream_read_upto_async(byval stream as GDataInputStream ptr, byval stop_chars as const gchar ptr, byval stop_chars_len as gssize, byval io_priority as gint, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1754 declare function g_data_input_stream_read_upto_finish(byval stream as GDataInputStream ptr, byval result as GAsyncResult ptr, byval length as gsize ptr, byval error as GError ptr ptr) as zstring ptr 1755 1756 #define __G_DATA_OUTPUT_STREAM_H__ 1757 #define G_TYPE_DATA_OUTPUT_STREAM g_data_output_stream_get_type() 1758 #define G_DATA_OUTPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_DATA_OUTPUT_STREAM, GDataOutputStream) 1759 #define G_DATA_OUTPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_DATA_OUTPUT_STREAM, GDataOutputStreamClass) 1760 #define G_IS_DATA_OUTPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_DATA_OUTPUT_STREAM) 1761 #define G_IS_DATA_OUTPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_DATA_OUTPUT_STREAM) 1762 #define G_DATA_OUTPUT_STREAM_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_DATA_OUTPUT_STREAM, GDataOutputStreamClass) 1763 1764 type GDataOutputStream as _GDataOutputStream 1765 type GDataOutputStreamClass as _GDataOutputStreamClass 1766 type GDataOutputStreamPrivate as _GDataOutputStreamPrivate 1767 1768 type _GDataOutputStream 1769 parent_instance as GFilterOutputStream 1770 priv as GDataOutputStreamPrivate ptr 1771 end type 1772 1773 type _GDataOutputStreamClass 1774 parent_class as GFilterOutputStreamClass 1775 _g_reserved1 as sub() 1776 _g_reserved2 as sub() 1777 _g_reserved3 as sub() 1778 _g_reserved4 as sub() 1779 _g_reserved5 as sub() 1780 end type 1781 1782 declare function g_data_output_stream_get_type() as GType 1783 declare function g_data_output_stream_new(byval base_stream as GOutputStream ptr) as GDataOutputStream ptr 1784 declare sub g_data_output_stream_set_byte_order(byval stream as GDataOutputStream ptr, byval order as GDataStreamByteOrder) 1785 declare function g_data_output_stream_get_byte_order(byval stream as GDataOutputStream ptr) as GDataStreamByteOrder 1786 declare function g_data_output_stream_put_byte(byval stream as GDataOutputStream ptr, byval data as guchar, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 1787 declare function g_data_output_stream_put_int16(byval stream as GDataOutputStream ptr, byval data as gint16, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 1788 declare function g_data_output_stream_put_uint16(byval stream as GDataOutputStream ptr, byval data as guint16, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 1789 declare function g_data_output_stream_put_int32(byval stream as GDataOutputStream ptr, byval data as gint32, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 1790 declare function g_data_output_stream_put_uint32(byval stream as GDataOutputStream ptr, byval data as guint32, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 1791 declare function g_data_output_stream_put_int64(byval stream as GDataOutputStream ptr, byval data as gint64, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 1792 declare function g_data_output_stream_put_uint64(byval stream as GDataOutputStream ptr, byval data as guint64, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 1793 declare function g_data_output_stream_put_string(byval stream as GDataOutputStream ptr, byval str as const zstring ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 1794 #define __G_DBUS_ADDRESS_H__ 1795 declare function g_dbus_address_escape_value(byval string as const gchar ptr) as gchar ptr 1796 declare function g_dbus_is_address(byval string as const gchar ptr) as gboolean 1797 declare function g_dbus_is_supported_address(byval string as const gchar ptr, byval error as GError ptr ptr) as gboolean 1798 declare sub g_dbus_address_get_stream(byval address as const gchar ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1799 declare function g_dbus_address_get_stream_finish(byval res as GAsyncResult ptr, byval out_guid as gchar ptr ptr, byval error as GError ptr ptr) as GIOStream ptr 1800 declare function g_dbus_address_get_stream_sync(byval address as const gchar ptr, byval out_guid as gchar ptr ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GIOStream ptr 1801 declare function g_dbus_address_get_for_bus_sync(byval bus_type as GBusType, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gchar ptr 1802 1803 #define __G_DBUS_AUTH_OBSERVER_H__ 1804 #define G_TYPE_DBUS_AUTH_OBSERVER g_dbus_auth_observer_get_type() 1805 #define G_DBUS_AUTH_OBSERVER(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_DBUS_AUTH_OBSERVER, GDBusAuthObserver) 1806 #define G_IS_DBUS_AUTH_OBSERVER(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_DBUS_AUTH_OBSERVER) 1807 1808 declare function g_dbus_auth_observer_get_type() as GType 1809 declare function g_dbus_auth_observer_new() as GDBusAuthObserver ptr 1810 declare function g_dbus_auth_observer_authorize_authenticated_peer(byval observer as GDBusAuthObserver ptr, byval stream as GIOStream ptr, byval credentials as GCredentials ptr) as gboolean 1811 declare function g_dbus_auth_observer_allow_mechanism(byval observer as GDBusAuthObserver ptr, byval mechanism as const gchar ptr) as gboolean 1812 1813 #define __G_DBUS_CONNECTION_H__ 1814 #define G_TYPE_DBUS_CONNECTION g_dbus_connection_get_type() 1815 #define G_DBUS_CONNECTION(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_DBUS_CONNECTION, GDBusConnection) 1816 #define G_IS_DBUS_CONNECTION(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_DBUS_CONNECTION) 1817 1818 declare function g_dbus_connection_get_type() as GType 1819 declare sub g_bus_get(byval bus_type as GBusType, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1820 declare function g_bus_get_finish(byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GDBusConnection ptr 1821 declare function g_bus_get_sync(byval bus_type as GBusType, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GDBusConnection ptr 1822 declare sub g_dbus_connection_new(byval stream as GIOStream ptr, byval guid as const gchar ptr, byval flags as GDBusConnectionFlags, byval observer as GDBusAuthObserver ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1823 declare function g_dbus_connection_new_finish(byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GDBusConnection ptr 1824 declare function g_dbus_connection_new_sync(byval stream as GIOStream ptr, byval guid as const gchar ptr, byval flags as GDBusConnectionFlags, byval observer as GDBusAuthObserver ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GDBusConnection ptr 1825 declare sub g_dbus_connection_new_for_address(byval address as const gchar ptr, byval flags as GDBusConnectionFlags, byval observer as GDBusAuthObserver ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1826 declare function g_dbus_connection_new_for_address_finish(byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GDBusConnection ptr 1827 declare function g_dbus_connection_new_for_address_sync(byval address as const gchar ptr, byval flags as GDBusConnectionFlags, byval observer as GDBusAuthObserver ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GDBusConnection ptr 1828 declare sub g_dbus_connection_start_message_processing(byval connection as GDBusConnection ptr) 1829 declare function g_dbus_connection_is_closed(byval connection as GDBusConnection ptr) as gboolean 1830 declare function g_dbus_connection_get_stream(byval connection as GDBusConnection ptr) as GIOStream ptr 1831 declare function g_dbus_connection_get_guid(byval connection as GDBusConnection ptr) as const gchar ptr 1832 declare function g_dbus_connection_get_unique_name(byval connection as GDBusConnection ptr) as const gchar ptr 1833 declare function g_dbus_connection_get_peer_credentials(byval connection as GDBusConnection ptr) as GCredentials ptr 1834 declare function g_dbus_connection_get_last_serial(byval connection as GDBusConnection ptr) as guint32 1835 declare function g_dbus_connection_get_exit_on_close(byval connection as GDBusConnection ptr) as gboolean 1836 declare sub g_dbus_connection_set_exit_on_close(byval connection as GDBusConnection ptr, byval exit_on_close as gboolean) 1837 declare function g_dbus_connection_get_capabilities(byval connection as GDBusConnection ptr) as GDBusCapabilityFlags 1838 declare sub g_dbus_connection_close(byval connection as GDBusConnection ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1839 declare function g_dbus_connection_close_finish(byval connection as GDBusConnection ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 1840 declare function g_dbus_connection_close_sync(byval connection as GDBusConnection ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 1841 declare sub g_dbus_connection_flush(byval connection as GDBusConnection ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1842 declare function g_dbus_connection_flush_finish(byval connection as GDBusConnection ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 1843 declare function g_dbus_connection_flush_sync(byval connection as GDBusConnection ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 1844 declare function g_dbus_connection_send_message(byval connection as GDBusConnection ptr, byval message as GDBusMessage ptr, byval flags as GDBusSendMessageFlags, byval out_serial as guint32 ptr, byval error as GError ptr ptr) as gboolean 1845 declare sub g_dbus_connection_send_message_with_reply(byval connection as GDBusConnection ptr, byval message as GDBusMessage ptr, byval flags as GDBusSendMessageFlags, byval timeout_msec as gint, byval out_serial as guint32 ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1846 declare function g_dbus_connection_send_message_with_reply_finish(byval connection as GDBusConnection ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GDBusMessage ptr 1847 declare function g_dbus_connection_send_message_with_reply_sync(byval connection as GDBusConnection ptr, byval message as GDBusMessage ptr, byval flags as GDBusSendMessageFlags, byval timeout_msec as gint, byval out_serial as guint32 ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GDBusMessage ptr 1848 declare function g_dbus_connection_emit_signal(byval connection as GDBusConnection ptr, byval destination_bus_name as const gchar ptr, byval object_path as const gchar ptr, byval interface_name as const gchar ptr, byval signal_name as const gchar ptr, byval parameters as GVariant ptr, byval error as GError ptr ptr) as gboolean 1849 declare sub g_dbus_connection_call(byval connection as GDBusConnection ptr, byval bus_name as const gchar ptr, byval object_path as const gchar ptr, byval interface_name as const gchar ptr, byval method_name as const gchar ptr, byval parameters as GVariant ptr, byval reply_type as const GVariantType ptr, byval flags as GDBusCallFlags, byval timeout_msec as gint, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1850 declare function g_dbus_connection_call_finish(byval connection as GDBusConnection ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GVariant ptr 1851 declare function g_dbus_connection_call_sync(byval connection as GDBusConnection ptr, byval bus_name as const gchar ptr, byval object_path as const gchar ptr, byval interface_name as const gchar ptr, byval method_name as const gchar ptr, byval parameters as GVariant ptr, byval reply_type as const GVariantType ptr, byval flags as GDBusCallFlags, byval timeout_msec as gint, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GVariant ptr 1852 declare sub g_dbus_connection_call_with_unix_fd_list(byval connection as GDBusConnection ptr, byval bus_name as const gchar ptr, byval object_path as const gchar ptr, byval interface_name as const gchar ptr, byval method_name as const gchar ptr, byval parameters as GVariant ptr, byval reply_type as const GVariantType ptr, byval flags as GDBusCallFlags, byval timeout_msec as gint, byval fd_list as GUnixFDList ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 1853 declare function g_dbus_connection_call_with_unix_fd_list_finish(byval connection as GDBusConnection ptr, byval out_fd_list as GUnixFDList ptr ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GVariant ptr 1854 declare function g_dbus_connection_call_with_unix_fd_list_sync(byval connection as GDBusConnection ptr, byval bus_name as const gchar ptr, byval object_path as const gchar ptr, byval interface_name as const gchar ptr, byval method_name as const gchar ptr, byval parameters as GVariant ptr, byval reply_type as const GVariantType ptr, byval flags as GDBusCallFlags, byval timeout_msec as gint, byval fd_list as GUnixFDList ptr, byval out_fd_list as GUnixFDList ptr ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GVariant ptr 1855 1856 type GDBusInterfaceMethodCallFunc as sub(byval connection as GDBusConnection ptr, byval sender as const gchar ptr, byval object_path as const gchar ptr, byval interface_name as const gchar ptr, byval method_name as const gchar ptr, byval parameters as GVariant ptr, byval invocation as GDBusMethodInvocation ptr, byval user_data as gpointer) 1857 type GDBusInterfaceGetPropertyFunc as function(byval connection as GDBusConnection ptr, byval sender as const gchar ptr, byval object_path as const gchar ptr, byval interface_name as const gchar ptr, byval property_name as const gchar ptr, byval error as GError ptr ptr, byval user_data as gpointer) as GVariant ptr 1858 type GDBusInterfaceSetPropertyFunc as function(byval connection as GDBusConnection ptr, byval sender as const gchar ptr, byval object_path as const gchar ptr, byval interface_name as const gchar ptr, byval property_name as const gchar ptr, byval value as GVariant ptr, byval error as GError ptr ptr, byval user_data as gpointer) as gboolean 1859 1860 type _GDBusInterfaceVTable 1861 method_call as GDBusInterfaceMethodCallFunc 1862 get_property as GDBusInterfaceGetPropertyFunc 1863 set_property as GDBusInterfaceSetPropertyFunc 1864 padding(0 to 7) as gpointer 1865 end type 1866 1867 declare function g_dbus_connection_register_object(byval connection as GDBusConnection ptr, byval object_path as const gchar ptr, byval interface_info as GDBusInterfaceInfo ptr, byval vtable as const GDBusInterfaceVTable ptr, byval user_data as gpointer, byval user_data_free_func as GDestroyNotify, byval error as GError ptr ptr) as guint 1868 declare function g_dbus_connection_unregister_object(byval connection as GDBusConnection ptr, byval registration_id as guint) as gboolean 1869 type GDBusSubtreeEnumerateFunc as function(byval connection as GDBusConnection ptr, byval sender as const gchar ptr, byval object_path as const gchar ptr, byval user_data as gpointer) as gchar ptr ptr 1870 type GDBusSubtreeIntrospectFunc as function(byval connection as GDBusConnection ptr, byval sender as const gchar ptr, byval object_path as const gchar ptr, byval node as const gchar ptr, byval user_data as gpointer) as GDBusInterfaceInfo ptr ptr 1871 type GDBusSubtreeDispatchFunc as function(byval connection as GDBusConnection ptr, byval sender as const gchar ptr, byval object_path as const gchar ptr, byval interface_name as const gchar ptr, byval node as const gchar ptr, byval out_user_data as gpointer ptr, byval user_data as gpointer) as const GDBusInterfaceVTable ptr 1872 1873 type _GDBusSubtreeVTable 1874 enumerate as GDBusSubtreeEnumerateFunc 1875 introspect as GDBusSubtreeIntrospectFunc 1876 dispatch as GDBusSubtreeDispatchFunc 1877 padding(0 to 7) as gpointer 1878 end type 1879 1880 declare function g_dbus_connection_register_subtree(byval connection as GDBusConnection ptr, byval object_path as const gchar ptr, byval vtable as const GDBusSubtreeVTable ptr, byval flags as GDBusSubtreeFlags, byval user_data as gpointer, byval user_data_free_func as GDestroyNotify, byval error as GError ptr ptr) as guint 1881 declare function g_dbus_connection_unregister_subtree(byval connection as GDBusConnection ptr, byval registration_id as guint) as gboolean 1882 type GDBusSignalCallback as sub(byval connection as GDBusConnection ptr, byval sender_name as const gchar ptr, byval object_path as const gchar ptr, byval interface_name as const gchar ptr, byval signal_name as const gchar ptr, byval parameters as GVariant ptr, byval user_data as gpointer) 1883 declare function g_dbus_connection_signal_subscribe(byval connection as GDBusConnection ptr, byval sender as const gchar ptr, byval interface_name as const gchar ptr, byval member as const gchar ptr, byval object_path as const gchar ptr, byval arg0 as const gchar ptr, byval flags as GDBusSignalFlags, byval callback as GDBusSignalCallback, byval user_data as gpointer, byval user_data_free_func as GDestroyNotify) as guint 1884 declare sub g_dbus_connection_signal_unsubscribe(byval connection as GDBusConnection ptr, byval subscription_id as guint) 1885 type GDBusMessageFilterFunction as function(byval connection as GDBusConnection ptr, byval message as GDBusMessage ptr, byval incoming as gboolean, byval user_data as gpointer) as GDBusMessage ptr 1886 declare function g_dbus_connection_add_filter(byval connection as GDBusConnection ptr, byval filter_function as GDBusMessageFilterFunction, byval user_data as gpointer, byval user_data_free_func as GDestroyNotify) as guint 1887 declare sub g_dbus_connection_remove_filter(byval connection as GDBusConnection ptr, byval filter_id as guint) 1888 #define __G_DBUS_ERROR_H__ 1889 #define G_DBUS_ERROR g_dbus_error_quark() 1890 declare function g_dbus_error_quark() as GQuark 1891 declare function g_dbus_error_is_remote_error(byval error as const GError ptr) as gboolean 1892 declare function g_dbus_error_get_remote_error(byval error as const GError ptr) as gchar ptr 1893 declare function g_dbus_error_strip_remote_error(byval error as GError ptr) as gboolean 1894 1895 type _GDBusErrorEntry 1896 error_code as gint 1897 dbus_error_name as const gchar ptr 1898 end type 1899 1900 declare function g_dbus_error_register_error(byval error_domain as GQuark, byval error_code as gint, byval dbus_error_name as const gchar ptr) as gboolean 1901 declare function g_dbus_error_unregister_error(byval error_domain as GQuark, byval error_code as gint, byval dbus_error_name as const gchar ptr) as gboolean 1902 declare sub g_dbus_error_register_error_domain(byval error_domain_quark_name as const gchar ptr, byval quark_volatile as gsize ptr, byval entries as const GDBusErrorEntry ptr, byval num_entries as guint) 1903 declare function g_dbus_error_new_for_dbus_error(byval dbus_error_name as const gchar ptr, byval dbus_error_message as const gchar ptr) as GError ptr 1904 declare sub g_dbus_error_set_dbus_error(byval error as GError ptr ptr, byval dbus_error_name as const gchar ptr, byval dbus_error_message as const gchar ptr, byval format as const gchar ptr, ...) 1905 declare sub g_dbus_error_set_dbus_error_valist(byval error as GError ptr ptr, byval dbus_error_name as const gchar ptr, byval dbus_error_message as const gchar ptr, byval format as const gchar ptr, byval var_args as va_list) 1906 declare function g_dbus_error_encode_gerror(byval error as const GError ptr) as gchar ptr 1907 #define __G_DBUS_INTROSPECTION_H__ 1908 1909 type _GDBusAnnotationInfo 1910 ref_count as gint 1911 key as gchar ptr 1912 value as gchar ptr 1913 annotations as GDBusAnnotationInfo ptr ptr 1914 end type 1915 1916 type _GDBusArgInfo 1917 ref_count as gint 1918 name as gchar ptr 1919 signature as gchar ptr 1920 annotations as GDBusAnnotationInfo ptr ptr 1921 end type 1922 1923 type _GDBusMethodInfo 1924 ref_count as gint 1925 name as gchar ptr 1926 in_args as GDBusArgInfo ptr ptr 1927 out_args as GDBusArgInfo ptr ptr 1928 annotations as GDBusAnnotationInfo ptr ptr 1929 end type 1930 1931 type _GDBusSignalInfo 1932 ref_count as gint 1933 name as gchar ptr 1934 args as GDBusArgInfo ptr ptr 1935 annotations as GDBusAnnotationInfo ptr ptr 1936 end type 1937 1938 type _GDBusPropertyInfo 1939 ref_count as gint 1940 name as gchar ptr 1941 signature as gchar ptr 1942 flags as GDBusPropertyInfoFlags 1943 annotations as GDBusAnnotationInfo ptr ptr 1944 end type 1945 1946 type _GDBusInterfaceInfo 1947 ref_count as gint 1948 name as gchar ptr 1949 methods as GDBusMethodInfo ptr ptr 1950 signals as GDBusSignalInfo ptr ptr 1951 properties as GDBusPropertyInfo ptr ptr 1952 annotations as GDBusAnnotationInfo ptr ptr 1953 end type 1954 1955 type _GDBusNodeInfo 1956 ref_count as gint 1957 path as gchar ptr 1958 interfaces as GDBusInterfaceInfo ptr ptr 1959 nodes as GDBusNodeInfo ptr ptr 1960 annotations as GDBusAnnotationInfo ptr ptr 1961 end type 1962 1963 declare function g_dbus_annotation_info_lookup(byval annotations as GDBusAnnotationInfo ptr ptr, byval name as const gchar ptr) as const gchar ptr 1964 declare function g_dbus_interface_info_lookup_method(byval info as GDBusInterfaceInfo ptr, byval name as const gchar ptr) as GDBusMethodInfo ptr 1965 declare function g_dbus_interface_info_lookup_signal(byval info as GDBusInterfaceInfo ptr, byval name as const gchar ptr) as GDBusSignalInfo ptr 1966 declare function g_dbus_interface_info_lookup_property(byval info as GDBusInterfaceInfo ptr, byval name as const gchar ptr) as GDBusPropertyInfo ptr 1967 declare sub g_dbus_interface_info_cache_build(byval info as GDBusInterfaceInfo ptr) 1968 declare sub g_dbus_interface_info_cache_release(byval info as GDBusInterfaceInfo ptr) 1969 declare sub g_dbus_interface_info_generate_xml(byval info as GDBusInterfaceInfo ptr, byval indent as guint, byval string_builder as GString ptr) 1970 declare function g_dbus_node_info_new_for_xml(byval xml_data as const gchar ptr, byval error as GError ptr ptr) as GDBusNodeInfo ptr 1971 declare function g_dbus_node_info_lookup_interface(byval info as GDBusNodeInfo ptr, byval name as const gchar ptr) as GDBusInterfaceInfo ptr 1972 declare sub g_dbus_node_info_generate_xml(byval info as GDBusNodeInfo ptr, byval indent as guint, byval string_builder as GString ptr) 1973 declare function g_dbus_node_info_ref(byval info as GDBusNodeInfo ptr) as GDBusNodeInfo ptr 1974 declare function g_dbus_interface_info_ref(byval info as GDBusInterfaceInfo ptr) as GDBusInterfaceInfo ptr 1975 declare function g_dbus_method_info_ref(byval info as GDBusMethodInfo ptr) as GDBusMethodInfo ptr 1976 declare function g_dbus_signal_info_ref(byval info as GDBusSignalInfo ptr) as GDBusSignalInfo ptr 1977 declare function g_dbus_property_info_ref(byval info as GDBusPropertyInfo ptr) as GDBusPropertyInfo ptr 1978 declare function g_dbus_arg_info_ref(byval info as GDBusArgInfo ptr) as GDBusArgInfo ptr 1979 declare function g_dbus_annotation_info_ref(byval info as GDBusAnnotationInfo ptr) as GDBusAnnotationInfo ptr 1980 declare sub g_dbus_node_info_unref(byval info as GDBusNodeInfo ptr) 1981 declare sub g_dbus_interface_info_unref(byval info as GDBusInterfaceInfo ptr) 1982 declare sub g_dbus_method_info_unref(byval info as GDBusMethodInfo ptr) 1983 declare sub g_dbus_signal_info_unref(byval info as GDBusSignalInfo ptr) 1984 declare sub g_dbus_property_info_unref(byval info as GDBusPropertyInfo ptr) 1985 declare sub g_dbus_arg_info_unref(byval info as GDBusArgInfo ptr) 1986 declare sub g_dbus_annotation_info_unref(byval info as GDBusAnnotationInfo ptr) 1987 1988 #define G_TYPE_DBUS_NODE_INFO g_dbus_node_info_get_type() 1989 #define G_TYPE_DBUS_INTERFACE_INFO g_dbus_interface_info_get_type() 1990 #define G_TYPE_DBUS_METHOD_INFO g_dbus_method_info_get_type() 1991 #define G_TYPE_DBUS_SIGNAL_INFO g_dbus_signal_info_get_type() 1992 #define G_TYPE_DBUS_PROPERTY_INFO g_dbus_property_info_get_type() 1993 #define G_TYPE_DBUS_ARG_INFO g_dbus_arg_info_get_type() 1994 #define G_TYPE_DBUS_ANNOTATION_INFO g_dbus_annotation_info_get_type() 1995 1996 declare function g_dbus_node_info_get_type() as GType 1997 declare function g_dbus_interface_info_get_type() as GType 1998 declare function g_dbus_method_info_get_type() as GType 1999 declare function g_dbus_signal_info_get_type() as GType 2000 declare function g_dbus_property_info_get_type() as GType 2001 declare function g_dbus_arg_info_get_type() as GType 2002 declare function g_dbus_annotation_info_get_type() as GType 2003 2004 #define __G_DBUS_MESSAGE_H__ 2005 #define G_TYPE_DBUS_MESSAGE g_dbus_message_get_type() 2006 #define G_DBUS_MESSAGE(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_DBUS_MESSAGE, GDBusMessage) 2007 #define G_IS_DBUS_MESSAGE(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_DBUS_MESSAGE) 2008 2009 declare function g_dbus_message_get_type() as GType 2010 declare function g_dbus_message_new() as GDBusMessage ptr 2011 declare function g_dbus_message_new_signal(byval path as const gchar ptr, byval interface_ as const gchar ptr, byval signal as const gchar ptr) as GDBusMessage ptr 2012 declare function g_dbus_message_new_method_call(byval name as const gchar ptr, byval path as const gchar ptr, byval interface_ as const gchar ptr, byval method as const gchar ptr) as GDBusMessage ptr 2013 declare function g_dbus_message_new_method_reply(byval method_call_message as GDBusMessage ptr) as GDBusMessage ptr 2014 declare function g_dbus_message_new_method_error(byval method_call_message as GDBusMessage ptr, byval error_name as const gchar ptr, byval error_message_format as const gchar ptr, ...) as GDBusMessage ptr 2015 declare function g_dbus_message_new_method_error_valist(byval method_call_message as GDBusMessage ptr, byval error_name as const gchar ptr, byval error_message_format as const gchar ptr, byval var_args as va_list) as GDBusMessage ptr 2016 declare function g_dbus_message_new_method_error_literal(byval method_call_message as GDBusMessage ptr, byval error_name as const gchar ptr, byval error_message as const gchar ptr) as GDBusMessage ptr 2017 declare function g_dbus_message_print(byval message as GDBusMessage ptr, byval indent as guint) as gchar ptr 2018 declare function g_dbus_message_get_locked(byval message as GDBusMessage ptr) as gboolean 2019 declare sub g_dbus_message_lock(byval message as GDBusMessage ptr) 2020 declare function g_dbus_message_copy(byval message as GDBusMessage ptr, byval error as GError ptr ptr) as GDBusMessage ptr 2021 declare function g_dbus_message_get_byte_order(byval message as GDBusMessage ptr) as GDBusMessageByteOrder 2022 declare sub g_dbus_message_set_byte_order(byval message as GDBusMessage ptr, byval byte_order as GDBusMessageByteOrder) 2023 declare function g_dbus_message_get_message_type(byval message as GDBusMessage ptr) as GDBusMessageType 2024 declare sub g_dbus_message_set_message_type(byval message as GDBusMessage ptr, byval type as GDBusMessageType) 2025 declare function g_dbus_message_get_flags(byval message as GDBusMessage ptr) as GDBusMessageFlags 2026 declare sub g_dbus_message_set_flags(byval message as GDBusMessage ptr, byval flags as GDBusMessageFlags) 2027 declare function g_dbus_message_get_serial(byval message as GDBusMessage ptr) as guint32 2028 declare sub g_dbus_message_set_serial(byval message as GDBusMessage ptr, byval serial as guint32) 2029 declare function g_dbus_message_get_header(byval message as GDBusMessage ptr, byval header_field as GDBusMessageHeaderField) as GVariant ptr 2030 declare sub g_dbus_message_set_header(byval message as GDBusMessage ptr, byval header_field as GDBusMessageHeaderField, byval value as GVariant ptr) 2031 declare function g_dbus_message_get_header_fields(byval message as GDBusMessage ptr) as guchar ptr 2032 declare function g_dbus_message_get_body(byval message as GDBusMessage ptr) as GVariant ptr 2033 declare sub g_dbus_message_set_body(byval message as GDBusMessage ptr, byval body as GVariant ptr) 2034 declare function g_dbus_message_get_unix_fd_list(byval message as GDBusMessage ptr) as GUnixFDList ptr 2035 declare sub g_dbus_message_set_unix_fd_list(byval message as GDBusMessage ptr, byval fd_list as GUnixFDList ptr) 2036 declare function g_dbus_message_get_reply_serial(byval message as GDBusMessage ptr) as guint32 2037 declare sub g_dbus_message_set_reply_serial(byval message as GDBusMessage ptr, byval value as guint32) 2038 declare function g_dbus_message_get_interface(byval message as GDBusMessage ptr) as const gchar ptr 2039 declare sub g_dbus_message_set_interface(byval message as GDBusMessage ptr, byval value as const gchar ptr) 2040 declare function g_dbus_message_get_member(byval message as GDBusMessage ptr) as const gchar ptr 2041 declare sub g_dbus_message_set_member(byval message as GDBusMessage ptr, byval value as const gchar ptr) 2042 declare function g_dbus_message_get_path(byval message as GDBusMessage ptr) as const gchar ptr 2043 declare sub g_dbus_message_set_path(byval message as GDBusMessage ptr, byval value as const gchar ptr) 2044 declare function g_dbus_message_get_sender(byval message as GDBusMessage ptr) as const gchar ptr 2045 declare sub g_dbus_message_set_sender(byval message as GDBusMessage ptr, byval value as const gchar ptr) 2046 declare function g_dbus_message_get_destination(byval message as GDBusMessage ptr) as const gchar ptr 2047 declare sub g_dbus_message_set_destination(byval message as GDBusMessage ptr, byval value as const gchar ptr) 2048 declare function g_dbus_message_get_error_name(byval message as GDBusMessage ptr) as const gchar ptr 2049 declare sub g_dbus_message_set_error_name(byval message as GDBusMessage ptr, byval value as const gchar ptr) 2050 declare function g_dbus_message_get_signature(byval message as GDBusMessage ptr) as const gchar ptr 2051 declare sub g_dbus_message_set_signature(byval message as GDBusMessage ptr, byval value as const gchar ptr) 2052 declare function g_dbus_message_get_num_unix_fds(byval message as GDBusMessage ptr) as guint32 2053 declare sub g_dbus_message_set_num_unix_fds(byval message as GDBusMessage ptr, byval value as guint32) 2054 declare function g_dbus_message_get_arg0(byval message as GDBusMessage ptr) as const gchar ptr 2055 declare function g_dbus_message_new_from_blob(byval blob as guchar ptr, byval blob_len as gsize, byval capabilities as GDBusCapabilityFlags, byval error as GError ptr ptr) as GDBusMessage ptr 2056 declare function g_dbus_message_bytes_needed(byval blob as guchar ptr, byval blob_len as gsize, byval error as GError ptr ptr) as gssize 2057 declare function g_dbus_message_to_blob(byval message as GDBusMessage ptr, byval out_size as gsize ptr, byval capabilities as GDBusCapabilityFlags, byval error as GError ptr ptr) as guchar ptr 2058 declare function g_dbus_message_to_gerror(byval message as GDBusMessage ptr, byval error as GError ptr ptr) as gboolean 2059 2060 #define __G_DBUS_METHOD_INVOCATION_H__ 2061 #define G_TYPE_DBUS_METHOD_INVOCATION g_dbus_method_invocation_get_type() 2062 #define G_DBUS_METHOD_INVOCATION(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_DBUS_METHOD_INVOCATION, GDBusMethodInvocation) 2063 #define G_IS_DBUS_METHOD_INVOCATION(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_DBUS_METHOD_INVOCATION) 2064 2065 declare function g_dbus_method_invocation_get_type() as GType 2066 declare function g_dbus_method_invocation_get_sender(byval invocation as GDBusMethodInvocation ptr) as const gchar ptr 2067 declare function g_dbus_method_invocation_get_object_path(byval invocation as GDBusMethodInvocation ptr) as const gchar ptr 2068 declare function g_dbus_method_invocation_get_interface_name(byval invocation as GDBusMethodInvocation ptr) as const gchar ptr 2069 declare function g_dbus_method_invocation_get_method_name(byval invocation as GDBusMethodInvocation ptr) as const gchar ptr 2070 declare function g_dbus_method_invocation_get_method_info(byval invocation as GDBusMethodInvocation ptr) as const GDBusMethodInfo ptr 2071 declare function g_dbus_method_invocation_get_property_info(byval invocation as GDBusMethodInvocation ptr) as const GDBusPropertyInfo ptr 2072 declare function g_dbus_method_invocation_get_connection(byval invocation as GDBusMethodInvocation ptr) as GDBusConnection ptr 2073 declare function g_dbus_method_invocation_get_message(byval invocation as GDBusMethodInvocation ptr) as GDBusMessage ptr 2074 declare function g_dbus_method_invocation_get_parameters(byval invocation as GDBusMethodInvocation ptr) as GVariant ptr 2075 declare function g_dbus_method_invocation_get_user_data(byval invocation as GDBusMethodInvocation ptr) as gpointer 2076 declare sub g_dbus_method_invocation_return_value(byval invocation as GDBusMethodInvocation ptr, byval parameters as GVariant ptr) 2077 declare sub g_dbus_method_invocation_return_value_with_unix_fd_list(byval invocation as GDBusMethodInvocation ptr, byval parameters as GVariant ptr, byval fd_list as GUnixFDList ptr) 2078 declare sub g_dbus_method_invocation_return_error(byval invocation as GDBusMethodInvocation ptr, byval domain as GQuark, byval code as gint, byval format as const gchar ptr, ...) 2079 declare sub g_dbus_method_invocation_return_error_valist(byval invocation as GDBusMethodInvocation ptr, byval domain as GQuark, byval code as gint, byval format as const gchar ptr, byval var_args as va_list) 2080 declare sub g_dbus_method_invocation_return_error_literal(byval invocation as GDBusMethodInvocation ptr, byval domain as GQuark, byval code as gint, byval message as const gchar ptr) 2081 declare sub g_dbus_method_invocation_return_gerror(byval invocation as GDBusMethodInvocation ptr, byval error as const GError ptr) 2082 declare sub g_dbus_method_invocation_take_error(byval invocation as GDBusMethodInvocation ptr, byval error as GError ptr) 2083 declare sub g_dbus_method_invocation_return_dbus_error(byval invocation as GDBusMethodInvocation ptr, byval error_name as const gchar ptr, byval error_message as const gchar ptr) 2084 #define __G_DBUS_NAME_OWNING_H__ 2085 2086 type GBusAcquiredCallback as sub(byval connection as GDBusConnection ptr, byval name as const gchar ptr, byval user_data as gpointer) 2087 type GBusNameAcquiredCallback as sub(byval connection as GDBusConnection ptr, byval name as const gchar ptr, byval user_data as gpointer) 2088 type GBusNameLostCallback as sub(byval connection as GDBusConnection ptr, byval name as const gchar ptr, byval user_data as gpointer) 2089 2090 declare function g_bus_own_name(byval bus_type as GBusType, byval name as const gchar ptr, byval flags as GBusNameOwnerFlags, byval bus_acquired_handler as GBusAcquiredCallback, byval name_acquired_handler as GBusNameAcquiredCallback, byval name_lost_handler as GBusNameLostCallback, byval user_data as gpointer, byval user_data_free_func as GDestroyNotify) as guint 2091 declare function g_bus_own_name_on_connection(byval connection as GDBusConnection ptr, byval name as const gchar ptr, byval flags as GBusNameOwnerFlags, byval name_acquired_handler as GBusNameAcquiredCallback, byval name_lost_handler as GBusNameLostCallback, byval user_data as gpointer, byval user_data_free_func as GDestroyNotify) as guint 2092 declare function g_bus_own_name_with_closures(byval bus_type as GBusType, byval name as const gchar ptr, byval flags as GBusNameOwnerFlags, byval bus_acquired_closure as GClosure ptr, byval name_acquired_closure as GClosure ptr, byval name_lost_closure as GClosure ptr) as guint 2093 declare function g_bus_own_name_on_connection_with_closures(byval connection as GDBusConnection ptr, byval name as const gchar ptr, byval flags as GBusNameOwnerFlags, byval name_acquired_closure as GClosure ptr, byval name_lost_closure as GClosure ptr) as guint 2094 declare sub g_bus_unown_name(byval owner_id as guint) 2095 #define __G_DBUS_NAME_WATCHING_H__ 2096 type GBusNameAppearedCallback as sub(byval connection as GDBusConnection ptr, byval name as const gchar ptr, byval name_owner as const gchar ptr, byval user_data as gpointer) 2097 type GBusNameVanishedCallback as sub(byval connection as GDBusConnection ptr, byval name as const gchar ptr, byval user_data as gpointer) 2098 declare function g_bus_watch_name(byval bus_type as GBusType, byval name as const gchar ptr, byval flags as GBusNameWatcherFlags, byval name_appeared_handler as GBusNameAppearedCallback, byval name_vanished_handler as GBusNameVanishedCallback, byval user_data as gpointer, byval user_data_free_func as GDestroyNotify) as guint 2099 declare function g_bus_watch_name_on_connection(byval connection as GDBusConnection ptr, byval name as const gchar ptr, byval flags as GBusNameWatcherFlags, byval name_appeared_handler as GBusNameAppearedCallback, byval name_vanished_handler as GBusNameVanishedCallback, byval user_data as gpointer, byval user_data_free_func as GDestroyNotify) as guint 2100 declare function g_bus_watch_name_with_closures(byval bus_type as GBusType, byval name as const gchar ptr, byval flags as GBusNameWatcherFlags, byval name_appeared_closure as GClosure ptr, byval name_vanished_closure as GClosure ptr) as guint 2101 declare function g_bus_watch_name_on_connection_with_closures(byval connection as GDBusConnection ptr, byval name as const gchar ptr, byval flags as GBusNameWatcherFlags, byval name_appeared_closure as GClosure ptr, byval name_vanished_closure as GClosure ptr) as guint 2102 declare sub g_bus_unwatch_name(byval watcher_id as guint) 2103 2104 #define __G_DBUS_PROXY_H__ 2105 #define G_TYPE_DBUS_PROXY g_dbus_proxy_get_type() 2106 #define G_DBUS_PROXY(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_DBUS_PROXY, GDBusProxy) 2107 #define G_DBUS_PROXY_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_DBUS_PROXY, GDBusProxyClass) 2108 #define G_DBUS_PROXY_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_DBUS_PROXY, GDBusProxyClass) 2109 #define G_IS_DBUS_PROXY(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_DBUS_PROXY) 2110 #define G_IS_DBUS_PROXY_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_DBUS_PROXY) 2111 type GDBusProxyClass as _GDBusProxyClass 2112 type GDBusProxyPrivate as _GDBusProxyPrivate 2113 2114 type _GDBusProxy 2115 parent_instance as GObject 2116 priv as GDBusProxyPrivate ptr 2117 end type 2118 2119 type _GDBusProxyClass 2120 parent_class as GObjectClass 2121 g_properties_changed as sub(byval proxy as GDBusProxy ptr, byval changed_properties as GVariant ptr, byval invalidated_properties as const gchar const ptr ptr) 2122 g_signal as sub(byval proxy as GDBusProxy ptr, byval sender_name as const gchar ptr, byval signal_name as const gchar ptr, byval parameters as GVariant ptr) 2123 padding(0 to 31) as gpointer 2124 end type 2125 2126 declare function g_dbus_proxy_get_type() as GType 2127 declare sub g_dbus_proxy_new(byval connection as GDBusConnection ptr, byval flags as GDBusProxyFlags, byval info as GDBusInterfaceInfo ptr, byval name as const gchar ptr, byval object_path as const gchar ptr, byval interface_name as const gchar ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2128 declare function g_dbus_proxy_new_finish(byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GDBusProxy ptr 2129 declare function g_dbus_proxy_new_sync(byval connection as GDBusConnection ptr, byval flags as GDBusProxyFlags, byval info as GDBusInterfaceInfo ptr, byval name as const gchar ptr, byval object_path as const gchar ptr, byval interface_name as const gchar ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GDBusProxy ptr 2130 declare sub g_dbus_proxy_new_for_bus(byval bus_type as GBusType, byval flags as GDBusProxyFlags, byval info as GDBusInterfaceInfo ptr, byval name as const gchar ptr, byval object_path as const gchar ptr, byval interface_name as const gchar ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2131 declare function g_dbus_proxy_new_for_bus_finish(byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GDBusProxy ptr 2132 declare function g_dbus_proxy_new_for_bus_sync(byval bus_type as GBusType, byval flags as GDBusProxyFlags, byval info as GDBusInterfaceInfo ptr, byval name as const gchar ptr, byval object_path as const gchar ptr, byval interface_name as const gchar ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GDBusProxy ptr 2133 declare function g_dbus_proxy_get_connection(byval proxy as GDBusProxy ptr) as GDBusConnection ptr 2134 declare function g_dbus_proxy_get_flags(byval proxy as GDBusProxy ptr) as GDBusProxyFlags 2135 declare function g_dbus_proxy_get_name(byval proxy as GDBusProxy ptr) as const gchar ptr 2136 declare function g_dbus_proxy_get_name_owner(byval proxy as GDBusProxy ptr) as gchar ptr 2137 declare function g_dbus_proxy_get_object_path(byval proxy as GDBusProxy ptr) as const gchar ptr 2138 declare function g_dbus_proxy_get_interface_name(byval proxy as GDBusProxy ptr) as const gchar ptr 2139 declare function g_dbus_proxy_get_default_timeout(byval proxy as GDBusProxy ptr) as gint 2140 declare sub g_dbus_proxy_set_default_timeout(byval proxy as GDBusProxy ptr, byval timeout_msec as gint) 2141 declare function g_dbus_proxy_get_interface_info(byval proxy as GDBusProxy ptr) as GDBusInterfaceInfo ptr 2142 declare sub g_dbus_proxy_set_interface_info(byval proxy as GDBusProxy ptr, byval info as GDBusInterfaceInfo ptr) 2143 declare function g_dbus_proxy_get_cached_property(byval proxy as GDBusProxy ptr, byval property_name as const gchar ptr) as GVariant ptr 2144 declare sub g_dbus_proxy_set_cached_property(byval proxy as GDBusProxy ptr, byval property_name as const gchar ptr, byval value as GVariant ptr) 2145 declare function g_dbus_proxy_get_cached_property_names(byval proxy as GDBusProxy ptr) as gchar ptr ptr 2146 declare sub g_dbus_proxy_call(byval proxy as GDBusProxy ptr, byval method_name as const gchar ptr, byval parameters as GVariant ptr, byval flags as GDBusCallFlags, byval timeout_msec as gint, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2147 declare function g_dbus_proxy_call_finish(byval proxy as GDBusProxy ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GVariant ptr 2148 declare function g_dbus_proxy_call_sync(byval proxy as GDBusProxy ptr, byval method_name as const gchar ptr, byval parameters as GVariant ptr, byval flags as GDBusCallFlags, byval timeout_msec as gint, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GVariant ptr 2149 declare sub g_dbus_proxy_call_with_unix_fd_list(byval proxy as GDBusProxy ptr, byval method_name as const gchar ptr, byval parameters as GVariant ptr, byval flags as GDBusCallFlags, byval timeout_msec as gint, byval fd_list as GUnixFDList ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2150 declare function g_dbus_proxy_call_with_unix_fd_list_finish(byval proxy as GDBusProxy ptr, byval out_fd_list as GUnixFDList ptr ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GVariant ptr 2151 declare function g_dbus_proxy_call_with_unix_fd_list_sync(byval proxy as GDBusProxy ptr, byval method_name as const gchar ptr, byval parameters as GVariant ptr, byval flags as GDBusCallFlags, byval timeout_msec as gint, byval fd_list as GUnixFDList ptr, byval out_fd_list as GUnixFDList ptr ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GVariant ptr 2152 2153 #define __G_DBUS_SERVER_H__ 2154 #define G_TYPE_DBUS_SERVER g_dbus_server_get_type() 2155 #define G_DBUS_SERVER(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_DBUS_SERVER, GDBusServer) 2156 #define G_IS_DBUS_SERVER(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_DBUS_SERVER) 2157 2158 declare function g_dbus_server_get_type() as GType 2159 declare function g_dbus_server_new_sync(byval address as const gchar ptr, byval flags as GDBusServerFlags, byval guid as const gchar ptr, byval observer as GDBusAuthObserver ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GDBusServer ptr 2160 declare function g_dbus_server_get_client_address(byval server as GDBusServer ptr) as const gchar ptr 2161 declare function g_dbus_server_get_guid(byval server as GDBusServer ptr) as const gchar ptr 2162 declare function g_dbus_server_get_flags(byval server as GDBusServer ptr) as GDBusServerFlags 2163 declare sub g_dbus_server_start(byval server as GDBusServer ptr) 2164 declare sub g_dbus_server_stop(byval server as GDBusServer ptr) 2165 declare function g_dbus_server_is_active(byval server as GDBusServer ptr) as gboolean 2166 #define __G_DBUS_UTILS_H__ 2167 declare function g_dbus_is_guid(byval string as const gchar ptr) as gboolean 2168 declare function g_dbus_generate_guid() as gchar ptr 2169 declare function g_dbus_is_name(byval string as const gchar ptr) as gboolean 2170 declare function g_dbus_is_unique_name(byval string as const gchar ptr) as gboolean 2171 declare function g_dbus_is_member_name(byval string as const gchar ptr) as gboolean 2172 declare function g_dbus_is_interface_name(byval string as const gchar ptr) as gboolean 2173 declare sub g_dbus_gvariant_to_gvalue(byval value as GVariant ptr, byval out_gvalue as GValue ptr) 2174 declare function g_dbus_gvalue_to_gvariant(byval gvalue as const GValue ptr, byval type as const GVariantType ptr) as GVariant ptr 2175 2176 #define __G_DRIVE_H__ 2177 #define G_TYPE_DRIVE g_drive_get_type() 2178 #define G_DRIVE(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), G_TYPE_DRIVE, GDrive) 2179 #define G_IS_DRIVE(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), G_TYPE_DRIVE) 2180 #define G_DRIVE_GET_IFACE(obj) G_TYPE_INSTANCE_GET_INTERFACE((obj), G_TYPE_DRIVE, GDriveIface) 2181 type GDriveIface as _GDriveIface 2182 2183 type _GDriveIface 2184 g_iface as GTypeInterface 2185 changed as sub(byval drive as GDrive ptr) 2186 disconnected as sub(byval drive as GDrive ptr) 2187 eject_button as sub(byval drive as GDrive ptr) 2188 get_name as function(byval drive as GDrive ptr) as zstring ptr 2189 get_icon as function(byval drive as GDrive ptr) as GIcon ptr 2190 has_volumes as function(byval drive as GDrive ptr) as gboolean 2191 get_volumes as function(byval drive as GDrive ptr) as GList ptr 2192 is_media_removable as function(byval drive as GDrive ptr) as gboolean 2193 has_media as function(byval drive as GDrive ptr) as gboolean 2194 is_media_check_automatic as function(byval drive as GDrive ptr) as gboolean 2195 can_eject as function(byval drive as GDrive ptr) as gboolean 2196 can_poll_for_media as function(byval drive as GDrive ptr) as gboolean 2197 eject as sub(byval drive as GDrive ptr, byval flags as GMountUnmountFlags, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2198 eject_finish as function(byval drive as GDrive ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2199 poll_for_media as sub(byval drive as GDrive ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2200 poll_for_media_finish as function(byval drive as GDrive ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2201 get_identifier as function(byval drive as GDrive ptr, byval kind as const zstring ptr) as zstring ptr 2202 enumerate_identifiers as function(byval drive as GDrive ptr) as zstring ptr ptr 2203 get_start_stop_type as function(byval drive as GDrive ptr) as GDriveStartStopType 2204 can_start as function(byval drive as GDrive ptr) as gboolean 2205 can_start_degraded as function(byval drive as GDrive ptr) as gboolean 2206 start as sub(byval drive as GDrive ptr, byval flags as GDriveStartFlags, byval mount_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2207 start_finish as function(byval drive as GDrive ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2208 can_stop as function(byval drive as GDrive ptr) as gboolean 2209 stop as sub(byval drive as GDrive ptr, byval flags as GMountUnmountFlags, byval mount_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2210 stop_finish as function(byval drive as GDrive ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2211 stop_button as sub(byval drive as GDrive ptr) 2212 eject_with_operation as sub(byval drive as GDrive ptr, byval flags as GMountUnmountFlags, byval mount_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2213 eject_with_operation_finish as function(byval drive as GDrive ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2214 get_sort_key as function(byval drive as GDrive ptr) as const gchar ptr 2215 get_symbolic_icon as function(byval drive as GDrive ptr) as GIcon ptr 2216 end type 2217 2218 declare function g_drive_get_type() as GType 2219 declare function g_drive_get_name(byval drive as GDrive ptr) as zstring ptr 2220 declare function g_drive_get_icon(byval drive as GDrive ptr) as GIcon ptr 2221 declare function g_drive_get_symbolic_icon(byval drive as GDrive ptr) as GIcon ptr 2222 declare function g_drive_has_volumes(byval drive as GDrive ptr) as gboolean 2223 declare function g_drive_get_volumes(byval drive as GDrive ptr) as GList ptr 2224 declare function g_drive_is_media_removable(byval drive as GDrive ptr) as gboolean 2225 declare function g_drive_has_media(byval drive as GDrive ptr) as gboolean 2226 declare function g_drive_is_media_check_automatic(byval drive as GDrive ptr) as gboolean 2227 declare function g_drive_can_poll_for_media(byval drive as GDrive ptr) as gboolean 2228 declare function g_drive_can_eject(byval drive as GDrive ptr) as gboolean 2229 declare sub g_drive_eject(byval drive as GDrive ptr, byval flags as GMountUnmountFlags, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2230 declare function g_drive_eject_finish(byval drive as GDrive ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2231 declare sub g_drive_poll_for_media(byval drive as GDrive ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2232 declare function g_drive_poll_for_media_finish(byval drive as GDrive ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2233 declare function g_drive_get_identifier(byval drive as GDrive ptr, byval kind as const zstring ptr) as zstring ptr 2234 declare function g_drive_enumerate_identifiers(byval drive as GDrive ptr) as zstring ptr ptr 2235 declare function g_drive_get_start_stop_type(byval drive as GDrive ptr) as GDriveStartStopType 2236 declare function g_drive_can_start(byval drive as GDrive ptr) as gboolean 2237 declare function g_drive_can_start_degraded(byval drive as GDrive ptr) as gboolean 2238 declare sub g_drive_start(byval drive as GDrive ptr, byval flags as GDriveStartFlags, byval mount_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2239 declare function g_drive_start_finish(byval drive as GDrive ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2240 declare function g_drive_can_stop(byval drive as GDrive ptr) as gboolean 2241 declare sub g_drive_stop(byval drive as GDrive ptr, byval flags as GMountUnmountFlags, byval mount_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2242 declare function g_drive_stop_finish(byval drive as GDrive ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2243 declare sub g_drive_eject_with_operation(byval drive as GDrive ptr, byval flags as GMountUnmountFlags, byval mount_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2244 declare function g_drive_eject_with_operation_finish(byval drive as GDrive ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2245 declare function g_drive_get_sort_key(byval drive as GDrive ptr) as const gchar ptr 2246 2247 #define __G_EMBLEMED_ICON_H__ 2248 #define __G_ICON_H__ 2249 #define G_TYPE_ICON g_icon_get_type() 2250 #define G_ICON(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), G_TYPE_ICON, GIcon) 2251 #define G_IS_ICON(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), G_TYPE_ICON) 2252 #define G_ICON_GET_IFACE(obj) G_TYPE_INSTANCE_GET_INTERFACE((obj), G_TYPE_ICON, GIconIface) 2253 type GIconIface as _GIconIface 2254 2255 type _GIconIface 2256 g_iface as GTypeInterface 2257 hash as function(byval icon as GIcon ptr) as guint 2258 equal as function(byval icon1 as GIcon ptr, byval icon2 as GIcon ptr) as gboolean 2259 to_tokens as function(byval icon as GIcon ptr, byval tokens as GPtrArray ptr, byval out_version as gint ptr) as gboolean 2260 from_tokens as function(byval tokens as gchar ptr ptr, byval num_tokens as gint, byval version as gint, byval error as GError ptr ptr) as GIcon ptr 2261 serialize as function(byval icon as GIcon ptr) as GVariant ptr 2262 end type 2263 2264 declare function g_icon_get_type() as GType 2265 declare function g_icon_hash(byval icon as gconstpointer) as guint 2266 declare function g_icon_equal(byval icon1 as GIcon ptr, byval icon2 as GIcon ptr) as gboolean 2267 declare function g_icon_to_string(byval icon as GIcon ptr) as gchar ptr 2268 declare function g_icon_new_for_string(byval str as const gchar ptr, byval error as GError ptr ptr) as GIcon ptr 2269 declare function g_icon_serialize(byval icon as GIcon ptr) as GVariant ptr 2270 declare function g_icon_deserialize(byval value as GVariant ptr) as GIcon ptr 2271 2272 #define __G_EMBLEM_H__ 2273 #define G_TYPE_EMBLEM g_emblem_get_type() 2274 #define G_EMBLEM(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_EMBLEM, GEmblem) 2275 #define G_EMBLEM_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_EMBLEM, GEmblemClass) 2276 #define G_IS_EMBLEM(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_EMBLEM) 2277 #define G_IS_EMBLEM_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_EMBLEM) 2278 #define G_EMBLEM_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_EMBLEM, GEmblemClass) 2279 type GEmblem as _GEmblem 2280 type GEmblemClass as _GEmblemClass 2281 2282 declare function g_emblem_get_type() as GType 2283 declare function g_emblem_new(byval icon as GIcon ptr) as GEmblem ptr 2284 declare function g_emblem_new_with_origin(byval icon as GIcon ptr, byval origin as GEmblemOrigin) as GEmblem ptr 2285 declare function g_emblem_get_icon(byval emblem as GEmblem ptr) as GIcon ptr 2286 declare function g_emblem_get_origin(byval emblem as GEmblem ptr) as GEmblemOrigin 2287 2288 #define G_TYPE_EMBLEMED_ICON g_emblemed_icon_get_type() 2289 #define G_EMBLEMED_ICON(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_EMBLEMED_ICON, GEmblemedIcon) 2290 #define G_EMBLEMED_ICON_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_EMBLEMED_ICON, GEmblemedIconClass) 2291 #define G_IS_EMBLEMED_ICON(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_EMBLEMED_ICON) 2292 #define G_IS_EMBLEMED_ICON_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_EMBLEMED_ICON) 2293 #define G_EMBLEMED_ICON_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_EMBLEMED_ICON, GEmblemedIconClass) 2294 2295 type GEmblemedIcon as _GEmblemedIcon 2296 type GEmblemedIconClass as _GEmblemedIconClass 2297 type GEmblemedIconPrivate as _GEmblemedIconPrivate 2298 2299 type _GEmblemedIcon 2300 parent_instance as GObject 2301 priv as GEmblemedIconPrivate ptr 2302 end type 2303 2304 type _GEmblemedIconClass 2305 parent_class as GObjectClass 2306 end type 2307 2308 declare function g_emblemed_icon_get_type() as GType 2309 declare function g_emblemed_icon_new(byval icon as GIcon ptr, byval emblem as GEmblem ptr) as GIcon ptr 2310 declare function g_emblemed_icon_get_icon(byval emblemed as GEmblemedIcon ptr) as GIcon ptr 2311 declare function g_emblemed_icon_get_emblems(byval emblemed as GEmblemedIcon ptr) as GList ptr 2312 declare sub g_emblemed_icon_add_emblem(byval emblemed as GEmblemedIcon ptr, byval emblem as GEmblem ptr) 2313 declare sub g_emblemed_icon_clear_emblems(byval emblemed as GEmblemedIcon ptr) 2314 #define __G_FILE_ATTRIBUTE_H__ 2315 2316 type _GFileAttributeInfo 2317 name as zstring ptr 2318 as GFileAttributeType type 2319 flags as GFileAttributeInfoFlags 2320 end type 2321 2322 type _GFileAttributeInfoList 2323 infos as GFileAttributeInfo ptr 2324 n_infos as long 2325 end type 2326 2327 #define G_TYPE_FILE_ATTRIBUTE_INFO_LIST g_file_attribute_info_list_get_type() 2328 declare function g_file_attribute_info_list_get_type() as GType 2329 declare function g_file_attribute_info_list_new() as GFileAttributeInfoList ptr 2330 declare function g_file_attribute_info_list_ref(byval list as GFileAttributeInfoList ptr) as GFileAttributeInfoList ptr 2331 declare sub g_file_attribute_info_list_unref(byval list as GFileAttributeInfoList ptr) 2332 declare function g_file_attribute_info_list_dup(byval list as GFileAttributeInfoList ptr) as GFileAttributeInfoList ptr 2333 declare function g_file_attribute_info_list_lookup(byval list as GFileAttributeInfoList ptr, byval name as const zstring ptr) as const GFileAttributeInfo ptr 2334 declare sub g_file_attribute_info_list_add(byval list as GFileAttributeInfoList ptr, byval name as const zstring ptr, byval type as GFileAttributeType, byval flags as GFileAttributeInfoFlags) 2335 2336 #define __G_FILE_ENUMERATOR_H__ 2337 #define G_TYPE_FILE_ENUMERATOR g_file_enumerator_get_type() 2338 #define G_FILE_ENUMERATOR(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_FILE_ENUMERATOR, GFileEnumerator) 2339 #define G_FILE_ENUMERATOR_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_FILE_ENUMERATOR, GFileEnumeratorClass) 2340 #define G_IS_FILE_ENUMERATOR(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_FILE_ENUMERATOR) 2341 #define G_IS_FILE_ENUMERATOR_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_FILE_ENUMERATOR) 2342 #define G_FILE_ENUMERATOR_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_FILE_ENUMERATOR, GFileEnumeratorClass) 2343 type GFileEnumeratorClass as _GFileEnumeratorClass 2344 type GFileEnumeratorPrivate as _GFileEnumeratorPrivate 2345 2346 type _GFileEnumerator 2347 parent_instance as GObject 2348 priv as GFileEnumeratorPrivate ptr 2349 end type 2350 2351 type _GFileEnumeratorClass 2352 parent_class as GObjectClass 2353 next_file as function(byval enumerator as GFileEnumerator ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileInfo ptr 2354 close_fn as function(byval enumerator as GFileEnumerator ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2355 next_files_async as sub(byval enumerator as GFileEnumerator ptr, byval num_files as long, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2356 next_files_finish as function(byval enumerator as GFileEnumerator ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as GList ptr 2357 close_async as sub(byval enumerator as GFileEnumerator ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2358 close_finish as function(byval enumerator as GFileEnumerator ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2359 _g_reserved1 as sub() 2360 _g_reserved2 as sub() 2361 _g_reserved3 as sub() 2362 _g_reserved4 as sub() 2363 _g_reserved5 as sub() 2364 _g_reserved6 as sub() 2365 _g_reserved7 as sub() 2366 end type 2367 2368 declare function g_file_enumerator_get_type() as GType 2369 declare function g_file_enumerator_next_file(byval enumerator as GFileEnumerator ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileInfo ptr 2370 declare function g_file_enumerator_close(byval enumerator as GFileEnumerator ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2371 declare sub g_file_enumerator_next_files_async(byval enumerator as GFileEnumerator ptr, byval num_files as long, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2372 declare function g_file_enumerator_next_files_finish(byval enumerator as GFileEnumerator ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as GList ptr 2373 declare sub g_file_enumerator_close_async(byval enumerator as GFileEnumerator ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2374 declare function g_file_enumerator_close_finish(byval enumerator as GFileEnumerator ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2375 declare function g_file_enumerator_is_closed(byval enumerator as GFileEnumerator ptr) as gboolean 2376 declare function g_file_enumerator_has_pending(byval enumerator as GFileEnumerator ptr) as gboolean 2377 declare sub g_file_enumerator_set_pending(byval enumerator as GFileEnumerator ptr, byval pending as gboolean) 2378 declare function g_file_enumerator_get_container(byval enumerator as GFileEnumerator ptr) as GFile ptr 2379 declare function g_file_enumerator_get_child(byval enumerator as GFileEnumerator ptr, byval info as GFileInfo ptr) as GFile ptr 2380 declare function g_file_enumerator_iterate(byval direnum as GFileEnumerator ptr, byval out_info as GFileInfo ptr ptr, byval out_child as GFile ptr ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2381 2382 #define __G_FILE_H__ 2383 #define G_TYPE_FILE g_file_get_type() 2384 #define G_FILE(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), G_TYPE_FILE, GFile) 2385 #define G_IS_FILE(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), G_TYPE_FILE) 2386 #define G_FILE_GET_IFACE(obj) G_TYPE_INSTANCE_GET_INTERFACE((obj), G_TYPE_FILE, GFileIface) 2387 type GFileIface as _GFileIface 2388 2389 type _GFileIface 2390 g_iface as GTypeInterface 2391 dup as function(byval file as GFile ptr) as GFile ptr 2392 hash as function(byval file as GFile ptr) as guint 2393 equal as function(byval file1 as GFile ptr, byval file2 as GFile ptr) as gboolean 2394 is_native as function(byval file as GFile ptr) as gboolean 2395 has_uri_scheme as function(byval file as GFile ptr, byval uri_scheme as const zstring ptr) as gboolean 2396 get_uri_scheme as function(byval file as GFile ptr) as zstring ptr 2397 get_basename as function(byval file as GFile ptr) as zstring ptr 2398 get_path as function(byval file as GFile ptr) as zstring ptr 2399 get_uri as function(byval file as GFile ptr) as zstring ptr 2400 get_parse_name as function(byval file as GFile ptr) as zstring ptr 2401 get_parent as function(byval file as GFile ptr) as GFile ptr 2402 prefix_matches as function(byval prefix as GFile ptr, byval file as GFile ptr) as gboolean 2403 get_relative_path as function(byval parent as GFile ptr, byval descendant as GFile ptr) as zstring ptr 2404 resolve_relative_path as function(byval file as GFile ptr, byval relative_path as const zstring ptr) as GFile ptr 2405 get_child_for_display_name as function(byval file as GFile ptr, byval display_name as const zstring ptr, byval error as GError ptr ptr) as GFile ptr 2406 enumerate_children as function(byval file as GFile ptr, byval attributes as const zstring ptr, byval flags as GFileQueryInfoFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileEnumerator ptr 2407 enumerate_children_async as sub(byval file as GFile ptr, byval attributes as const zstring ptr, byval flags as GFileQueryInfoFlags, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2408 enumerate_children_finish as function(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GFileEnumerator ptr 2409 query_info as function(byval file as GFile ptr, byval attributes as const zstring ptr, byval flags as GFileQueryInfoFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileInfo ptr 2410 query_info_async as sub(byval file as GFile ptr, byval attributes as const zstring ptr, byval flags as GFileQueryInfoFlags, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2411 query_info_finish as function(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GFileInfo ptr 2412 query_filesystem_info as function(byval file as GFile ptr, byval attributes as const zstring ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileInfo ptr 2413 query_filesystem_info_async as sub(byval file as GFile ptr, byval attributes as const zstring ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2414 query_filesystem_info_finish as function(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GFileInfo ptr 2415 find_enclosing_mount as function(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GMount ptr 2416 find_enclosing_mount_async as sub(byval file as GFile ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2417 find_enclosing_mount_finish as function(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GMount ptr 2418 set_display_name as function(byval file as GFile ptr, byval display_name as const zstring ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFile ptr 2419 set_display_name_async as sub(byval file as GFile ptr, byval display_name as const zstring ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2420 set_display_name_finish as function(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GFile ptr 2421 query_settable_attributes as function(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileAttributeInfoList ptr 2422 _query_settable_attributes_async as sub() 2423 _query_settable_attributes_finish as sub() 2424 query_writable_namespaces as function(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileAttributeInfoList ptr 2425 _query_writable_namespaces_async as sub() 2426 _query_writable_namespaces_finish as sub() 2427 set_attribute as function(byval file as GFile ptr, byval attribute as const zstring ptr, byval type as GFileAttributeType, byval value_p as gpointer, byval flags as GFileQueryInfoFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2428 set_attributes_from_info as function(byval file as GFile ptr, byval info as GFileInfo ptr, byval flags as GFileQueryInfoFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2429 set_attributes_async as sub(byval file as GFile ptr, byval info as GFileInfo ptr, byval flags as GFileQueryInfoFlags, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2430 set_attributes_finish as function(byval file as GFile ptr, byval result as GAsyncResult ptr, byval info as GFileInfo ptr ptr, byval error as GError ptr ptr) as gboolean 2431 read_fn as function(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileInputStream ptr 2432 read_async as sub(byval file as GFile ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2433 read_finish as function(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GFileInputStream ptr 2434 append_to as function(byval file as GFile ptr, byval flags as GFileCreateFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileOutputStream ptr 2435 append_to_async as sub(byval file as GFile ptr, byval flags as GFileCreateFlags, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2436 append_to_finish as function(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GFileOutputStream ptr 2437 create as function(byval file as GFile ptr, byval flags as GFileCreateFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileOutputStream ptr 2438 create_async as sub(byval file as GFile ptr, byval flags as GFileCreateFlags, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2439 create_finish as function(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GFileOutputStream ptr 2440 replace as function(byval file as GFile ptr, byval etag as const zstring ptr, byval make_backup as gboolean, byval flags as GFileCreateFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileOutputStream ptr 2441 replace_async as sub(byval file as GFile ptr, byval etag as const zstring ptr, byval make_backup as gboolean, byval flags as GFileCreateFlags, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2442 replace_finish as function(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GFileOutputStream ptr 2443 delete_file as function(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2444 delete_file_async as sub(byval file as GFile ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2445 delete_file_finish as function(byval file as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2446 trash as function(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2447 trash_async as sub(byval file as GFile ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2448 trash_finish as function(byval file as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2449 make_directory as function(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2450 make_directory_async as sub(byval file as GFile ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2451 make_directory_finish as function(byval file as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2452 make_symbolic_link as function(byval file as GFile ptr, byval symlink_value as const zstring ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2453 _make_symbolic_link_async as sub() 2454 _make_symbolic_link_finish as sub() 2455 copy as function(byval source as GFile ptr, byval destination as GFile ptr, byval flags as GFileCopyFlags, byval cancellable as GCancellable ptr, byval progress_callback as GFileProgressCallback, byval progress_callback_data as gpointer, byval error as GError ptr ptr) as gboolean 2456 copy_async as sub(byval source as GFile ptr, byval destination as GFile ptr, byval flags as GFileCopyFlags, byval io_priority as long, byval cancellable as GCancellable ptr, byval progress_callback as GFileProgressCallback, byval progress_callback_data as gpointer, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2457 copy_finish as function(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2458 move as function(byval source as GFile ptr, byval destination as GFile ptr, byval flags as GFileCopyFlags, byval cancellable as GCancellable ptr, byval progress_callback as GFileProgressCallback, byval progress_callback_data as gpointer, byval error as GError ptr ptr) as gboolean 2459 _move_async as sub() 2460 _move_finish as sub() 2461 mount_mountable as sub(byval file as GFile ptr, byval flags as GMountMountFlags, byval mount_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2462 mount_mountable_finish as function(byval file as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as GFile ptr 2463 unmount_mountable as sub(byval file as GFile ptr, byval flags as GMountUnmountFlags, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2464 unmount_mountable_finish as function(byval file as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2465 eject_mountable as sub(byval file as GFile ptr, byval flags as GMountUnmountFlags, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2466 eject_mountable_finish as function(byval file as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2467 mount_enclosing_volume as sub(byval location as GFile ptr, byval flags as GMountMountFlags, byval mount_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2468 mount_enclosing_volume_finish as function(byval location as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2469 monitor_dir as function(byval file as GFile ptr, byval flags as GFileMonitorFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileMonitor ptr 2470 monitor_file as function(byval file as GFile ptr, byval flags as GFileMonitorFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileMonitor ptr 2471 open_readwrite as function(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileIOStream ptr 2472 open_readwrite_async as sub(byval file as GFile ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2473 open_readwrite_finish as function(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GFileIOStream ptr 2474 create_readwrite as function(byval file as GFile ptr, byval flags as GFileCreateFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileIOStream ptr 2475 create_readwrite_async as sub(byval file as GFile ptr, byval flags as GFileCreateFlags, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2476 create_readwrite_finish as function(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GFileIOStream ptr 2477 replace_readwrite as function(byval file as GFile ptr, byval etag as const zstring ptr, byval make_backup as gboolean, byval flags as GFileCreateFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileIOStream ptr 2478 replace_readwrite_async as sub(byval file as GFile ptr, byval etag as const zstring ptr, byval make_backup as gboolean, byval flags as GFileCreateFlags, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2479 replace_readwrite_finish as function(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GFileIOStream ptr 2480 start_mountable as sub(byval file as GFile ptr, byval flags as GDriveStartFlags, byval start_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2481 start_mountable_finish as function(byval file as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2482 stop_mountable as sub(byval file as GFile ptr, byval flags as GMountUnmountFlags, byval mount_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2483 stop_mountable_finish as function(byval file as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2484 supports_thread_contexts as gboolean 2485 unmount_mountable_with_operation as sub(byval file as GFile ptr, byval flags as GMountUnmountFlags, byval mount_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2486 unmount_mountable_with_operation_finish as function(byval file as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2487 eject_mountable_with_operation as sub(byval file as GFile ptr, byval flags as GMountUnmountFlags, byval mount_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2488 eject_mountable_with_operation_finish as function(byval file as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2489 poll_mountable as sub(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2490 poll_mountable_finish as function(byval file as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2491 measure_disk_usage as function(byval file as GFile ptr, byval flags as GFileMeasureFlags, byval cancellable as GCancellable ptr, byval progress_callback as GFileMeasureProgressCallback, byval progress_data as gpointer, byval disk_usage as guint64 ptr, byval num_dirs as guint64 ptr, byval num_files as guint64 ptr, byval error as GError ptr ptr) as gboolean 2492 measure_disk_usage_async as sub(byval file as GFile ptr, byval flags as GFileMeasureFlags, byval io_priority as gint, byval cancellable as GCancellable ptr, byval progress_callback as GFileMeasureProgressCallback, byval progress_data as gpointer, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2493 measure_disk_usage_finish as function(byval file as GFile ptr, byval result as GAsyncResult ptr, byval disk_usage as guint64 ptr, byval num_dirs as guint64 ptr, byval num_files as guint64 ptr, byval error as GError ptr ptr) as gboolean 2494 end type 2495 2496 declare function g_file_get_type() as GType 2497 declare function g_file_new_for_path(byval path as const zstring ptr) as GFile ptr 2498 declare function g_file_new_for_uri(byval uri as const zstring ptr) as GFile ptr 2499 declare function g_file_new_for_commandline_arg(byval arg as const zstring ptr) as GFile ptr 2500 declare function g_file_new_for_commandline_arg_and_cwd(byval arg as const gchar ptr, byval cwd as const gchar ptr) as GFile ptr 2501 declare function g_file_new_tmp(byval tmpl as const zstring ptr, byval iostream as GFileIOStream ptr ptr, byval error as GError ptr ptr) as GFile ptr 2502 declare function g_file_parse_name(byval parse_name as const zstring ptr) as GFile ptr 2503 declare function g_file_dup(byval file as GFile ptr) as GFile ptr 2504 declare function g_file_hash(byval file as gconstpointer) as guint 2505 declare function g_file_equal(byval file1 as GFile ptr, byval file2 as GFile ptr) as gboolean 2506 declare function g_file_get_basename(byval file as GFile ptr) as zstring ptr 2507 declare function g_file_get_path(byval file as GFile ptr) as zstring ptr 2508 declare function g_file_get_uri(byval file as GFile ptr) as zstring ptr 2509 declare function g_file_get_parse_name(byval file as GFile ptr) as zstring ptr 2510 declare function g_file_get_parent(byval file as GFile ptr) as GFile ptr 2511 declare function g_file_has_parent(byval file as GFile ptr, byval parent as GFile ptr) as gboolean 2512 declare function g_file_get_child(byval file as GFile ptr, byval name as const zstring ptr) as GFile ptr 2513 declare function g_file_get_child_for_display_name(byval file as GFile ptr, byval display_name as const zstring ptr, byval error as GError ptr ptr) as GFile ptr 2514 declare function g_file_has_prefix(byval file as GFile ptr, byval prefix as GFile ptr) as gboolean 2515 declare function g_file_get_relative_path(byval parent as GFile ptr, byval descendant as GFile ptr) as zstring ptr 2516 declare function g_file_resolve_relative_path(byval file as GFile ptr, byval relative_path as const zstring ptr) as GFile ptr 2517 declare function g_file_is_native(byval file as GFile ptr) as gboolean 2518 declare function g_file_has_uri_scheme(byval file as GFile ptr, byval uri_scheme as const zstring ptr) as gboolean 2519 declare function g_file_get_uri_scheme(byval file as GFile ptr) as zstring ptr 2520 declare function g_file_read(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileInputStream ptr 2521 declare sub g_file_read_async(byval file as GFile ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2522 declare function g_file_read_finish(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GFileInputStream ptr 2523 declare function g_file_append_to(byval file as GFile ptr, byval flags as GFileCreateFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileOutputStream ptr 2524 declare function g_file_create(byval file as GFile ptr, byval flags as GFileCreateFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileOutputStream ptr 2525 declare function g_file_replace(byval file as GFile ptr, byval etag as const zstring ptr, byval make_backup as gboolean, byval flags as GFileCreateFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileOutputStream ptr 2526 declare sub g_file_append_to_async(byval file as GFile ptr, byval flags as GFileCreateFlags, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2527 declare function g_file_append_to_finish(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GFileOutputStream ptr 2528 declare sub g_file_create_async(byval file as GFile ptr, byval flags as GFileCreateFlags, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2529 declare function g_file_create_finish(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GFileOutputStream ptr 2530 declare sub g_file_replace_async(byval file as GFile ptr, byval etag as const zstring ptr, byval make_backup as gboolean, byval flags as GFileCreateFlags, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2531 declare function g_file_replace_finish(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GFileOutputStream ptr 2532 declare function g_file_open_readwrite(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileIOStream ptr 2533 declare sub g_file_open_readwrite_async(byval file as GFile ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2534 declare function g_file_open_readwrite_finish(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GFileIOStream ptr 2535 declare function g_file_create_readwrite(byval file as GFile ptr, byval flags as GFileCreateFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileIOStream ptr 2536 declare sub g_file_create_readwrite_async(byval file as GFile ptr, byval flags as GFileCreateFlags, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2537 declare function g_file_create_readwrite_finish(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GFileIOStream ptr 2538 declare function g_file_replace_readwrite(byval file as GFile ptr, byval etag as const zstring ptr, byval make_backup as gboolean, byval flags as GFileCreateFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileIOStream ptr 2539 declare sub g_file_replace_readwrite_async(byval file as GFile ptr, byval etag as const zstring ptr, byval make_backup as gboolean, byval flags as GFileCreateFlags, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2540 declare function g_file_replace_readwrite_finish(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GFileIOStream ptr 2541 declare function g_file_query_exists(byval file as GFile ptr, byval cancellable as GCancellable ptr) as gboolean 2542 declare function g_file_query_file_type(byval file as GFile ptr, byval flags as GFileQueryInfoFlags, byval cancellable as GCancellable ptr) as GFileType 2543 declare function g_file_query_info(byval file as GFile ptr, byval attributes as const zstring ptr, byval flags as GFileQueryInfoFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileInfo ptr 2544 declare sub g_file_query_info_async(byval file as GFile ptr, byval attributes as const zstring ptr, byval flags as GFileQueryInfoFlags, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2545 declare function g_file_query_info_finish(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GFileInfo ptr 2546 declare function g_file_query_filesystem_info(byval file as GFile ptr, byval attributes as const zstring ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileInfo ptr 2547 declare sub g_file_query_filesystem_info_async(byval file as GFile ptr, byval attributes as const zstring ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2548 declare function g_file_query_filesystem_info_finish(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GFileInfo ptr 2549 declare function g_file_find_enclosing_mount(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GMount ptr 2550 declare sub g_file_find_enclosing_mount_async(byval file as GFile ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2551 declare function g_file_find_enclosing_mount_finish(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GMount ptr 2552 declare function g_file_enumerate_children(byval file as GFile ptr, byval attributes as const zstring ptr, byval flags as GFileQueryInfoFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileEnumerator ptr 2553 declare sub g_file_enumerate_children_async(byval file as GFile ptr, byval attributes as const zstring ptr, byval flags as GFileQueryInfoFlags, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2554 declare function g_file_enumerate_children_finish(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GFileEnumerator ptr 2555 declare function g_file_set_display_name(byval file as GFile ptr, byval display_name as const zstring ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFile ptr 2556 declare sub g_file_set_display_name_async(byval file as GFile ptr, byval display_name as const zstring ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2557 declare function g_file_set_display_name_finish(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as GFile ptr 2558 declare function g_file_delete(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2559 declare sub g_file_delete_async(byval file as GFile ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2560 declare function g_file_delete_finish(byval file as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2561 declare function g_file_trash(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2562 declare sub g_file_trash_async(byval file as GFile ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2563 declare function g_file_trash_finish(byval file as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2564 declare function g_file_copy(byval source as GFile ptr, byval destination as GFile ptr, byval flags as GFileCopyFlags, byval cancellable as GCancellable ptr, byval progress_callback as GFileProgressCallback, byval progress_callback_data as gpointer, byval error as GError ptr ptr) as gboolean 2565 declare sub g_file_copy_async(byval source as GFile ptr, byval destination as GFile ptr, byval flags as GFileCopyFlags, byval io_priority as long, byval cancellable as GCancellable ptr, byval progress_callback as GFileProgressCallback, byval progress_callback_data as gpointer, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2566 declare function g_file_copy_finish(byval file as GFile ptr, byval res as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2567 declare function g_file_move(byval source as GFile ptr, byval destination as GFile ptr, byval flags as GFileCopyFlags, byval cancellable as GCancellable ptr, byval progress_callback as GFileProgressCallback, byval progress_callback_data as gpointer, byval error as GError ptr ptr) as gboolean 2568 declare function g_file_make_directory(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2569 declare sub g_file_make_directory_async(byval file as GFile ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2570 declare function g_file_make_directory_finish(byval file as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2571 declare function g_file_make_directory_with_parents(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2572 declare function g_file_make_symbolic_link(byval file as GFile ptr, byval symlink_value as const zstring ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2573 declare function g_file_query_settable_attributes(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileAttributeInfoList ptr 2574 declare function g_file_query_writable_namespaces(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileAttributeInfoList ptr 2575 declare function g_file_set_attribute(byval file as GFile ptr, byval attribute as const zstring ptr, byval type as GFileAttributeType, byval value_p as gpointer, byval flags as GFileQueryInfoFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2576 declare function g_file_set_attributes_from_info(byval file as GFile ptr, byval info as GFileInfo ptr, byval flags as GFileQueryInfoFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2577 declare sub g_file_set_attributes_async(byval file as GFile ptr, byval info as GFileInfo ptr, byval flags as GFileQueryInfoFlags, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2578 declare function g_file_set_attributes_finish(byval file as GFile ptr, byval result as GAsyncResult ptr, byval info as GFileInfo ptr ptr, byval error as GError ptr ptr) as gboolean 2579 declare function g_file_set_attribute_string(byval file as GFile ptr, byval attribute as const zstring ptr, byval value as const zstring ptr, byval flags as GFileQueryInfoFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2580 declare function g_file_set_attribute_byte_string(byval file as GFile ptr, byval attribute as const zstring ptr, byval value as const zstring ptr, byval flags as GFileQueryInfoFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2581 declare function g_file_set_attribute_uint32(byval file as GFile ptr, byval attribute as const zstring ptr, byval value as guint32, byval flags as GFileQueryInfoFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2582 declare function g_file_set_attribute_int32(byval file as GFile ptr, byval attribute as const zstring ptr, byval value as gint32, byval flags as GFileQueryInfoFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2583 declare function g_file_set_attribute_uint64(byval file as GFile ptr, byval attribute as const zstring ptr, byval value as guint64, byval flags as GFileQueryInfoFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2584 declare function g_file_set_attribute_int64(byval file as GFile ptr, byval attribute as const zstring ptr, byval value as gint64, byval flags as GFileQueryInfoFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2585 declare sub g_file_mount_enclosing_volume(byval location as GFile ptr, byval flags as GMountMountFlags, byval mount_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2586 declare function g_file_mount_enclosing_volume_finish(byval location as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2587 declare sub g_file_mount_mountable(byval file as GFile ptr, byval flags as GMountMountFlags, byval mount_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2588 declare function g_file_mount_mountable_finish(byval file as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as GFile ptr 2589 declare sub g_file_unmount_mountable(byval file as GFile ptr, byval flags as GMountUnmountFlags, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2590 declare function g_file_unmount_mountable_finish(byval file as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2591 declare sub g_file_unmount_mountable_with_operation(byval file as GFile ptr, byval flags as GMountUnmountFlags, byval mount_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2592 declare function g_file_unmount_mountable_with_operation_finish(byval file as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2593 declare sub g_file_eject_mountable(byval file as GFile ptr, byval flags as GMountUnmountFlags, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2594 declare function g_file_eject_mountable_finish(byval file as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2595 declare sub g_file_eject_mountable_with_operation(byval file as GFile ptr, byval flags as GMountUnmountFlags, byval mount_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2596 declare function g_file_eject_mountable_with_operation_finish(byval file as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2597 declare function g_file_copy_attributes(byval source as GFile ptr, byval destination as GFile ptr, byval flags as GFileCopyFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2598 declare function g_file_monitor_directory(byval file as GFile ptr, byval flags as GFileMonitorFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileMonitor ptr 2599 declare function g_file_monitor_file(byval file as GFile ptr, byval flags as GFileMonitorFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileMonitor ptr 2600 declare function g_file_monitor_ alias "g_file_monitor"(byval file as GFile ptr, byval flags as GFileMonitorFlags, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileMonitor ptr 2601 declare function g_file_measure_disk_usage(byval file as GFile ptr, byval flags as GFileMeasureFlags, byval cancellable as GCancellable ptr, byval progress_callback as GFileMeasureProgressCallback, byval progress_data as gpointer, byval disk_usage as guint64 ptr, byval num_dirs as guint64 ptr, byval num_files as guint64 ptr, byval error as GError ptr ptr) as gboolean 2602 declare sub g_file_measure_disk_usage_async(byval file as GFile ptr, byval flags as GFileMeasureFlags, byval io_priority as gint, byval cancellable as GCancellable ptr, byval progress_callback as GFileMeasureProgressCallback, byval progress_data as gpointer, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2603 declare function g_file_measure_disk_usage_finish(byval file as GFile ptr, byval result as GAsyncResult ptr, byval disk_usage as guint64 ptr, byval num_dirs as guint64 ptr, byval num_files as guint64 ptr, byval error as GError ptr ptr) as gboolean 2604 declare sub g_file_start_mountable(byval file as GFile ptr, byval flags as GDriveStartFlags, byval start_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2605 declare function g_file_start_mountable_finish(byval file as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2606 declare sub g_file_stop_mountable(byval file as GFile ptr, byval flags as GMountUnmountFlags, byval mount_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2607 declare function g_file_stop_mountable_finish(byval file as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2608 declare sub g_file_poll_mountable(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2609 declare function g_file_poll_mountable_finish(byval file as GFile ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2610 declare function g_file_query_default_handler(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GAppInfo ptr 2611 declare function g_file_load_contents(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval contents as zstring ptr ptr, byval length as gsize ptr, byval etag_out as zstring ptr ptr, byval error as GError ptr ptr) as gboolean 2612 declare sub g_file_load_contents_async(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2613 declare function g_file_load_contents_finish(byval file as GFile ptr, byval res as GAsyncResult ptr, byval contents as zstring ptr ptr, byval length as gsize ptr, byval etag_out as zstring ptr ptr, byval error as GError ptr ptr) as gboolean 2614 declare sub g_file_load_partial_contents_async(byval file as GFile ptr, byval cancellable as GCancellable ptr, byval read_more_callback as GFileReadMoreCallback, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2615 declare function g_file_load_partial_contents_finish(byval file as GFile ptr, byval res as GAsyncResult ptr, byval contents as zstring ptr ptr, byval length as gsize ptr, byval etag_out as zstring ptr ptr, byval error as GError ptr ptr) as gboolean 2616 declare function g_file_replace_contents(byval file as GFile ptr, byval contents as const zstring ptr, byval length as gsize, byval etag as const zstring ptr, byval make_backup as gboolean, byval flags as GFileCreateFlags, byval new_etag as zstring ptr ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2617 declare sub g_file_replace_contents_async(byval file as GFile ptr, byval contents as const zstring ptr, byval length as gsize, byval etag as const zstring ptr, byval make_backup as gboolean, byval flags as GFileCreateFlags, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2618 declare sub g_file_replace_contents_bytes_async(byval file as GFile ptr, byval contents as GBytes ptr, byval etag as const zstring ptr, byval make_backup as gboolean, byval flags as GFileCreateFlags, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2619 declare function g_file_replace_contents_finish(byval file as GFile ptr, byval res as GAsyncResult ptr, byval new_etag as zstring ptr ptr, byval error as GError ptr ptr) as gboolean 2620 declare function g_file_supports_thread_contexts(byval file as GFile ptr) as gboolean 2621 2622 #define __G_FILE_ICON_H__ 2623 #define G_TYPE_FILE_ICON g_file_icon_get_type() 2624 #define G_FILE_ICON(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_FILE_ICON, GFileIcon) 2625 #define G_FILE_ICON_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_FILE_ICON, GFileIconClass) 2626 #define G_IS_FILE_ICON(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_FILE_ICON) 2627 #define G_IS_FILE_ICON_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_FILE_ICON) 2628 #define G_FILE_ICON_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_FILE_ICON, GFileIconClass) 2629 type GFileIconClass as _GFileIconClass 2630 2631 declare function g_file_icon_get_type() as GType 2632 declare function g_file_icon_new(byval file as GFile ptr) as GIcon ptr 2633 declare function g_file_icon_get_file(byval icon as GFileIcon ptr) as GFile ptr 2634 2635 #define __G_FILE_INFO_H__ 2636 #define G_TYPE_FILE_INFO g_file_info_get_type() 2637 #define G_FILE_INFO(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_FILE_INFO, GFileInfo) 2638 #define G_FILE_INFO_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_FILE_INFO, GFileInfoClass) 2639 #define G_IS_FILE_INFO(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_FILE_INFO) 2640 #define G_IS_FILE_INFO_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_FILE_INFO) 2641 #define G_FILE_INFO_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_FILE_INFO, GFileInfoClass) 2642 type GFileInfoClass as _GFileInfoClass 2643 #define G_FILE_ATTRIBUTE_STANDARD_TYPE "standard::type" 2644 #define G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN "standard::is-hidden" 2645 #define G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP "standard::is-backup" 2646 #define G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK "standard::is-symlink" 2647 #define G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL "standard::is-virtual" 2648 #define G_FILE_ATTRIBUTE_STANDARD_NAME "standard::name" 2649 #define G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME "standard::display-name" 2650 #define G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME "standard::edit-name" 2651 #define G_FILE_ATTRIBUTE_STANDARD_COPY_NAME "standard::copy-name" 2652 #define G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION "standard::description" 2653 #define G_FILE_ATTRIBUTE_STANDARD_ICON "standard::icon" 2654 #define G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON "standard::symbolic-icon" 2655 #define G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE "standard::content-type" 2656 #define G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE "standard::fast-content-type" 2657 #define G_FILE_ATTRIBUTE_STANDARD_SIZE "standard::size" 2658 #define G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE "standard::allocated-size" 2659 #define G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET "standard::symlink-target" 2660 #define G_FILE_ATTRIBUTE_STANDARD_TARGET_URI "standard::target-uri" 2661 #define G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER "standard::sort-order" 2662 #define G_FILE_ATTRIBUTE_ETAG_VALUE "etag::value" 2663 #define G_FILE_ATTRIBUTE_ID_FILE "id::file" 2664 #define G_FILE_ATTRIBUTE_ID_FILESYSTEM "id::filesystem" 2665 #define G_FILE_ATTRIBUTE_ACCESS_CAN_READ "access::can-read" 2666 #define G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE "access::can-write" 2667 #define G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE "access::can-execute" 2668 #define G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE "access::can-delete" 2669 #define G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH "access::can-trash" 2670 #define G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME "access::can-rename" 2671 #define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT "mountable::can-mount" 2672 #define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT "mountable::can-unmount" 2673 #define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT "mountable::can-eject" 2674 #define G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE "mountable::unix-device" 2675 #define G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE "mountable::unix-device-file" 2676 #define G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI "mountable::hal-udi" 2677 #define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START "mountable::can-start" 2678 #define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED "mountable::can-start-degraded" 2679 #define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP "mountable::can-stop" 2680 #define G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE "mountable::start-stop-type" 2681 #define G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL "mountable::can-poll" 2682 #define G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC "mountable::is-media-check-automatic" 2683 #define G_FILE_ATTRIBUTE_TIME_MODIFIED "time::modified" 2684 #define G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC "time::modified-usec" 2685 #define G_FILE_ATTRIBUTE_TIME_ACCESS "time::access" 2686 #define G_FILE_ATTRIBUTE_TIME_ACCESS_USEC "time::access-usec" 2687 #define G_FILE_ATTRIBUTE_TIME_CHANGED "time::changed" 2688 #define G_FILE_ATTRIBUTE_TIME_CHANGED_USEC "time::changed-usec" 2689 #define G_FILE_ATTRIBUTE_TIME_CREATED "time::created" 2690 #define G_FILE_ATTRIBUTE_TIME_CREATED_USEC "time::created-usec" 2691 #define G_FILE_ATTRIBUTE_UNIX_DEVICE "unix::device" 2692 #define G_FILE_ATTRIBUTE_UNIX_INODE "unix::inode" 2693 #define G_FILE_ATTRIBUTE_UNIX_MODE "unix::mode" 2694 #define G_FILE_ATTRIBUTE_UNIX_NLINK "unix::nlink" 2695 #define G_FILE_ATTRIBUTE_UNIX_UID "unix::uid" 2696 #define G_FILE_ATTRIBUTE_UNIX_GID "unix::gid" 2697 #define G_FILE_ATTRIBUTE_UNIX_RDEV "unix::rdev" 2698 #define G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE "unix::block-size" 2699 #define G_FILE_ATTRIBUTE_UNIX_BLOCKS "unix::blocks" 2700 #define G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT "unix::is-mountpoint" 2701 #define G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE "dos::is-archive" 2702 #define G_FILE_ATTRIBUTE_DOS_IS_SYSTEM "dos::is-system" 2703 #define G_FILE_ATTRIBUTE_OWNER_USER "owner::user" 2704 #define G_FILE_ATTRIBUTE_OWNER_USER_REAL "owner::user-real" 2705 #define G_FILE_ATTRIBUTE_OWNER_GROUP "owner::group" 2706 #define G_FILE_ATTRIBUTE_THUMBNAIL_PATH "thumbnail::path" 2707 #define G_FILE_ATTRIBUTE_THUMBNAILING_FAILED "thumbnail::failed" 2708 #define G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID "thumbnail::is-valid" 2709 #define G_FILE_ATTRIBUTE_PREVIEW_ICON "preview::icon" 2710 #define G_FILE_ATTRIBUTE_FILESYSTEM_SIZE "filesystem::size" 2711 #define G_FILE_ATTRIBUTE_FILESYSTEM_FREE "filesystem::free" 2712 #define G_FILE_ATTRIBUTE_FILESYSTEM_USED "filesystem::used" 2713 #define G_FILE_ATTRIBUTE_FILESYSTEM_TYPE "filesystem::type" 2714 #define G_FILE_ATTRIBUTE_FILESYSTEM_READONLY "filesystem::readonly" 2715 #define G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW "filesystem::use-preview" 2716 #define G_FILE_ATTRIBUTE_GVFS_BACKEND "gvfs::backend" 2717 #define G_FILE_ATTRIBUTE_SELINUX_CONTEXT "selinux::context" 2718 #define G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT "trash::item-count" 2719 #define G_FILE_ATTRIBUTE_TRASH_ORIG_PATH "trash::orig-path" 2720 #define G_FILE_ATTRIBUTE_TRASH_DELETION_DATE "trash::deletion-date" 2721 2722 declare function g_file_info_get_type() as GType 2723 declare function g_file_info_new() as GFileInfo ptr 2724 declare function g_file_info_dup(byval other as GFileInfo ptr) as GFileInfo ptr 2725 declare sub g_file_info_copy_into(byval src_info as GFileInfo ptr, byval dest_info as GFileInfo ptr) 2726 declare function g_file_info_has_attribute(byval info as GFileInfo ptr, byval attribute as const zstring ptr) as gboolean 2727 declare function g_file_info_has_namespace(byval info as GFileInfo ptr, byval name_space as const zstring ptr) as gboolean 2728 declare function g_file_info_list_attributes(byval info as GFileInfo ptr, byval name_space as const zstring ptr) as zstring ptr ptr 2729 declare function g_file_info_get_attribute_data(byval info as GFileInfo ptr, byval attribute as const zstring ptr, byval type as GFileAttributeType ptr, byval value_pp as gpointer ptr, byval status as GFileAttributeStatus ptr) as gboolean 2730 declare function g_file_info_get_attribute_type(byval info as GFileInfo ptr, byval attribute as const zstring ptr) as GFileAttributeType 2731 declare sub g_file_info_remove_attribute(byval info as GFileInfo ptr, byval attribute as const zstring ptr) 2732 declare function g_file_info_get_attribute_status(byval info as GFileInfo ptr, byval attribute as const zstring ptr) as GFileAttributeStatus 2733 declare function g_file_info_set_attribute_status(byval info as GFileInfo ptr, byval attribute as const zstring ptr, byval status as GFileAttributeStatus) as gboolean 2734 declare function g_file_info_get_attribute_as_string(byval info as GFileInfo ptr, byval attribute as const zstring ptr) as zstring ptr 2735 declare function g_file_info_get_attribute_string(byval info as GFileInfo ptr, byval attribute as const zstring ptr) as const zstring ptr 2736 declare function g_file_info_get_attribute_byte_string(byval info as GFileInfo ptr, byval attribute as const zstring ptr) as const zstring ptr 2737 declare function g_file_info_get_attribute_boolean(byval info as GFileInfo ptr, byval attribute as const zstring ptr) as gboolean 2738 declare function g_file_info_get_attribute_uint32(byval info as GFileInfo ptr, byval attribute as const zstring ptr) as guint32 2739 declare function g_file_info_get_attribute_int32(byval info as GFileInfo ptr, byval attribute as const zstring ptr) as gint32 2740 declare function g_file_info_get_attribute_uint64(byval info as GFileInfo ptr, byval attribute as const zstring ptr) as guint64 2741 declare function g_file_info_get_attribute_int64(byval info as GFileInfo ptr, byval attribute as const zstring ptr) as gint64 2742 declare function g_file_info_get_attribute_object(byval info as GFileInfo ptr, byval attribute as const zstring ptr) as GObject ptr 2743 declare function g_file_info_get_attribute_stringv(byval info as GFileInfo ptr, byval attribute as const zstring ptr) as zstring ptr ptr 2744 declare sub g_file_info_set_attribute(byval info as GFileInfo ptr, byval attribute as const zstring ptr, byval type as GFileAttributeType, byval value_p as gpointer) 2745 declare sub g_file_info_set_attribute_string(byval info as GFileInfo ptr, byval attribute as const zstring ptr, byval attr_value as const zstring ptr) 2746 declare sub g_file_info_set_attribute_byte_string(byval info as GFileInfo ptr, byval attribute as const zstring ptr, byval attr_value as const zstring ptr) 2747 declare sub g_file_info_set_attribute_boolean(byval info as GFileInfo ptr, byval attribute as const zstring ptr, byval attr_value as gboolean) 2748 declare sub g_file_info_set_attribute_uint32(byval info as GFileInfo ptr, byval attribute as const zstring ptr, byval attr_value as guint32) 2749 declare sub g_file_info_set_attribute_int32(byval info as GFileInfo ptr, byval attribute as const zstring ptr, byval attr_value as gint32) 2750 declare sub g_file_info_set_attribute_uint64(byval info as GFileInfo ptr, byval attribute as const zstring ptr, byval attr_value as guint64) 2751 declare sub g_file_info_set_attribute_int64(byval info as GFileInfo ptr, byval attribute as const zstring ptr, byval attr_value as gint64) 2752 declare sub g_file_info_set_attribute_object(byval info as GFileInfo ptr, byval attribute as const zstring ptr, byval attr_value as GObject ptr) 2753 declare sub g_file_info_set_attribute_stringv(byval info as GFileInfo ptr, byval attribute as const zstring ptr, byval attr_value as zstring ptr ptr) 2754 declare sub g_file_info_clear_status(byval info as GFileInfo ptr) 2755 declare function g_file_info_get_deletion_date(byval info as GFileInfo ptr) as GDateTime ptr 2756 declare function g_file_info_get_file_type(byval info as GFileInfo ptr) as GFileType 2757 declare function g_file_info_get_is_hidden(byval info as GFileInfo ptr) as gboolean 2758 declare function g_file_info_get_is_backup(byval info as GFileInfo ptr) as gboolean 2759 declare function g_file_info_get_is_symlink(byval info as GFileInfo ptr) as gboolean 2760 declare function g_file_info_get_name(byval info as GFileInfo ptr) as const zstring ptr 2761 declare function g_file_info_get_display_name(byval info as GFileInfo ptr) as const zstring ptr 2762 declare function g_file_info_get_edit_name(byval info as GFileInfo ptr) as const zstring ptr 2763 declare function g_file_info_get_icon(byval info as GFileInfo ptr) as GIcon ptr 2764 declare function g_file_info_get_symbolic_icon(byval info as GFileInfo ptr) as GIcon ptr 2765 declare function g_file_info_get_content_type(byval info as GFileInfo ptr) as const zstring ptr 2766 declare function g_file_info_get_size(byval info as GFileInfo ptr) as goffset 2767 declare sub g_file_info_get_modification_time(byval info as GFileInfo ptr, byval result as GTimeVal ptr) 2768 declare function g_file_info_get_symlink_target(byval info as GFileInfo ptr) as const zstring ptr 2769 declare function g_file_info_get_etag(byval info as GFileInfo ptr) as const zstring ptr 2770 declare function g_file_info_get_sort_order(byval info as GFileInfo ptr) as gint32 2771 declare sub g_file_info_set_attribute_mask(byval info as GFileInfo ptr, byval mask as GFileAttributeMatcher ptr) 2772 declare sub g_file_info_unset_attribute_mask(byval info as GFileInfo ptr) 2773 declare sub g_file_info_set_file_type(byval info as GFileInfo ptr, byval type as GFileType) 2774 declare sub g_file_info_set_is_hidden(byval info as GFileInfo ptr, byval is_hidden as gboolean) 2775 declare sub g_file_info_set_is_symlink(byval info as GFileInfo ptr, byval is_symlink as gboolean) 2776 declare sub g_file_info_set_name(byval info as GFileInfo ptr, byval name as const zstring ptr) 2777 declare sub g_file_info_set_display_name(byval info as GFileInfo ptr, byval display_name as const zstring ptr) 2778 declare sub g_file_info_set_edit_name(byval info as GFileInfo ptr, byval edit_name as const zstring ptr) 2779 declare sub g_file_info_set_icon(byval info as GFileInfo ptr, byval icon as GIcon ptr) 2780 declare sub g_file_info_set_symbolic_icon(byval info as GFileInfo ptr, byval icon as GIcon ptr) 2781 declare sub g_file_info_set_content_type(byval info as GFileInfo ptr, byval content_type as const zstring ptr) 2782 declare sub g_file_info_set_size(byval info as GFileInfo ptr, byval size as goffset) 2783 declare sub g_file_info_set_modification_time(byval info as GFileInfo ptr, byval mtime as GTimeVal ptr) 2784 declare sub g_file_info_set_symlink_target(byval info as GFileInfo ptr, byval symlink_target as const zstring ptr) 2785 declare sub g_file_info_set_sort_order(byval info as GFileInfo ptr, byval sort_order as gint32) 2786 #define G_TYPE_FILE_ATTRIBUTE_MATCHER g_file_attribute_matcher_get_type() 2787 declare function g_file_attribute_matcher_get_type() as GType 2788 declare function g_file_attribute_matcher_new(byval attributes as const zstring ptr) as GFileAttributeMatcher ptr 2789 declare function g_file_attribute_matcher_ref(byval matcher as GFileAttributeMatcher ptr) as GFileAttributeMatcher ptr 2790 declare sub g_file_attribute_matcher_unref(byval matcher as GFileAttributeMatcher ptr) 2791 declare function g_file_attribute_matcher_subtract(byval matcher as GFileAttributeMatcher ptr, byval subtract as GFileAttributeMatcher ptr) as GFileAttributeMatcher ptr 2792 declare function g_file_attribute_matcher_matches(byval matcher as GFileAttributeMatcher ptr, byval attribute as const zstring ptr) as gboolean 2793 declare function g_file_attribute_matcher_matches_only(byval matcher as GFileAttributeMatcher ptr, byval attribute as const zstring ptr) as gboolean 2794 declare function g_file_attribute_matcher_enumerate_namespace(byval matcher as GFileAttributeMatcher ptr, byval ns as const zstring ptr) as gboolean 2795 declare function g_file_attribute_matcher_enumerate_next(byval matcher as GFileAttributeMatcher ptr) as const zstring ptr 2796 declare function g_file_attribute_matcher_to_string(byval matcher as GFileAttributeMatcher ptr) as zstring ptr 2797 2798 #define __G_FILE_INPUT_STREAM_H__ 2799 #define G_TYPE_FILE_INPUT_STREAM g_file_input_stream_get_type() 2800 #define G_FILE_INPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_FILE_INPUT_STREAM, GFileInputStream) 2801 #define G_FILE_INPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_FILE_INPUT_STREAM, GFileInputStreamClass) 2802 #define G_IS_FILE_INPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_FILE_INPUT_STREAM) 2803 #define G_IS_FILE_INPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_FILE_INPUT_STREAM) 2804 #define G_FILE_INPUT_STREAM_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_FILE_INPUT_STREAM, GFileInputStreamClass) 2805 type GFileInputStreamClass as _GFileInputStreamClass 2806 type GFileInputStreamPrivate as _GFileInputStreamPrivate 2807 2808 type _GFileInputStream 2809 parent_instance as GInputStream 2810 priv as GFileInputStreamPrivate ptr 2811 end type 2812 2813 type _GFileInputStreamClass 2814 parent_class as GInputStreamClass 2815 tell as function(byval stream as GFileInputStream ptr) as goffset 2816 can_seek as function(byval stream as GFileInputStream ptr) as gboolean 2817 seek as function(byval stream as GFileInputStream ptr, byval offset as goffset, byval type as GSeekType, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2818 query_info as function(byval stream as GFileInputStream ptr, byval attributes as const zstring ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileInfo ptr 2819 query_info_async as sub(byval stream as GFileInputStream ptr, byval attributes as const zstring ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2820 query_info_finish as function(byval stream as GFileInputStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as GFileInfo ptr 2821 _g_reserved1 as sub() 2822 _g_reserved2 as sub() 2823 _g_reserved3 as sub() 2824 _g_reserved4 as sub() 2825 _g_reserved5 as sub() 2826 end type 2827 2828 declare function g_file_input_stream_get_type() as GType 2829 declare function g_file_input_stream_query_info(byval stream as GFileInputStream ptr, byval attributes as const zstring ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileInfo ptr 2830 declare sub g_file_input_stream_query_info_async(byval stream as GFileInputStream ptr, byval attributes as const zstring ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2831 declare function g_file_input_stream_query_info_finish(byval stream as GFileInputStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as GFileInfo ptr 2832 2833 #define __G_FILE_IO_STREAM_H__ 2834 #define __G_IO_STREAM_H__ 2835 #define __G_IO_ERROR_H__ 2836 #define G_IO_ERROR g_io_error_quark() 2837 declare function g_io_error_quark() as GQuark 2838 declare function g_io_error_from_errno(byval err_no as gint) as GIOErrorEnum 2839 2840 #ifdef __FB_WIN32__ 2841 declare function g_io_error_from_win32_error(byval error_code as gint) as GIOErrorEnum 2842 #endif 2843 2844 #define G_TYPE_IO_STREAM g_io_stream_get_type() 2845 #define G_IO_STREAM(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_IO_STREAM, GIOStream) 2846 #define G_IO_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_IO_STREAM, GIOStreamClass) 2847 #define G_IS_IO_STREAM(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_IO_STREAM) 2848 #define G_IS_IO_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_IO_STREAM) 2849 #define G_IO_STREAM_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_IO_STREAM, GIOStreamClass) 2850 type GIOStreamPrivate as _GIOStreamPrivate 2851 type GIOStreamClass as _GIOStreamClass 2852 2853 type _GIOStream 2854 parent_instance as GObject 2855 priv as GIOStreamPrivate ptr 2856 end type 2857 2858 type _GIOStreamClass 2859 parent_class as GObjectClass 2860 get_input_stream as function(byval stream as GIOStream ptr) as GInputStream ptr 2861 get_output_stream as function(byval stream as GIOStream ptr) as GOutputStream ptr 2862 close_fn as function(byval stream as GIOStream ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2863 close_async as sub(byval stream as GIOStream ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2864 close_finish as function(byval stream as GIOStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2865 _g_reserved1 as sub() 2866 _g_reserved2 as sub() 2867 _g_reserved3 as sub() 2868 _g_reserved4 as sub() 2869 _g_reserved5 as sub() 2870 _g_reserved6 as sub() 2871 _g_reserved7 as sub() 2872 _g_reserved8 as sub() 2873 _g_reserved9 as sub() 2874 _g_reserved10 as sub() 2875 end type 2876 2877 declare function g_io_stream_get_type() as GType 2878 declare function g_io_stream_get_input_stream(byval stream as GIOStream ptr) as GInputStream ptr 2879 declare function g_io_stream_get_output_stream(byval stream as GIOStream ptr) as GOutputStream ptr 2880 declare sub g_io_stream_splice_async(byval stream1 as GIOStream ptr, byval stream2 as GIOStream ptr, byval flags as GIOStreamSpliceFlags, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2881 declare function g_io_stream_splice_finish(byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2882 declare function g_io_stream_close(byval stream as GIOStream ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2883 declare sub g_io_stream_close_async(byval stream as GIOStream ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2884 declare function g_io_stream_close_finish(byval stream as GIOStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 2885 declare function g_io_stream_is_closed(byval stream as GIOStream ptr) as gboolean 2886 declare function g_io_stream_has_pending(byval stream as GIOStream ptr) as gboolean 2887 declare function g_io_stream_set_pending(byval stream as GIOStream ptr, byval error as GError ptr ptr) as gboolean 2888 declare sub g_io_stream_clear_pending(byval stream as GIOStream ptr) 2889 2890 #define G_TYPE_FILE_IO_STREAM g_file_io_stream_get_type() 2891 #define G_FILE_IO_STREAM(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_FILE_IO_STREAM, GFileIOStream) 2892 #define G_FILE_IO_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_FILE_IO_STREAM, GFileIOStreamClass) 2893 #define G_IS_FILE_IO_STREAM(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_FILE_IO_STREAM) 2894 #define G_IS_FILE_IO_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_FILE_IO_STREAM) 2895 #define G_FILE_IO_STREAM_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_FILE_IO_STREAM, GFileIOStreamClass) 2896 type GFileIOStreamClass as _GFileIOStreamClass 2897 type GFileIOStreamPrivate as _GFileIOStreamPrivate 2898 2899 type _GFileIOStream 2900 parent_instance as GIOStream 2901 priv as GFileIOStreamPrivate ptr 2902 end type 2903 2904 type _GFileIOStreamClass 2905 parent_class as GIOStreamClass 2906 tell as function(byval stream as GFileIOStream ptr) as goffset 2907 can_seek as function(byval stream as GFileIOStream ptr) as gboolean 2908 seek as function(byval stream as GFileIOStream ptr, byval offset as goffset, byval type as GSeekType, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2909 can_truncate as function(byval stream as GFileIOStream ptr) as gboolean 2910 truncate_fn as function(byval stream as GFileIOStream ptr, byval size as goffset, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 2911 query_info as function(byval stream as GFileIOStream ptr, byval attributes as const zstring ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileInfo ptr 2912 query_info_async as sub(byval stream as GFileIOStream ptr, byval attributes as const zstring ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2913 query_info_finish as function(byval stream as GFileIOStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as GFileInfo ptr 2914 get_etag as function(byval stream as GFileIOStream ptr) as zstring ptr 2915 _g_reserved1 as sub() 2916 _g_reserved2 as sub() 2917 _g_reserved3 as sub() 2918 _g_reserved4 as sub() 2919 _g_reserved5 as sub() 2920 end type 2921 2922 declare function g_file_io_stream_get_type() as GType 2923 declare function g_file_io_stream_query_info(byval stream as GFileIOStream ptr, byval attributes as const zstring ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileInfo ptr 2924 declare sub g_file_io_stream_query_info_async(byval stream as GFileIOStream ptr, byval attributes as const zstring ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 2925 declare function g_file_io_stream_query_info_finish(byval stream as GFileIOStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as GFileInfo ptr 2926 declare function g_file_io_stream_get_etag(byval stream as GFileIOStream ptr) as zstring ptr 2927 2928 #define __G_FILE_MONITOR_H__ 2929 #define G_TYPE_FILE_MONITOR g_file_monitor_get_type() 2930 #define G_FILE_MONITOR(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_FILE_MONITOR, GFileMonitor) 2931 #define G_FILE_MONITOR_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_FILE_MONITOR, GFileMonitorClass) 2932 #define G_IS_FILE_MONITOR(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_FILE_MONITOR) 2933 #define G_IS_FILE_MONITOR_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_FILE_MONITOR) 2934 #define G_FILE_MONITOR_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_FILE_MONITOR, GFileMonitorClass) 2935 type GFileMonitorClass as _GFileMonitorClass 2936 type GFileMonitorPrivate as _GFileMonitorPrivate 2937 2938 type _GFileMonitor 2939 parent_instance as GObject 2940 priv as GFileMonitorPrivate ptr 2941 end type 2942 2943 type _GFileMonitorClass 2944 parent_class as GObjectClass 2945 changed as sub(byval monitor as GFileMonitor ptr, byval file as GFile ptr, byval other_file as GFile ptr, byval event_type as GFileMonitorEvent) 2946 cancel as function(byval monitor as GFileMonitor ptr) as gboolean 2947 _g_reserved1 as sub() 2948 _g_reserved2 as sub() 2949 _g_reserved3 as sub() 2950 _g_reserved4 as sub() 2951 _g_reserved5 as sub() 2952 end type 2953 2954 declare function g_file_monitor_get_type() as GType 2955 declare function g_file_monitor_cancel(byval monitor as GFileMonitor ptr) as gboolean 2956 declare function g_file_monitor_is_cancelled(byval monitor as GFileMonitor ptr) as gboolean 2957 declare sub g_file_monitor_set_rate_limit(byval monitor as GFileMonitor ptr, byval limit_msecs as gint) 2958 declare sub g_file_monitor_emit_event(byval monitor as GFileMonitor ptr, byval child as GFile ptr, byval other_file as GFile ptr, byval event_type as GFileMonitorEvent) 2959 2960 #define __G_FILENAME_COMPLETER_H__ 2961 #define G_TYPE_FILENAME_COMPLETER g_filename_completer_get_type() 2962 #define G_FILENAME_COMPLETER(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_FILENAME_COMPLETER, GFilenameCompleter) 2963 #define G_FILENAME_COMPLETER_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_FILENAME_COMPLETER, GFilenameCompleterClass) 2964 #define G_FILENAME_COMPLETER_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_FILENAME_COMPLETER, GFilenameCompleterClass) 2965 #define G_IS_FILENAME_COMPLETER(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_FILENAME_COMPLETER) 2966 #define G_IS_FILENAME_COMPLETER_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_FILENAME_COMPLETER) 2967 type GFilenameCompleterClass as _GFilenameCompleterClass 2968 2969 type _GFilenameCompleterClass 2970 parent_class as GObjectClass 2971 got_completion_data as sub(byval filename_completer as GFilenameCompleter ptr) 2972 _g_reserved1 as sub() 2973 _g_reserved2 as sub() 2974 _g_reserved3 as sub() 2975 end type 2976 2977 declare function g_filename_completer_get_type() as GType 2978 declare function g_filename_completer_new() as GFilenameCompleter ptr 2979 declare function g_filename_completer_get_completion_suffix(byval completer as GFilenameCompleter ptr, byval initial_text as const zstring ptr) as zstring ptr 2980 declare function g_filename_completer_get_completions(byval completer as GFilenameCompleter ptr, byval initial_text as const zstring ptr) as zstring ptr ptr 2981 declare sub g_filename_completer_set_dirs_only(byval completer as GFilenameCompleter ptr, byval dirs_only as gboolean) 2982 2983 #define __G_FILE_OUTPUT_STREAM_H__ 2984 #define G_TYPE_FILE_OUTPUT_STREAM g_file_output_stream_get_type() 2985 #define G_FILE_OUTPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_FILE_OUTPUT_STREAM, GFileOutputStream) 2986 #define G_FILE_OUTPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_FILE_OUTPUT_STREAM, GFileOutputStreamClass) 2987 #define G_IS_FILE_OUTPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_FILE_OUTPUT_STREAM) 2988 #define G_IS_FILE_OUTPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_FILE_OUTPUT_STREAM) 2989 #define G_FILE_OUTPUT_STREAM_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_FILE_OUTPUT_STREAM, GFileOutputStreamClass) 2990 type GFileOutputStreamClass as _GFileOutputStreamClass 2991 type GFileOutputStreamPrivate as _GFileOutputStreamPrivate 2992 2993 type _GFileOutputStream 2994 parent_instance as GOutputStream 2995 priv as GFileOutputStreamPrivate ptr 2996 end type 2997 2998 type _GFileOutputStreamClass 2999 parent_class as GOutputStreamClass 3000 tell as function(byval stream as GFileOutputStream ptr) as goffset 3001 can_seek as function(byval stream as GFileOutputStream ptr) as gboolean 3002 seek as function(byval stream as GFileOutputStream ptr, byval offset as goffset, byval type as GSeekType, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 3003 can_truncate as function(byval stream as GFileOutputStream ptr) as gboolean 3004 truncate_fn as function(byval stream as GFileOutputStream ptr, byval size as goffset, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gboolean 3005 query_info as function(byval stream as GFileOutputStream ptr, byval attributes as const zstring ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileInfo ptr 3006 query_info_async as sub(byval stream as GFileOutputStream ptr, byval attributes as const zstring ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 3007 query_info_finish as function(byval stream as GFileOutputStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as GFileInfo ptr 3008 get_etag as function(byval stream as GFileOutputStream ptr) as zstring ptr 3009 _g_reserved1 as sub() 3010 _g_reserved2 as sub() 3011 _g_reserved3 as sub() 3012 _g_reserved4 as sub() 3013 _g_reserved5 as sub() 3014 end type 3015 3016 declare function g_file_output_stream_get_type() as GType 3017 declare function g_file_output_stream_query_info(byval stream as GFileOutputStream ptr, byval attributes as const zstring ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GFileInfo ptr 3018 declare sub g_file_output_stream_query_info_async(byval stream as GFileOutputStream ptr, byval attributes as const zstring ptr, byval io_priority as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 3019 declare function g_file_output_stream_query_info_finish(byval stream as GFileOutputStream ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as GFileInfo ptr 3020 declare function g_file_output_stream_get_etag(byval stream as GFileOutputStream ptr) as zstring ptr 3021 3022 #define __G_INET_ADDRESS_H__ 3023 #define G_TYPE_INET_ADDRESS g_inet_address_get_type() 3024 #define G_INET_ADDRESS(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_INET_ADDRESS, GInetAddress) 3025 #define G_INET_ADDRESS_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_INET_ADDRESS, GInetAddressClass) 3026 #define G_IS_INET_ADDRESS(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_INET_ADDRESS) 3027 #define G_IS_INET_ADDRESS_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_INET_ADDRESS) 3028 #define G_INET_ADDRESS_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_INET_ADDRESS, GInetAddressClass) 3029 type GInetAddressClass as _GInetAddressClass 3030 type GInetAddressPrivate as _GInetAddressPrivate 3031 3032 type _GInetAddress 3033 parent_instance as GObject 3034 priv as GInetAddressPrivate ptr 3035 end type 3036 3037 type _GInetAddressClass 3038 parent_class as GObjectClass 3039 to_string as function(byval address as GInetAddress ptr) as gchar ptr 3040 to_bytes as function(byval address as GInetAddress ptr) as const guint8 ptr 3041 end type 3042 3043 declare function g_inet_address_get_type() as GType 3044 declare function g_inet_address_new_from_string(byval string as const gchar ptr) as GInetAddress ptr 3045 declare function g_inet_address_new_from_bytes(byval bytes as const guint8 ptr, byval family as GSocketFamily) as GInetAddress ptr 3046 declare function g_inet_address_new_loopback(byval family as GSocketFamily) as GInetAddress ptr 3047 declare function g_inet_address_new_any(byval family as GSocketFamily) as GInetAddress ptr 3048 declare function g_inet_address_equal(byval address as GInetAddress ptr, byval other_address as GInetAddress ptr) as gboolean 3049 declare function g_inet_address_to_string(byval address as GInetAddress ptr) as gchar ptr 3050 declare function g_inet_address_to_bytes(byval address as GInetAddress ptr) as const guint8 ptr 3051 declare function g_inet_address_get_native_size(byval address as GInetAddress ptr) as gsize 3052 declare function g_inet_address_get_family(byval address as GInetAddress ptr) as GSocketFamily 3053 declare function g_inet_address_get_is_any(byval address as GInetAddress ptr) as gboolean 3054 declare function g_inet_address_get_is_loopback(byval address as GInetAddress ptr) as gboolean 3055 declare function g_inet_address_get_is_link_local(byval address as GInetAddress ptr) as gboolean 3056 declare function g_inet_address_get_is_site_local(byval address as GInetAddress ptr) as gboolean 3057 declare function g_inet_address_get_is_multicast(byval address as GInetAddress ptr) as gboolean 3058 declare function g_inet_address_get_is_mc_global(byval address as GInetAddress ptr) as gboolean 3059 declare function g_inet_address_get_is_mc_link_local(byval address as GInetAddress ptr) as gboolean 3060 declare function g_inet_address_get_is_mc_node_local(byval address as GInetAddress ptr) as gboolean 3061 declare function g_inet_address_get_is_mc_org_local(byval address as GInetAddress ptr) as gboolean 3062 declare function g_inet_address_get_is_mc_site_local(byval address as GInetAddress ptr) as gboolean 3063 3064 #define __G_INET_ADDRESS_MASK_H__ 3065 #define G_TYPE_INET_ADDRESS_MASK g_inet_address_mask_get_type() 3066 #define G_INET_ADDRESS_MASK(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_INET_ADDRESS_MASK, GInetAddressMask) 3067 #define G_INET_ADDRESS_MASK_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_INET_ADDRESS_MASK, GInetAddressMaskClass) 3068 #define G_IS_INET_ADDRESS_MASK(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_INET_ADDRESS_MASK) 3069 #define G_IS_INET_ADDRESS_MASK_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_INET_ADDRESS_MASK) 3070 #define G_INET_ADDRESS_MASK_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_INET_ADDRESS_MASK, GInetAddressMaskClass) 3071 type GInetAddressMaskClass as _GInetAddressMaskClass 3072 type GInetAddressMaskPrivate as _GInetAddressMaskPrivate 3073 3074 type _GInetAddressMask 3075 parent_instance as GObject 3076 priv as GInetAddressMaskPrivate ptr 3077 end type 3078 3079 type _GInetAddressMaskClass 3080 parent_class as GObjectClass 3081 end type 3082 3083 declare function g_inet_address_mask_get_type() as GType 3084 declare function g_inet_address_mask_new(byval addr as GInetAddress ptr, byval length as guint, byval error as GError ptr ptr) as GInetAddressMask ptr 3085 declare function g_inet_address_mask_new_from_string(byval mask_string as const gchar ptr, byval error as GError ptr ptr) as GInetAddressMask ptr 3086 declare function g_inet_address_mask_to_string(byval mask as GInetAddressMask ptr) as gchar ptr 3087 declare function g_inet_address_mask_get_family(byval mask as GInetAddressMask ptr) as GSocketFamily 3088 declare function g_inet_address_mask_get_address(byval mask as GInetAddressMask ptr) as GInetAddress ptr 3089 declare function g_inet_address_mask_get_length(byval mask as GInetAddressMask ptr) as guint 3090 declare function g_inet_address_mask_matches(byval mask as GInetAddressMask ptr, byval address as GInetAddress ptr) as gboolean 3091 declare function g_inet_address_mask_equal(byval mask as GInetAddressMask ptr, byval mask2 as GInetAddressMask ptr) as gboolean 3092 3093 #define __G_INET_SOCKET_ADDRESS_H__ 3094 #define __G_SOCKET_ADDRESS_H__ 3095 #define G_TYPE_SOCKET_ADDRESS g_socket_address_get_type() 3096 #define G_SOCKET_ADDRESS(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_SOCKET_ADDRESS, GSocketAddress) 3097 #define G_SOCKET_ADDRESS_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_SOCKET_ADDRESS, GSocketAddressClass) 3098 #define G_IS_SOCKET_ADDRESS(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_SOCKET_ADDRESS) 3099 #define G_IS_SOCKET_ADDRESS_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_SOCKET_ADDRESS) 3100 #define G_SOCKET_ADDRESS_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_SOCKET_ADDRESS, GSocketAddressClass) 3101 type GSocketAddressClass as _GSocketAddressClass 3102 3103 type _GSocketAddress 3104 parent_instance as GObject 3105 end type 3106 3107 type _GSocketAddressClass 3108 parent_class as GObjectClass 3109 get_family as function(byval address as GSocketAddress ptr) as GSocketFamily 3110 get_native_size as function(byval address as GSocketAddress ptr) as gssize 3111 to_native as function(byval address as GSocketAddress ptr, byval dest as gpointer, byval destlen as gsize, byval error as GError ptr ptr) as gboolean 3112 end type 3113 3114 declare function g_socket_address_get_type() as GType 3115 declare function g_socket_address_get_family(byval address as GSocketAddress ptr) as GSocketFamily 3116 declare function g_socket_address_new_from_native(byval native as gpointer, byval len as gsize) as GSocketAddress ptr 3117 declare function g_socket_address_to_native(byval address as GSocketAddress ptr, byval dest as gpointer, byval destlen as gsize, byval error as GError ptr ptr) as gboolean 3118 declare function g_socket_address_get_native_size(byval address as GSocketAddress ptr) as gssize 3119 3120 #define G_TYPE_INET_SOCKET_ADDRESS g_inet_socket_address_get_type() 3121 #define G_INET_SOCKET_ADDRESS(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_INET_SOCKET_ADDRESS, GInetSocketAddress) 3122 #define G_INET_SOCKET_ADDRESS_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_INET_SOCKET_ADDRESS, GInetSocketAddressClass) 3123 #define G_IS_INET_SOCKET_ADDRESS(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_INET_SOCKET_ADDRESS) 3124 #define G_IS_INET_SOCKET_ADDRESS_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_INET_SOCKET_ADDRESS) 3125 #define G_INET_SOCKET_ADDRESS_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_INET_SOCKET_ADDRESS, GInetSocketAddressClass) 3126 type GInetSocketAddressClass as _GInetSocketAddressClass 3127 type GInetSocketAddressPrivate as _GInetSocketAddressPrivate 3128 3129 type _GInetSocketAddress 3130 parent_instance as GSocketAddress 3131 priv as GInetSocketAddressPrivate ptr 3132 end type 3133 3134 type _GInetSocketAddressClass 3135 parent_class as GSocketAddressClass 3136 end type 3137 3138 declare function g_inet_socket_address_get_type() as GType 3139 declare function g_inet_socket_address_new(byval address as GInetAddress ptr, byval port as guint16) as GSocketAddress ptr 3140 declare function g_inet_socket_address_new_from_string(byval address as const zstring ptr, byval port as guint) as GSocketAddress ptr 3141 declare function g_inet_socket_address_get_address(byval address as GInetSocketAddress ptr) as GInetAddress ptr 3142 declare function g_inet_socket_address_get_port(byval address as GInetSocketAddress ptr) as guint16 3143 declare function g_inet_socket_address_get_flowinfo(byval address as GInetSocketAddress ptr) as guint32 3144 declare function g_inet_socket_address_get_scope_id(byval address as GInetSocketAddress ptr) as guint32 3145 #define __GIO_ENUM_TYPES_H__ 3146 declare function g_app_info_create_flags_get_type() as GType 3147 #define G_TYPE_APP_INFO_CREATE_FLAGS g_app_info_create_flags_get_type() 3148 declare function g_converter_flags_get_type() as GType 3149 #define G_TYPE_CONVERTER_FLAGS g_converter_flags_get_type() 3150 declare function g_converter_result_get_type() as GType 3151 #define G_TYPE_CONVERTER_RESULT g_converter_result_get_type() 3152 declare function g_data_stream_byte_order_get_type() as GType 3153 #define G_TYPE_DATA_STREAM_BYTE_ORDER g_data_stream_byte_order_get_type() 3154 declare function g_data_stream_newline_type_get_type() as GType 3155 #define G_TYPE_DATA_STREAM_NEWLINE_TYPE g_data_stream_newline_type_get_type() 3156 declare function g_file_attribute_type_get_type() as GType 3157 #define G_TYPE_FILE_ATTRIBUTE_TYPE g_file_attribute_type_get_type() 3158 declare function g_file_attribute_info_flags_get_type() as GType 3159 #define G_TYPE_FILE_ATTRIBUTE_INFO_FLAGS g_file_attribute_info_flags_get_type() 3160 declare function g_file_attribute_status_get_type() as GType 3161 #define G_TYPE_FILE_ATTRIBUTE_STATUS g_file_attribute_status_get_type() 3162 declare function g_file_query_info_flags_get_type() as GType 3163 #define G_TYPE_FILE_QUERY_INFO_FLAGS g_file_query_info_flags_get_type() 3164 declare function g_file_create_flags_get_type() as GType 3165 #define G_TYPE_FILE_CREATE_FLAGS g_file_create_flags_get_type() 3166 declare function g_file_measure_flags_get_type() as GType 3167 #define G_TYPE_FILE_MEASURE_FLAGS g_file_measure_flags_get_type() 3168 declare function g_mount_mount_flags_get_type() as GType 3169 #define G_TYPE_MOUNT_MOUNT_FLAGS g_mount_mount_flags_get_type() 3170 declare function g_mount_unmount_flags_get_type() as GType 3171 #define G_TYPE_MOUNT_UNMOUNT_FLAGS g_mount_unmount_flags_get_type() 3172 declare function g_drive_start_flags_get_type() as GType 3173 #define G_TYPE_DRIVE_START_FLAGS g_drive_start_flags_get_type() 3174 declare function g_drive_start_stop_type_get_type() as GType 3175 #define G_TYPE_DRIVE_START_STOP_TYPE g_drive_start_stop_type_get_type() 3176 declare function g_file_copy_flags_get_type() as GType 3177 #define G_TYPE_FILE_COPY_FLAGS g_file_copy_flags_get_type() 3178 declare function g_file_monitor_flags_get_type() as GType 3179 #define G_TYPE_FILE_MONITOR_FLAGS g_file_monitor_flags_get_type() 3180 declare function g_file_type_get_type() as GType 3181 #define G_TYPE_FILE_TYPE g_file_type_get_type() 3182 declare function g_filesystem_preview_type_get_type() as GType 3183 #define G_TYPE_FILESYSTEM_PREVIEW_TYPE g_filesystem_preview_type_get_type() 3184 declare function g_file_monitor_event_get_type() as GType 3185 #define G_TYPE_FILE_MONITOR_EVENT g_file_monitor_event_get_type() 3186 declare function g_io_error_enum_get_type() as GType 3187 #define G_TYPE_IO_ERROR_ENUM g_io_error_enum_get_type() 3188 declare function g_ask_password_flags_get_type() as GType 3189 #define G_TYPE_ASK_PASSWORD_FLAGS g_ask_password_flags_get_type() 3190 declare function g_password_save_get_type() as GType 3191 #define G_TYPE_PASSWORD_SAVE g_password_save_get_type() 3192 declare function g_mount_operation_result_get_type() as GType 3193 #define G_TYPE_MOUNT_OPERATION_RESULT g_mount_operation_result_get_type() 3194 declare function g_output_stream_splice_flags_get_type() as GType 3195 #define G_TYPE_OUTPUT_STREAM_SPLICE_FLAGS g_output_stream_splice_flags_get_type() 3196 declare function g_io_stream_splice_flags_get_type() as GType 3197 #define G_TYPE_IO_STREAM_SPLICE_FLAGS g_io_stream_splice_flags_get_type() 3198 declare function g_emblem_origin_get_type() as GType 3199 #define G_TYPE_EMBLEM_ORIGIN g_emblem_origin_get_type() 3200 declare function g_resolver_error_get_type() as GType 3201 #define G_TYPE_RESOLVER_ERROR g_resolver_error_get_type() 3202 declare function g_resolver_record_type_get_type() as GType 3203 #define G_TYPE_RESOLVER_RECORD_TYPE g_resolver_record_type_get_type() 3204 declare function g_resource_error_get_type() as GType 3205 #define G_TYPE_RESOURCE_ERROR g_resource_error_get_type() 3206 declare function g_resource_flags_get_type() as GType 3207 #define G_TYPE_RESOURCE_FLAGS g_resource_flags_get_type() 3208 declare function g_resource_lookup_flags_get_type() as GType 3209 #define G_TYPE_RESOURCE_LOOKUP_FLAGS g_resource_lookup_flags_get_type() 3210 declare function g_socket_family_get_type() as GType 3211 #define G_TYPE_SOCKET_FAMILY g_socket_family_get_type() 3212 declare function g_socket_type_get_type() as GType 3213 #define G_TYPE_SOCKET_TYPE g_socket_type_get_type() 3214 declare function g_socket_msg_flags_get_type() as GType 3215 #define G_TYPE_SOCKET_MSG_FLAGS g_socket_msg_flags_get_type() 3216 declare function g_socket_protocol_get_type() as GType 3217 #define G_TYPE_SOCKET_PROTOCOL g_socket_protocol_get_type() 3218 declare function g_zlib_compressor_format_get_type() as GType 3219 #define G_TYPE_ZLIB_COMPRESSOR_FORMAT g_zlib_compressor_format_get_type() 3220 declare function g_unix_socket_address_type_get_type() as GType 3221 #define G_TYPE_UNIX_SOCKET_ADDRESS_TYPE g_unix_socket_address_type_get_type() 3222 declare function g_bus_type_get_type() as GType 3223 #define G_TYPE_BUS_TYPE g_bus_type_get_type() 3224 declare function g_bus_name_owner_flags_get_type() as GType 3225 #define G_TYPE_BUS_NAME_OWNER_FLAGS g_bus_name_owner_flags_get_type() 3226 declare function g_bus_name_watcher_flags_get_type() as GType 3227 #define G_TYPE_BUS_NAME_WATCHER_FLAGS g_bus_name_watcher_flags_get_type() 3228 declare function g_dbus_proxy_flags_get_type() as GType 3229 #define G_TYPE_DBUS_PROXY_FLAGS g_dbus_proxy_flags_get_type() 3230 declare function g_dbus_error_get_type() as GType 3231 #define G_TYPE_DBUS_ERROR g_dbus_error_get_type() 3232 declare function g_dbus_connection_flags_get_type() as GType 3233 #define G_TYPE_DBUS_CONNECTION_FLAGS g_dbus_connection_flags_get_type() 3234 declare function g_dbus_capability_flags_get_type() as GType 3235 #define G_TYPE_DBUS_CAPABILITY_FLAGS g_dbus_capability_flags_get_type() 3236 declare function g_dbus_call_flags_get_type() as GType 3237 #define G_TYPE_DBUS_CALL_FLAGS g_dbus_call_flags_get_type() 3238 declare function g_dbus_message_type_get_type() as GType 3239 #define G_TYPE_DBUS_MESSAGE_TYPE g_dbus_message_type_get_type() 3240 declare function g_dbus_message_flags_get_type() as GType 3241 #define G_TYPE_DBUS_MESSAGE_FLAGS g_dbus_message_flags_get_type() 3242 declare function g_dbus_message_header_field_get_type() as GType 3243 #define G_TYPE_DBUS_MESSAGE_HEADER_FIELD g_dbus_message_header_field_get_type() 3244 declare function g_dbus_property_info_flags_get_type() as GType 3245 #define G_TYPE_DBUS_PROPERTY_INFO_FLAGS g_dbus_property_info_flags_get_type() 3246 declare function g_dbus_subtree_flags_get_type() as GType 3247 #define G_TYPE_DBUS_SUBTREE_FLAGS g_dbus_subtree_flags_get_type() 3248 declare function g_dbus_server_flags_get_type() as GType 3249 #define G_TYPE_DBUS_SERVER_FLAGS g_dbus_server_flags_get_type() 3250 declare function g_dbus_signal_flags_get_type() as GType 3251 #define G_TYPE_DBUS_SIGNAL_FLAGS g_dbus_signal_flags_get_type() 3252 declare function g_dbus_send_message_flags_get_type() as GType 3253 #define G_TYPE_DBUS_SEND_MESSAGE_FLAGS g_dbus_send_message_flags_get_type() 3254 declare function g_credentials_type_get_type() as GType 3255 #define G_TYPE_CREDENTIALS_TYPE g_credentials_type_get_type() 3256 declare function g_dbus_message_byte_order_get_type() as GType 3257 #define G_TYPE_DBUS_MESSAGE_BYTE_ORDER g_dbus_message_byte_order_get_type() 3258 declare function g_application_flags_get_type() as GType 3259 #define G_TYPE_APPLICATION_FLAGS g_application_flags_get_type() 3260 declare function g_tls_error_get_type() as GType 3261 #define G_TYPE_TLS_ERROR g_tls_error_get_type() 3262 declare function g_tls_certificate_flags_get_type() as GType 3263 #define G_TYPE_TLS_CERTIFICATE_FLAGS g_tls_certificate_flags_get_type() 3264 declare function g_tls_authentication_mode_get_type() as GType 3265 #define G_TYPE_TLS_AUTHENTICATION_MODE g_tls_authentication_mode_get_type() 3266 declare function g_tls_rehandshake_mode_get_type() as GType 3267 #define G_TYPE_TLS_REHANDSHAKE_MODE g_tls_rehandshake_mode_get_type() 3268 declare function g_tls_password_flags_get_type() as GType 3269 #define G_TYPE_TLS_PASSWORD_FLAGS g_tls_password_flags_get_type() 3270 declare function g_tls_interaction_result_get_type() as GType 3271 #define G_TYPE_TLS_INTERACTION_RESULT g_tls_interaction_result_get_type() 3272 declare function g_dbus_interface_skeleton_flags_get_type() as GType 3273 #define G_TYPE_DBUS_INTERFACE_SKELETON_FLAGS g_dbus_interface_skeleton_flags_get_type() 3274 declare function g_dbus_object_manager_client_flags_get_type() as GType 3275 #define G_TYPE_DBUS_OBJECT_MANAGER_CLIENT_FLAGS g_dbus_object_manager_client_flags_get_type() 3276 declare function g_tls_database_verify_flags_get_type() as GType 3277 #define G_TYPE_TLS_DATABASE_VERIFY_FLAGS g_tls_database_verify_flags_get_type() 3278 declare function g_tls_database_lookup_flags_get_type() as GType 3279 #define G_TYPE_TLS_DATABASE_LOOKUP_FLAGS g_tls_database_lookup_flags_get_type() 3280 declare function g_tls_certificate_request_flags_get_type() as GType 3281 #define G_TYPE_TLS_CERTIFICATE_REQUEST_FLAGS g_tls_certificate_request_flags_get_type() 3282 declare function g_io_module_scope_flags_get_type() as GType 3283 #define G_TYPE_IO_MODULE_SCOPE_FLAGS g_io_module_scope_flags_get_type() 3284 declare function g_socket_client_event_get_type() as GType 3285 #define G_TYPE_SOCKET_CLIENT_EVENT g_socket_client_event_get_type() 3286 declare function g_test_dbus_flags_get_type() as GType 3287 #define G_TYPE_TEST_DBUS_FLAGS g_test_dbus_flags_get_type() 3288 declare function g_subprocess_flags_get_type() as GType 3289 #define G_TYPE_SUBPROCESS_FLAGS g_subprocess_flags_get_type() 3290 declare function g_notification_priority_get_type() as GType 3291 #define G_TYPE_NOTIFICATION_PRIORITY g_notification_priority_get_type() 3292 declare function g_network_connectivity_get_type() as GType 3293 #define G_TYPE_NETWORK_CONNECTIVITY g_network_connectivity_get_type() 3294 declare function g_settings_bind_flags_get_type() as GType 3295 #define G_TYPE_SETTINGS_BIND_FLAGS g_settings_bind_flags_get_type() 3296 #define __G_IO_MODULE_H__ 3297 type GIOModuleScope as _GIOModuleScope 3298 declare function g_io_module_scope_new(byval flags as GIOModuleScopeFlags) as GIOModuleScope ptr 3299 declare sub g_io_module_scope_free(byval scope as GIOModuleScope ptr) 3300 declare sub g_io_module_scope_block(byval scope as GIOModuleScope ptr, byval basename as const gchar ptr) 3301 3302 #define G_IO_TYPE_MODULE g_io_module_get_type() 3303 #define G_IO_MODULE(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_IO_TYPE_MODULE, GIOModule) 3304 #define G_IO_MODULE_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_IO_TYPE_MODULE, GIOModuleClass) 3305 #define G_IO_IS_MODULE(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_IO_TYPE_MODULE) 3306 #define G_IO_IS_MODULE_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_IO_TYPE_MODULE) 3307 #define G_IO_MODULE_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_IO_TYPE_MODULE, GIOModuleClass) 3308 type GIOModuleClass as _GIOModuleClass 3309 3310 declare function g_io_module_get_type() as GType 3311 declare function g_io_module_new(byval filename as const gchar ptr) as GIOModule ptr 3312 declare sub g_io_modules_scan_all_in_directory(byval dirname as const zstring ptr) 3313 declare function g_io_modules_load_all_in_directory(byval dirname as const gchar ptr) as GList ptr 3314 declare sub g_io_modules_scan_all_in_directory_with_scope(byval dirname as const gchar ptr, byval scope as GIOModuleScope ptr) 3315 declare function g_io_modules_load_all_in_directory_with_scope(byval dirname as const gchar ptr, byval scope as GIOModuleScope ptr) as GList ptr 3316 declare function g_io_extension_point_register(byval name as const zstring ptr) as GIOExtensionPoint ptr 3317 declare function g_io_extension_point_lookup(byval name as const zstring ptr) as GIOExtensionPoint ptr 3318 declare sub g_io_extension_point_set_required_type(byval extension_point as GIOExtensionPoint ptr, byval type as GType) 3319 declare function g_io_extension_point_get_required_type(byval extension_point as GIOExtensionPoint ptr) as GType 3320 declare function g_io_extension_point_get_extensions(byval extension_point as GIOExtensionPoint ptr) as GList ptr 3321 declare function g_io_extension_point_get_extension_by_name(byval extension_point as GIOExtensionPoint ptr, byval name as const zstring ptr) as GIOExtension ptr 3322 declare function g_io_extension_point_implement(byval extension_point_name as const zstring ptr, byval type as GType, byval extension_name as const zstring ptr, byval priority as gint) as GIOExtension ptr 3323 declare function g_io_extension_get_type(byval extension as GIOExtension ptr) as GType 3324 declare function g_io_extension_get_name(byval extension as GIOExtension ptr) as const zstring ptr 3325 declare function g_io_extension_get_priority(byval extension as GIOExtension ptr) as gint 3326 declare function g_io_extension_ref_class(byval extension as GIOExtension ptr) as GTypeClass ptr 3327 declare sub g_io_module_load(byval module as GIOModule ptr) 3328 declare sub g_io_module_unload(byval module as GIOModule ptr) 3329 declare function g_io_module_query() as zstring ptr ptr 3330 #define __G_IO_SCHEDULER_H__ 3331 declare sub g_io_scheduler_push_job(byval job_func as GIOSchedulerJobFunc, byval user_data as gpointer, byval notify as GDestroyNotify, byval io_priority as gint, byval cancellable as GCancellable ptr) 3332 declare sub g_io_scheduler_cancel_all_jobs() 3333 declare function g_io_scheduler_job_send_to_mainloop(byval job as GIOSchedulerJob ptr, byval func as GSourceFunc, byval user_data as gpointer, byval notify as GDestroyNotify) as gboolean 3334 declare sub g_io_scheduler_job_send_to_mainloop_async(byval job as GIOSchedulerJob ptr, byval func as GSourceFunc, byval user_data as gpointer, byval notify as GDestroyNotify) 3335 3336 #define __G_LOADABLE_ICON_H__ 3337 #define G_TYPE_LOADABLE_ICON g_loadable_icon_get_type() 3338 #define G_LOADABLE_ICON(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), G_TYPE_LOADABLE_ICON, GLoadableIcon) 3339 #define G_IS_LOADABLE_ICON(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), G_TYPE_LOADABLE_ICON) 3340 #define G_LOADABLE_ICON_GET_IFACE(obj) G_TYPE_INSTANCE_GET_INTERFACE((obj), G_TYPE_LOADABLE_ICON, GLoadableIconIface) 3341 type GLoadableIconIface as _GLoadableIconIface 3342 3343 type _GLoadableIconIface 3344 g_iface as GTypeInterface 3345 load as function(byval icon as GLoadableIcon ptr, byval size as long, byval type as zstring ptr ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GInputStream ptr 3346 load_async as sub(byval icon as GLoadableIcon ptr, byval size as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 3347 load_finish as function(byval icon as GLoadableIcon ptr, byval res as GAsyncResult ptr, byval type as zstring ptr ptr, byval error as GError ptr ptr) as GInputStream ptr 3348 end type 3349 3350 declare function g_loadable_icon_get_type() as GType 3351 declare function g_loadable_icon_load(byval icon as GLoadableIcon ptr, byval size as long, byval type as zstring ptr ptr, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as GInputStream ptr 3352 declare sub g_loadable_icon_load_async(byval icon as GLoadableIcon ptr, byval size as long, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 3353 declare function g_loadable_icon_load_finish(byval icon as GLoadableIcon ptr, byval res as GAsyncResult ptr, byval type as zstring ptr ptr, byval error as GError ptr ptr) as GInputStream ptr 3354 3355 #define __G_MEMORY_INPUT_STREAM_H__ 3356 #define G_TYPE_MEMORY_INPUT_STREAM g_memory_input_stream_get_type() 3357 #define G_MEMORY_INPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_MEMORY_INPUT_STREAM, GMemoryInputStream) 3358 #define G_MEMORY_INPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_MEMORY_INPUT_STREAM, GMemoryInputStreamClass) 3359 #define G_IS_MEMORY_INPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_MEMORY_INPUT_STREAM) 3360 #define G_IS_MEMORY_INPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_MEMORY_INPUT_STREAM) 3361 #define G_MEMORY_INPUT_STREAM_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_MEMORY_INPUT_STREAM, GMemoryInputStreamClass) 3362 type GMemoryInputStreamClass as _GMemoryInputStreamClass 3363 type GMemoryInputStreamPrivate as _GMemoryInputStreamPrivate 3364 3365 type _GMemoryInputStream 3366 parent_instance as GInputStream 3367 priv as GMemoryInputStreamPrivate ptr 3368 end type 3369 3370 type _GMemoryInputStreamClass 3371 parent_class as GInputStreamClass 3372 _g_reserved1 as sub() 3373 _g_reserved2 as sub() 3374 _g_reserved3 as sub() 3375 _g_reserved4 as sub() 3376 _g_reserved5 as sub() 3377 end type 3378 3379 declare function g_memory_input_stream_get_type() as GType 3380 declare function g_memory_input_stream_new() as GInputStream ptr 3381 declare function g_memory_input_stream_new_from_data(byval data as const any ptr, byval len as gssize, byval destroy as GDestroyNotify) as GInputStream ptr 3382 declare function g_memory_input_stream_new_from_bytes(byval bytes as GBytes ptr) as GInputStream ptr 3383 declare sub g_memory_input_stream_add_data(byval stream as GMemoryInputStream ptr, byval data as const any ptr, byval len as gssize, byval destroy as GDestroyNotify) 3384 declare sub g_memory_input_stream_add_bytes(byval stream as GMemoryInputStream ptr, byval bytes as GBytes ptr) 3385 3386 #define __G_MEMORY_OUTPUT_STREAM_H__ 3387 #define G_TYPE_MEMORY_OUTPUT_STREAM g_memory_output_stream_get_type() 3388 #define G_MEMORY_OUTPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_MEMORY_OUTPUT_STREAM, GMemoryOutputStream) 3389 #define G_MEMORY_OUTPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_MEMORY_OUTPUT_STREAM, GMemoryOutputStreamClass) 3390 #define G_IS_MEMORY_OUTPUT_STREAM(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_MEMORY_OUTPUT_STREAM) 3391 #define G_IS_MEMORY_OUTPUT_STREAM_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_MEMORY_OUTPUT_STREAM) 3392 #define G_MEMORY_OUTPUT_STREAM_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_MEMORY_OUTPUT_STREAM, GMemoryOutputStreamClass) 3393 type GMemoryOutputStreamClass as _GMemoryOutputStreamClass 3394 type GMemoryOutputStreamPrivate as _GMemoryOutputStreamPrivate 3395 3396 type _GMemoryOutputStream 3397 parent_instance as GOutputStream 3398 priv as GMemoryOutputStreamPrivate ptr 3399 end type 3400 3401 type _GMemoryOutputStreamClass 3402 parent_class as GOutputStreamClass 3403 _g_reserved1 as sub() 3404 _g_reserved2 as sub() 3405 _g_reserved3 as sub() 3406 _g_reserved4 as sub() 3407 _g_reserved5 as sub() 3408 end type 3409 3410 type GReallocFunc as function(byval data as gpointer, byval size as gsize) as gpointer 3411 declare function g_memory_output_stream_get_type() as GType 3412 declare function g_memory_output_stream_new(byval data as gpointer, byval size as gsize, byval realloc_function as GReallocFunc, byval destroy_function as GDestroyNotify) as GOutputStream ptr 3413 declare function g_memory_output_stream_new_resizable() as GOutputStream ptr 3414 declare function g_memory_output_stream_get_data(byval ostream as GMemoryOutputStream ptr) as gpointer 3415 declare function g_memory_output_stream_get_size(byval ostream as GMemoryOutputStream ptr) as gsize 3416 declare function g_memory_output_stream_get_data_size(byval ostream as GMemoryOutputStream ptr) as gsize 3417 declare function g_memory_output_stream_steal_data(byval ostream as GMemoryOutputStream ptr) as gpointer 3418 declare function g_memory_output_stream_steal_as_bytes(byval ostream as GMemoryOutputStream ptr) as GBytes ptr 3419 3420 #define __G_MOUNT_H__ 3421 #define G_TYPE_MOUNT g_mount_get_type() 3422 #define G_MOUNT(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), G_TYPE_MOUNT, GMount) 3423 #define G_IS_MOUNT(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), G_TYPE_MOUNT) 3424 #define G_MOUNT_GET_IFACE(obj) G_TYPE_INSTANCE_GET_INTERFACE((obj), G_TYPE_MOUNT, GMountIface) 3425 type GMountIface as _GMountIface 3426 3427 type _GMountIface 3428 g_iface as GTypeInterface 3429 changed as sub(byval mount as GMount ptr) 3430 unmounted as sub(byval mount as GMount ptr) 3431 get_root as function(byval mount as GMount ptr) as GFile ptr 3432 get_name as function(byval mount as GMount ptr) as zstring ptr 3433 get_icon as function(byval mount as GMount ptr) as GIcon ptr 3434 get_uuid as function(byval mount as GMount ptr) as zstring ptr 3435 get_volume as function(byval mount as GMount ptr) as GVolume ptr 3436 get_drive as function(byval mount as GMount ptr) as GDrive ptr 3437 can_unmount as function(byval mount as GMount ptr) as gboolean 3438 can_eject as function(byval mount as GMount ptr) as gboolean 3439 unmount as sub(byval mount as GMount ptr, byval flags as GMountUnmountFlags, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 3440 unmount_finish as function(byval mount as GMount ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 3441 eject as sub(byval mount as GMount ptr, byval flags as GMountUnmountFlags, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 3442 eject_finish as function(byval mount as GMount ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 3443 remount as sub(byval mount as GMount ptr, byval flags as GMountMountFlags, byval mount_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 3444 remount_finish as function(byval mount as GMount ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 3445 guess_content_type as sub(byval mount as GMount ptr, byval force_rescan as gboolean, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 3446 guess_content_type_finish as function(byval mount as GMount ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gchar ptr ptr 3447 guess_content_type_sync as function(byval mount as GMount ptr, byval force_rescan as gboolean, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gchar ptr ptr 3448 pre_unmount as sub(byval mount as GMount ptr) 3449 unmount_with_operation as sub(byval mount as GMount ptr, byval flags as GMountUnmountFlags, byval mount_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 3450 unmount_with_operation_finish as function(byval mount as GMount ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 3451 eject_with_operation as sub(byval mount as GMount ptr, byval flags as GMountUnmountFlags, byval mount_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 3452 eject_with_operation_finish as function(byval mount as GMount ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 3453 get_default_location as function(byval mount as GMount ptr) as GFile ptr 3454 get_sort_key as function(byval mount as GMount ptr) as const gchar ptr 3455 get_symbolic_icon as function(byval mount as GMount ptr) as GIcon ptr 3456 end type 3457 3458 declare function g_mount_get_type() as GType 3459 declare function g_mount_get_root(byval mount as GMount ptr) as GFile ptr 3460 declare function g_mount_get_default_location(byval mount as GMount ptr) as GFile ptr 3461 declare function g_mount_get_name(byval mount as GMount ptr) as zstring ptr 3462 declare function g_mount_get_icon(byval mount as GMount ptr) as GIcon ptr 3463 declare function g_mount_get_symbolic_icon(byval mount as GMount ptr) as GIcon ptr 3464 declare function g_mount_get_uuid(byval mount as GMount ptr) as zstring ptr 3465 declare function g_mount_get_volume(byval mount as GMount ptr) as GVolume ptr 3466 declare function g_mount_get_drive(byval mount as GMount ptr) as GDrive ptr 3467 declare function g_mount_can_unmount(byval mount as GMount ptr) as gboolean 3468 declare function g_mount_can_eject(byval mount as GMount ptr) as gboolean 3469 declare sub g_mount_unmount(byval mount as GMount ptr, byval flags as GMountUnmountFlags, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 3470 declare function g_mount_unmount_finish(byval mount as GMount ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 3471 declare sub g_mount_eject(byval mount as GMount ptr, byval flags as GMountUnmountFlags, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 3472 declare function g_mount_eject_finish(byval mount as GMount ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 3473 declare sub g_mount_remount(byval mount as GMount ptr, byval flags as GMountMountFlags, byval mount_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 3474 declare function g_mount_remount_finish(byval mount as GMount ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 3475 declare sub g_mount_guess_content_type(byval mount as GMount ptr, byval force_rescan as gboolean, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 3476 declare function g_mount_guess_content_type_finish(byval mount as GMount ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gchar ptr ptr 3477 declare function g_mount_guess_content_type_sync(byval mount as GMount ptr, byval force_rescan as gboolean, byval cancellable as GCancellable ptr, byval error as GError ptr ptr) as gchar ptr ptr 3478 declare function g_mount_is_shadowed(byval mount as GMount ptr) as gboolean 3479 declare sub g_mount_shadow(byval mount as GMount ptr) 3480 declare sub g_mount_unshadow(byval mount as GMount ptr) 3481 declare sub g_mount_unmount_with_operation(byval mount as GMount ptr, byval flags as GMountUnmountFlags, byval mount_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 3482 declare function g_mount_unmount_with_operation_finish(byval mount as GMount ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 3483 declare sub g_mount_eject_with_operation(byval mount as GMount ptr, byval flags as GMountUnmountFlags, byval mount_operation as GMountOperation ptr, byval cancellable as GCancellable ptr, byval callback as GAsyncReadyCallback, byval user_data as gpointer) 3484 declare function g_mount_eject_with_operation_finish(byval mount as GMount ptr, byval result as GAsyncResult ptr, byval error as GError ptr ptr) as gboolean 3485 declare function g_mount_get_sort_key(byval mount as GMount ptr) as const gchar ptr 3486 3487 #define __G_MOUNT_OPERATION_H__ 3488 #define G_TYPE_MOUNT_OPERATION g_mount_operation_get_type() 3489 #define G_MOUNT_OPERATION(o) G_TYPE_CHECK_INSTANCE_CAST((o), G_TYPE_MOUNT_OPERATION, GMountOperation) 3490 #define G_MOUNT_OPERATION_CLASS(k) G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_MOUNT_OPERATION, GMountOperationClass) 3491 #define G_IS_MOUNT_OPERATION(o) G_TYPE_CHECK_INSTANCE_TYPE((o), G_TYPE_MOUNT_OPERATION) 3492 #define G_IS_MOUNT_OPERATION_CLASS(k) G_TYPE_CHECK_CLASS_TYPE((k), G_TYPE_MOUNT_OPERATION) 3493 #define G_MOUNT_OPERATION_GET_CLASS(o) G_TYPE_INSTANCE_GET_CLASS((o), G_TYPE_MOUNT_OPERATION, GMountOperationClass) 3494 type GMountOperationClass as _GMountOperationClass 3495 type GMountOperationPrivate as _GMountOperationPrivate 3496 3497 type _GMountOperation 3498 parent_instance as GObject 3499 priv as GMountOperationPrivate ptr 3500 end type 3501 3502 type _GMountOperationClass 3503 parent_class as GObjectClass 3504 ask_password as sub(byval op as GMountOperation ptr, byval message as const zstring ptr, byval default_user as const zstring ptr, byval default_domain as const zstring ptr, byval flags as GAskPasswordFlags) 3505 ask_question as sub(byval op as GMountOperation ptr, byval message as const zstring ptr, byval choices as const zstring ptr ptr) 3506 reply as sub(byval op as GMountOperation ptr, byval result as GMountOperationResult) 3507 aborted as sub(byval op as GMountOperation ptr) 3508 show_processes as sub(byval op as GMountOperation ptr, byval message as const gchar ptr, byval processes as GArray ptr, byval choices as const gchar ptr ptr) 3509 show_unmount_progress as sub(byval op as GMountOperation ptr, byval message as const gchar ptr, byval time_left as gint64, byval bytes_left as gint64) 3510 _g_reserved1 as sub() 3511 _g_reserved2 as sub() 3512 _g_reserved3 as sub() 3513 _g_reserved4 as sub() 3514 _g_reserved5 as sub() 3515 _g_reserved6 as sub() 3516 _g_reserved7 as sub()