1 { This is an autogenerated unit using gobject introspection (gir2pascal). Do not Edit. } 2 unit LazGio2; 3 4 {$MODE OBJFPC}{$H+} 5 6 {$PACKRECORDS C} 7 {$MODESWITCH DUPLICATELOCALS+} 8 9 {$LINKLIB libgio-2.0.so.0} 10 interface 11 uses 12 CTypes, LazGObject2, LazGLib2; 13 14 const 15 Gio2_library = 'libgio-2.0.so.0'; 16 17 G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME = 'gio-desktop-app-info-lookup'; 18 G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE = 'access::can-delete'; 19 G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE = 'access::can-execute'; 20 G_FILE_ATTRIBUTE_ACCESS_CAN_READ = 'access::can-read'; 21 G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME = 'access::can-rename'; 22 G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH = 'access::can-trash'; 23 G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE = 'access::can-write'; 24 G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE = 'dos::is-archive'; 25 G_FILE_ATTRIBUTE_DOS_IS_SYSTEM = 'dos::is-system'; 26 G_FILE_ATTRIBUTE_ETAG_VALUE = 'etag::value'; 27 G_FILE_ATTRIBUTE_FILESYSTEM_FREE = 'filesystem::free'; 28 G_FILE_ATTRIBUTE_FILESYSTEM_READONLY = 'filesystem::readonly'; 29 G_FILE_ATTRIBUTE_FILESYSTEM_SIZE = 'filesystem::size'; 30 G_FILE_ATTRIBUTE_FILESYSTEM_TYPE = 'filesystem::type'; 31 G_FILE_ATTRIBUTE_FILESYSTEM_USED = 'filesystem::used'; 32 G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW = 'filesystem::use-preview'; 33 G_FILE_ATTRIBUTE_GVFS_BACKEND = 'gvfs::backend'; 34 G_FILE_ATTRIBUTE_ID_FILE = 'id::file'; 35 G_FILE_ATTRIBUTE_ID_FILESYSTEM = 'id::filesystem'; 36 G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT = 'mountable::can-eject'; 37 G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT = 'mountable::can-mount'; 38 G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL = 'mountable::can-poll'; 39 G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START = 'mountable::can-start'; 40 G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED = 'mountable::can-start-degraded'; 41 G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP = 'mountable::can-stop'; 42 G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT = 'mountable::can-unmount'; 43 G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI = 'mountable::hal-udi'; 44 G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC = 'mountable::is-media-check-automatic'; 45 G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE = 'mountable::start-stop-type'; 46 G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE = 'mountable::unix-device'; 47 G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE = 'mountable::unix-device-file'; 48 G_FILE_ATTRIBUTE_OWNER_GROUP = 'owner::group'; 49 G_FILE_ATTRIBUTE_OWNER_USER = 'owner::user'; 50 G_FILE_ATTRIBUTE_OWNER_USER_REAL = 'owner::user-real'; 51 G_FILE_ATTRIBUTE_PREVIEW_ICON = 'preview::icon'; 52 G_FILE_ATTRIBUTE_SELINUX_CONTEXT = 'selinux::context'; 53 G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE = 'standard::allocated-size'; 54 G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE = 'standard::content-type'; 55 G_FILE_ATTRIBUTE_STANDARD_COPY_NAME = 'standard::copy-name'; 56 G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION = 'standard::description'; 57 G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME = 'standard::display-name'; 58 G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME = 'standard::edit-name'; 59 G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE = 'standard::fast-content-type'; 60 G_FILE_ATTRIBUTE_STANDARD_ICON = 'standard::icon'; 61 G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP = 'standard::is-backup'; 62 G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN = 'standard::is-hidden'; 63 G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK = 'standard::is-symlink'; 64 G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL = 'standard::is-virtual'; 65 G_FILE_ATTRIBUTE_STANDARD_NAME = 'standard::name'; 66 G_FILE_ATTRIBUTE_STANDARD_SIZE = 'standard::size'; 67 G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER = 'standard::sort-order'; 68 G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON = 'standard::symbolic-icon'; 69 G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET = 'standard::symlink-target'; 70 G_FILE_ATTRIBUTE_STANDARD_TARGET_URI = 'standard::target-uri'; 71 G_FILE_ATTRIBUTE_STANDARD_TYPE = 'standard::type'; 72 G_FILE_ATTRIBUTE_THUMBNAILING_FAILED = 'thumbnail::failed'; 73 G_FILE_ATTRIBUTE_THUMBNAIL_PATH = 'thumbnail::path'; 74 G_FILE_ATTRIBUTE_TIME_ACCESS = 'time::access'; 75 G_FILE_ATTRIBUTE_TIME_ACCESS_USEC = 'time::access-usec'; 76 G_FILE_ATTRIBUTE_TIME_CHANGED = 'time::changed'; 77 G_FILE_ATTRIBUTE_TIME_CHANGED_USEC = 'time::changed-usec'; 78 G_FILE_ATTRIBUTE_TIME_CREATED = 'time::created'; 79 G_FILE_ATTRIBUTE_TIME_CREATED_USEC = 'time::created-usec'; 80 G_FILE_ATTRIBUTE_TIME_MODIFIED = 'time::modified'; 81 G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC = 'time::modified-usec'; 82 G_FILE_ATTRIBUTE_TRASH_DELETION_DATE = 'trash::deletion-date'; 83 G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT = 'trash::item-count'; 84 G_FILE_ATTRIBUTE_TRASH_ORIG_PATH = 'trash::orig-path'; 85 G_FILE_ATTRIBUTE_UNIX_BLOCKS = 'unix::blocks'; 86 G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE = 'unix::block-size'; 87 G_FILE_ATTRIBUTE_UNIX_DEVICE = 'unix::device'; 88 G_FILE_ATTRIBUTE_UNIX_GID = 'unix::gid'; 89 G_FILE_ATTRIBUTE_UNIX_INODE = 'unix::inode'; 90 G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT = 'unix::is-mountpoint'; 91 G_FILE_ATTRIBUTE_UNIX_MODE = 'unix::mode'; 92 G_FILE_ATTRIBUTE_UNIX_NLINK = 'unix::nlink'; 93 G_FILE_ATTRIBUTE_UNIX_RDEV = 'unix::rdev'; 94 G_FILE_ATTRIBUTE_UNIX_UID = 'unix::uid'; 95 G_MENU_ATTRIBUTE_ACTION = 'action'; 96 G_MENU_ATTRIBUTE_ACTION_NAMESPACE = 'action-namespace'; 97 G_MENU_ATTRIBUTE_LABEL = 'label'; 98 G_MENU_ATTRIBUTE_TARGET = 'target'; 99 G_MENU_LINK_SECTION = 'section'; 100 G_MENU_LINK_SUBMENU = 'submenu'; 101 G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME = 'gio-native-volume-monitor'; 102 G_NETWORK_MONITOR_EXTENSION_POINT_NAME = 'gio-network-monitor'; 103 G_PROXY_EXTENSION_POINT_NAME = 'gio-proxy'; 104 G_PROXY_RESOLVER_EXTENSION_POINT_NAME = 'gio-proxy-resolver'; 105 G_TLS_BACKEND_EXTENSION_POINT_NAME = 'gio-tls-backend'; 106 G_TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT = '1.3.6.1.5.5.7.3.2'; 107 G_TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER = '1.3.6.1.5.5.7.3.1'; 108 G_VFS_EXTENSION_POINT_NAME = 'gio-vfs'; 109 G_VOLUME_IDENTIFIER_KIND_CLASS = 'class'; 110 G_VOLUME_IDENTIFIER_KIND_HAL_UDI = 'hal-udi'; 111 G_VOLUME_IDENTIFIER_KIND_LABEL = 'label'; 112 G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT = 'nfs-mount'; 113 G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE = 'unix-device'; 114 G_VOLUME_IDENTIFIER_KIND_UUID = 'uuid'; 115 G_VOLUME_MONITOR_EXTENSION_POINT_NAME = 'gio-volume-monitor'; 116 117 type 118 TGAppInfoCreateFlags = Integer; 119 const 120 { GAppInfoCreateFlags } 121 G_APP_INFO_CREATE_NONE: TGAppInfoCreateFlags = 0; 122 G_APP_INFO_CREATE_NEEDS_TERMINAL: TGAppInfoCreateFlags = 1; 123 G_APP_INFO_CREATE_SUPPORTS_URIS: TGAppInfoCreateFlags = 2; 124 G_APP_INFO_CREATE_SUPPORTS_STARTUP_NOTIFICATION: TGAppInfoCreateFlags = 4; 125 126 type 127 TGApplicationFlags = Integer; 128 const 129 { GApplicationFlags } 130 G_APPLICATION_FLAGS_NONE: TGApplicationFlags = 0; 131 G_APPLICATION_IS_SERVICE: TGApplicationFlags = 1; 132 G_APPLICATION_IS_LAUNCHER: TGApplicationFlags = 2; 133 G_APPLICATION_HANDLES_OPEN: TGApplicationFlags = 4; 134 G_APPLICATION_HANDLES_COMMAND_LINE: TGApplicationFlags = 8; 135 G_APPLICATION_SEND_ENVIRONMENT: TGApplicationFlags = 16; 136 G_APPLICATION_NON_UNIQUE: TGApplicationFlags = 32; 137 138 type 139 TGDBusConnectionFlags = Integer; 140 const 141 { GDBusConnectionFlags } 142 G_DBUS_CONNECTION_FLAGS_NONE: TGDBusConnectionFlags = 0; 143 G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT: TGDBusConnectionFlags = 1; 144 G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_SERVER: TGDBusConnectionFlags = 2; 145 G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS: TGDBusConnectionFlags = 4; 146 G_DBUS_CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION: TGDBusConnectionFlags = 8; 147 G_DBUS_CONNECTION_FLAGS_DELAY_MESSAGE_PROCESSING: TGDBusConnectionFlags = 16; 148 149 type 150 TGDBusCallFlags = Integer; 151 const 152 { GDBusCallFlags } 153 G_DBUS_CALL_FLAGS_NONE: TGDBusCallFlags = 0; 154 G_DBUS_CALL_FLAGS_NO_AUTO_START: TGDBusCallFlags = 1; 155 156 type 157 TGDBusCapabilityFlags = Integer; 158 const 159 { GDBusCapabilityFlags } 160 G_DBUS_CAPABILITY_FLAGS_NONE: TGDBusCapabilityFlags = 0; 161 G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING: TGDBusCapabilityFlags = 1; 162 163 type 164 TGDBusSubtreeFlags = Integer; 165 const 166 { GDBusSubtreeFlags } 167 G_DBUS_SUBTREE_FLAGS_NONE: TGDBusSubtreeFlags = 0; 168 G_DBUS_SUBTREE_FLAGS_DISPATCH_TO_UNENUMERATED_NODES: TGDBusSubtreeFlags = 1; 169 170 type 171 TGDBusSendMessageFlags = Integer; 172 const 173 { GDBusSendMessageFlags } 174 G_DBUS_SEND_MESSAGE_FLAGS_NONE: TGDBusSendMessageFlags = 0; 175 G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL: TGDBusSendMessageFlags = 1; 176 177 type 178 TGDBusSignalFlags = Integer; 179 const 180 { GDBusSignalFlags } 181 G_DBUS_SIGNAL_FLAGS_NONE: TGDBusSignalFlags = 0; 182 G_DBUS_SIGNAL_FLAGS_NO_MATCH_RULE: TGDBusSignalFlags = 1; 183 184 type 185 TGFileCreateFlags = Integer; 186 const 187 { GFileCreateFlags } 188 G_FILE_CREATE_NONE: TGFileCreateFlags = 0; 189 G_FILE_CREATE_PRIVATE: TGFileCreateFlags = 1; 190 G_FILE_CREATE_REPLACE_DESTINATION: TGFileCreateFlags = 2; 191 192 type 193 TGFileCopyFlags = Integer; 194 const 195 { GFileCopyFlags } 196 G_FILE_COPY_NONE: TGFileCopyFlags = 0; 197 G_FILE_COPY_OVERWRITE: TGFileCopyFlags = 1; 198 G_FILE_COPY_BACKUP: TGFileCopyFlags = 2; 199 G_FILE_COPY_NOFOLLOW_SYMLINKS: TGFileCopyFlags = 4; 200 G_FILE_COPY_ALL_METADATA: TGFileCopyFlags = 8; 201 G_FILE_COPY_NO_FALLBACK_FOR_MOVE: TGFileCopyFlags = 16; 202 G_FILE_COPY_TARGET_DEFAULT_PERMS: TGFileCopyFlags = 32; 203 204 type 205 TGMountUnmountFlags = Integer; 206 const 207 { GMountUnmountFlags } 208 G_MOUNT_UNMOUNT_NONE: TGMountUnmountFlags = 0; 209 G_MOUNT_UNMOUNT_FORCE: TGMountUnmountFlags = 1; 210 211 type 212 TGFileQueryInfoFlags = Integer; 213 const 214 { GFileQueryInfoFlags } 215 G_FILE_QUERY_INFO_NONE: TGFileQueryInfoFlags = 0; 216 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS: TGFileQueryInfoFlags = 1; 217 218 type 219 TGFileMonitorFlags = Integer; 220 const 221 { GFileMonitorFlags } 222 G_FILE_MONITOR_NONE: TGFileMonitorFlags = 0; 223 G_FILE_MONITOR_WATCH_MOUNTS: TGFileMonitorFlags = 1; 224 G_FILE_MONITOR_SEND_MOVED: TGFileMonitorFlags = 2; 225 G_FILE_MONITOR_WATCH_HARD_LINKS: TGFileMonitorFlags = 4; 226 227 type 228 TGMountMountFlags = Integer; 229 const 230 { GMountMountFlags } 231 G_MOUNT_MOUNT_NONE: TGMountMountFlags = 0; 232 233 type 234 TGFileAttributeType = Integer; 235 const 236 { GFileAttributeType } 237 G_FILE_ATTRIBUTE_TYPE_INVALID: TGFileAttributeType = 0; 238 G_FILE_ATTRIBUTE_TYPE_STRING: TGFileAttributeType = 1; 239 G_FILE_ATTRIBUTE_TYPE_BYTE_STRING: TGFileAttributeType = 2; 240 G_FILE_ATTRIBUTE_TYPE_BOOLEAN: TGFileAttributeType = 3; 241 G_FILE_ATTRIBUTE_TYPE_UINT32: TGFileAttributeType = 4; 242 G_FILE_ATTRIBUTE_TYPE_INT32: TGFileAttributeType = 5; 243 G_FILE_ATTRIBUTE_TYPE_UINT64: TGFileAttributeType = 6; 244 G_FILE_ATTRIBUTE_TYPE_INT64: TGFileAttributeType = 7; 245 G_FILE_ATTRIBUTE_TYPE_OBJECT: TGFileAttributeType = 8; 246 G_FILE_ATTRIBUTE_TYPE_STRINGV: TGFileAttributeType = 9; 247 248 type 249 TGDriveStartFlags = Integer; 250 const 251 { GDriveStartFlags } 252 G_DRIVE_START_NONE: TGDriveStartFlags = 0; 253 254 type 255 TGAskPasswordFlags = Integer; 256 const 257 { GAskPasswordFlags } 258 G_ASK_PASSWORD_NEED_PASSWORD: TGAskPasswordFlags = 1; 259 G_ASK_PASSWORD_NEED_USERNAME: TGAskPasswordFlags = 2; 260 G_ASK_PASSWORD_NEED_DOMAIN: TGAskPasswordFlags = 4; 261 G_ASK_PASSWORD_SAVING_SUPPORTED: TGAskPasswordFlags = 8; 262 G_ASK_PASSWORD_ANONYMOUS_SUPPORTED: TGAskPasswordFlags = 16; 263 264 type 265 TGOutputStreamSpliceFlags = Integer; 266 const 267 { GOutputStreamSpliceFlags } 268 G_OUTPUT_STREAM_SPLICE_NONE: TGOutputStreamSpliceFlags = 0; 269 G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE: TGOutputStreamSpliceFlags = 1; 270 G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET: TGOutputStreamSpliceFlags = 2; 271 272 type 273 TGBusNameOwnerFlags = Integer; 274 const 275 { GBusNameOwnerFlags } 276 G_BUS_NAME_OWNER_FLAGS_NONE: TGBusNameOwnerFlags = 0; 277 G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT: TGBusNameOwnerFlags = 1; 278 G_BUS_NAME_OWNER_FLAGS_REPLACE: TGBusNameOwnerFlags = 2; 279 280 type 281 TGBusNameWatcherFlags = Integer; 282 const 283 { GBusNameWatcherFlags } 284 G_BUS_NAME_WATCHER_FLAGS_NONE: TGBusNameWatcherFlags = 0; 285 G_BUS_NAME_WATCHER_FLAGS_AUTO_START: TGBusNameWatcherFlags = 1; 286 287 type 288 TGBusType = Integer; 289 const 290 { GBusType } 291 G_BUS_TYPE_STARTER: TGBusType = -1; 292 G_BUS_TYPE_NONE: TGBusType = 0; 293 G_BUS_TYPE_SYSTEM: TGBusType = 1; 294 G_BUS_TYPE_SESSION: TGBusType = 2; 295 296 type 297 TGConverterFlags = Integer; 298 const 299 { GConverterFlags } 300 G_CONVERTER_NO_FLAGS: TGConverterFlags = 0; 301 G_CONVERTER_INPUT_AT_END: TGConverterFlags = 1; 302 G_CONVERTER_FLUSH: TGConverterFlags = 2; 303 304 type 305 TGConverterResult = Integer; 306 const 307 { GConverterResult } 308 G_CONVERTER_ERROR: TGConverterResult = 0; 309 G_CONVERTER_CONVERTED: TGConverterResult = 1; 310 G_CONVERTER_FINISHED: TGConverterResult = 2; 311 G_CONVERTER_FLUSHED: TGConverterResult = 3; 312 313 type 314 TGCredentialsType = Integer; 315 const 316 { GCredentialsType } 317 G_CREDENTIALS_TYPE_INVALID: TGCredentialsType = 0; 318 G_CREDENTIALS_TYPE_LINUX_UCRED: TGCredentialsType = 1; 319 G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED: TGCredentialsType = 2; 320 G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED: TGCredentialsType = 3; 321 322 type 323 TGIOStreamSpliceFlags = Integer; 324 const 325 { GIOStreamSpliceFlags } 326 G_IO_STREAM_SPLICE_NONE: TGIOStreamSpliceFlags = 0; 327 G_IO_STREAM_SPLICE_CLOSE_STREAM1: TGIOStreamSpliceFlags = 1; 328 G_IO_STREAM_SPLICE_CLOSE_STREAM2: TGIOStreamSpliceFlags = 2; 329 G_IO_STREAM_SPLICE_WAIT_FOR_BOTH: TGIOStreamSpliceFlags = 4; 330 331 type 332 TGDBusMessageFlags = Integer; 333 const 334 { GDBusMessageFlags } 335 G_DBUS_MESSAGE_FLAGS_NONE: TGDBusMessageFlags = 0; 336 G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED: TGDBusMessageFlags = 1; 337 G_DBUS_MESSAGE_FLAGS_NO_AUTO_START: TGDBusMessageFlags = 2; 338 339 type 340 TGDBusMessageHeaderField = Integer; 341 const 342 { GDBusMessageHeaderField } 343 G_DBUS_MESSAGE_HEADER_FIELD_INVALID: TGDBusMessageHeaderField = 0; 344 G_DBUS_MESSAGE_HEADER_FIELD_PATH: TGDBusMessageHeaderField = 1; 345 G_DBUS_MESSAGE_HEADER_FIELD_INTERFACE: TGDBusMessageHeaderField = 2; 346 G_DBUS_MESSAGE_HEADER_FIELD_MEMBER: TGDBusMessageHeaderField = 3; 347 G_DBUS_MESSAGE_HEADER_FIELD_ERROR_NAME: TGDBusMessageHeaderField = 4; 348 G_DBUS_MESSAGE_HEADER_FIELD_REPLY_SERIAL: TGDBusMessageHeaderField = 5; 349 G_DBUS_MESSAGE_HEADER_FIELD_DESTINATION: TGDBusMessageHeaderField = 6; 350 G_DBUS_MESSAGE_HEADER_FIELD_SENDER: TGDBusMessageHeaderField = 7; 351 G_DBUS_MESSAGE_HEADER_FIELD_SIGNATURE: TGDBusMessageHeaderField = 8; 352 G_DBUS_MESSAGE_HEADER_FIELD_NUM_UNIX_FDS: TGDBusMessageHeaderField = 9; 353 354 type 355 TGDBusMessageByteOrder = Integer; 356 const 357 { GDBusMessageByteOrder } 358 G_DBUS_MESSAGE_BYTE_ORDER_BIG_ENDIAN: TGDBusMessageByteOrder = 66; 359 G_DBUS_MESSAGE_BYTE_ORDER_LITTLE_ENDIAN: TGDBusMessageByteOrder = 108; 360 361 type 362 TGDBusMessageType = Integer; 363 const 364 { GDBusMessageType } 365 G_DBUS_MESSAGE_TYPE_INVALID: TGDBusMessageType = 0; 366 G_DBUS_MESSAGE_TYPE_METHOD_CALL: TGDBusMessageType = 1; 367 G_DBUS_MESSAGE_TYPE_METHOD_RETURN: TGDBusMessageType = 2; 368 G_DBUS_MESSAGE_TYPE_ERROR: TGDBusMessageType = 3; 369 G_DBUS_MESSAGE_TYPE_SIGNAL: TGDBusMessageType = 4; 370 371 type 372 TGDBusError = Integer; 373 const 374 { GDBusError } 375 G_DBUS_ERROR_FAILED: TGDBusError = 0; 376 G_DBUS_ERROR_NO_MEMORY: TGDBusError = 1; 377 G_DBUS_ERROR_SERVICE_UNKNOWN: TGDBusError = 2; 378 G_DBUS_ERROR_NAME_HAS_NO_OWNER: TGDBusError = 3; 379 G_DBUS_ERROR_NO_REPLY: TGDBusError = 4; 380 G_DBUS_ERROR_IO_ERROR: TGDBusError = 5; 381 G_DBUS_ERROR_BAD_ADDRESS: TGDBusError = 6; 382 G_DBUS_ERROR_NOT_SUPPORTED: TGDBusError = 7; 383 G_DBUS_ERROR_LIMITS_EXCEEDED: TGDBusError = 8; 384 G_DBUS_ERROR_ACCESS_DENIED: TGDBusError = 9; 385 G_DBUS_ERROR_AUTH_FAILED: TGDBusError = 10; 386 G_DBUS_ERROR_NO_SERVER: TGDBusError = 11; 387 G_DBUS_ERROR_TIMEOUT: TGDBusError = 12; 388 G_DBUS_ERROR_NO_NETWORK: TGDBusError = 13; 389 G_DBUS_ERROR_ADDRESS_IN_USE: TGDBusError = 14; 390 G_DBUS_ERROR_DISCONNECTED: TGDBusError = 15; 391 G_DBUS_ERROR_INVALID_ARGS: TGDBusError = 16; 392 G_DBUS_ERROR_FILE_NOT_FOUND: TGDBusError = 17; 393 G_DBUS_ERROR_FILE_EXISTS: TGDBusError = 18; 394 G_DBUS_ERROR_UNKNOWN_METHOD: TGDBusError = 19; 395 G_DBUS_ERROR_TIMED_OUT: TGDBusError = 20; 396 G_DBUS_ERROR_MATCH_RULE_NOT_FOUND: TGDBusError = 21; 397 G_DBUS_ERROR_MATCH_RULE_INVALID: TGDBusError = 22; 398 G_DBUS_ERROR_SPAWN_EXEC_FAILED: TGDBusError = 23; 399 G_DBUS_ERROR_SPAWN_FORK_FAILED: TGDBusError = 24; 400 G_DBUS_ERROR_SPAWN_CHILD_EXITED: TGDBusError = 25; 401 G_DBUS_ERROR_SPAWN_CHILD_SIGNALED: TGDBusError = 26; 402 G_DBUS_ERROR_SPAWN_FAILED: TGDBusError = 27; 403 G_DBUS_ERROR_SPAWN_SETUP_FAILED: TGDBusError = 28; 404 G_DBUS_ERROR_SPAWN_CONFIG_INVALID: TGDBusError = 29; 405 G_DBUS_ERROR_SPAWN_SERVICE_INVALID: TGDBusError = 30; 406 G_DBUS_ERROR_SPAWN_SERVICE_NOT_FOUND: TGDBusError = 31; 407 G_DBUS_ERROR_SPAWN_PERMISSIONS_INVALID: TGDBusError = 32; 408 G_DBUS_ERROR_SPAWN_FILE_INVALID: TGDBusError = 33; 409 G_DBUS_ERROR_SPAWN_NO_MEMORY: TGDBusError = 34; 410 G_DBUS_ERROR_UNIX_PROCESS_ID_UNKNOWN: TGDBusError = 35; 411 G_DBUS_ERROR_INVALID_SIGNATURE: TGDBusError = 36; 412 G_DBUS_ERROR_INVALID_FILE_CONTENT: TGDBusError = 37; 413 G_DBUS_ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN: TGDBusError = 38; 414 G_DBUS_ERROR_ADT_AUDIT_DATA_UNKNOWN: TGDBusError = 39; 415 G_DBUS_ERROR_OBJECT_PATH_IN_USE: TGDBusError = 40; 416 417 type 418 TGDBusPropertyInfoFlags = Integer; 419 const 420 { GDBusPropertyInfoFlags } 421 G_DBUS_PROPERTY_INFO_FLAGS_NONE: TGDBusPropertyInfoFlags = 0; 422 G_DBUS_PROPERTY_INFO_FLAGS_READABLE: TGDBusPropertyInfoFlags = 1; 423 G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE: TGDBusPropertyInfoFlags = 2; 424 425 type 426 TGDBusInterfaceSkeletonFlags = Integer; 427 const 428 { GDBusInterfaceSkeletonFlags } 429 G_DBUS_INTERFACE_SKELETON_FLAGS_NONE: TGDBusInterfaceSkeletonFlags = 0; 430 G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD: TGDBusInterfaceSkeletonFlags = 1; 431 432 type 433 TGDBusObjectManagerClientFlags = Integer; 434 const 435 { GDBusObjectManagerClientFlags } 436 G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE: TGDBusObjectManagerClientFlags = 0; 437 G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START: TGDBusObjectManagerClientFlags = 1; 438 439 type 440 TGDBusProxyFlags = Integer; 441 const 442 { GDBusProxyFlags } 443 G_DBUS_PROXY_FLAGS_NONE: TGDBusProxyFlags = 0; 444 G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES: TGDBusProxyFlags = 1; 445 G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS: TGDBusProxyFlags = 2; 446 G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START: TGDBusProxyFlags = 4; 447 G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES: TGDBusProxyFlags = 8; 448 449 type 450 TGDBusServerFlags = Integer; 451 const 452 { GDBusServerFlags } 453 G_DBUS_SERVER_FLAGS_NONE: TGDBusServerFlags = 0; 454 G_DBUS_SERVER_FLAGS_RUN_IN_THREAD: TGDBusServerFlags = 1; 455 G_DBUS_SERVER_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS: TGDBusServerFlags = 2; 456 457 type 458 TGDataStreamByteOrder = Integer; 459 const 460 { GDataStreamByteOrder } 461 G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN: TGDataStreamByteOrder = 0; 462 G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN: TGDataStreamByteOrder = 1; 463 G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN: TGDataStreamByteOrder = 2; 464 465 type 466 TGDataStreamNewlineType = Integer; 467 const 468 { GDataStreamNewlineType } 469 G_DATA_STREAM_NEWLINE_TYPE_LF: TGDataStreamNewlineType = 0; 470 G_DATA_STREAM_NEWLINE_TYPE_CR: TGDataStreamNewlineType = 1; 471 G_DATA_STREAM_NEWLINE_TYPE_CR_LF: TGDataStreamNewlineType = 2; 472 G_DATA_STREAM_NEWLINE_TYPE_ANY: TGDataStreamNewlineType = 3; 473 474 type 475 TGMountOperationResult = Integer; 476 const 477 { GMountOperationResult } 478 G_MOUNT_OPERATION_HANDLED: TGMountOperationResult = 0; 479 G_MOUNT_OPERATION_ABORTED: TGMountOperationResult = 1; 480 G_MOUNT_OPERATION_UNHANDLED: TGMountOperationResult = 2; 481 482 type 483 TGPasswordSave = Integer; 484 const 485 { GPasswordSave } 486 G_PASSWORD_SAVE_NEVER: TGPasswordSave = 0; 487 G_PASSWORD_SAVE_FOR_SESSION: TGPasswordSave = 1; 488 G_PASSWORD_SAVE_PERMANENTLY: TGPasswordSave = 2; 489 490 type 491 TGDriveStartStopType = Integer; 492 const 493 { GDriveStartStopType } 494 G_DRIVE_START_STOP_TYPE_UNKNOWN: TGDriveStartStopType = 0; 495 G_DRIVE_START_STOP_TYPE_SHUTDOWN: TGDriveStartStopType = 1; 496 G_DRIVE_START_STOP_TYPE_NETWORK: TGDriveStartStopType = 2; 497 G_DRIVE_START_STOP_TYPE_MULTIDISK: TGDriveStartStopType = 3; 498 G_DRIVE_START_STOP_TYPE_PASSWORD: TGDriveStartStopType = 4; 499 500 type 501 TGEmblemOrigin = Integer; 502 const 503 { GEmblemOrigin } 504 G_EMBLEM_ORIGIN_UNKNOWN: TGEmblemOrigin = 0; 505 G_EMBLEM_ORIGIN_DEVICE: TGEmblemOrigin = 1; 506 G_EMBLEM_ORIGIN_LIVEMETADATA: TGEmblemOrigin = 2; 507 G_EMBLEM_ORIGIN_TAG: TGEmblemOrigin = 3; 508 509 type 510 TGFileMonitorEvent = Integer; 511 const 512 { GFileMonitorEvent } 513 G_FILE_MONITOR_EVENT_CHANGED: TGFileMonitorEvent = 0; 514 G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT: TGFileMonitorEvent = 1; 515 G_FILE_MONITOR_EVENT_DELETED: TGFileMonitorEvent = 2; 516 G_FILE_MONITOR_EVENT_CREATED: TGFileMonitorEvent = 3; 517 G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED: TGFileMonitorEvent = 4; 518 G_FILE_MONITOR_EVENT_PRE_UNMOUNT: TGFileMonitorEvent = 5; 519 G_FILE_MONITOR_EVENT_UNMOUNTED: TGFileMonitorEvent = 6; 520 G_FILE_MONITOR_EVENT_MOVED: TGFileMonitorEvent = 7; 521 522 type 523 TGFileAttributeStatus = Integer; 524 const 525 { GFileAttributeStatus } 526 G_FILE_ATTRIBUTE_STATUS_UNSET: TGFileAttributeStatus = 0; 527 G_FILE_ATTRIBUTE_STATUS_SET: TGFileAttributeStatus = 1; 528 G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING: TGFileAttributeStatus = 2; 529 530 type 531 TGFileType = Integer; 532 const 533 { GFileType } 534 G_FILE_TYPE_UNKNOWN: TGFileType = 0; 535 G_FILE_TYPE_REGULAR: TGFileType = 1; 536 G_FILE_TYPE_DIRECTORY: TGFileType = 2; 537 G_FILE_TYPE_SYMBOLIC_LINK: TGFileType = 3; 538 G_FILE_TYPE_SPECIAL: TGFileType = 4; 539 G_FILE_TYPE_SHORTCUT: TGFileType = 5; 540 G_FILE_TYPE_MOUNTABLE: TGFileType = 6; 541 542 type 543 TGFileAttributeInfoFlags = Integer; 544 const 545 { GFileAttributeInfoFlags } 546 G_FILE_ATTRIBUTE_INFO_NONE: TGFileAttributeInfoFlags = 0; 547 G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE: TGFileAttributeInfoFlags = 1; 548 G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED: TGFileAttributeInfoFlags = 2; 549 550 type 551 TGFilesystemPreviewType = Integer; 552 const 553 { GFilesystemPreviewType } 554 G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS: TGFilesystemPreviewType = 0; 555 G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL: TGFilesystemPreviewType = 1; 556 G_FILESYSTEM_PREVIEW_TYPE_NEVER: TGFilesystemPreviewType = 2; 557 558 type 559 TGIOErrorEnum = Integer; 560 const 561 { GIOErrorEnum } 562 G_IO_ERROR_FAILED: TGIOErrorEnum = 0; 563 G_IO_ERROR_NOT_FOUND: TGIOErrorEnum = 1; 564 G_IO_ERROR_EXISTS: TGIOErrorEnum = 2; 565 G_IO_ERROR_IS_DIRECTORY: TGIOErrorEnum = 3; 566 G_IO_ERROR_NOT_DIRECTORY: TGIOErrorEnum = 4; 567 G_IO_ERROR_NOT_EMPTY: TGIOErrorEnum = 5; 568 G_IO_ERROR_NOT_REGULAR_FILE: TGIOErrorEnum = 6; 569 G_IO_ERROR_NOT_SYMBOLIC_LINK: TGIOErrorEnum = 7; 570 G_IO_ERROR_NOT_MOUNTABLE_FILE: TGIOErrorEnum = 8; 571 G_IO_ERROR_FILENAME_TOO_LONG: TGIOErrorEnum = 9; 572 G_IO_ERROR_INVALID_FILENAME: TGIOErrorEnum = 10; 573 G_IO_ERROR_TOO_MANY_LINKS: TGIOErrorEnum = 11; 574 G_IO_ERROR_NO_SPACE: TGIOErrorEnum = 12; 575 G_IO_ERROR_INVALID_ARGUMENT: TGIOErrorEnum = 13; 576 G_IO_ERROR_PERMISSION_DENIED: TGIOErrorEnum = 14; 577 G_IO_ERROR_NOT_SUPPORTED: TGIOErrorEnum = 15; 578 G_IO_ERROR_NOT_MOUNTED: TGIOErrorEnum = 16; 579 G_IO_ERROR_ALREADY_MOUNTED: TGIOErrorEnum = 17; 580 G_IO_ERROR_CLOSED: TGIOErrorEnum = 18; 581 G_IO_ERROR_CANCELLED: TGIOErrorEnum = 19; 582 G_IO_ERROR_PENDING: TGIOErrorEnum = 20; 583 G_IO_ERROR_READ_ONLY: TGIOErrorEnum = 21; 584 G_IO_ERROR_CANT_CREATE_BACKUP: TGIOErrorEnum = 22; 585 G_IO_ERROR_WRONG_ETAG: TGIOErrorEnum = 23; 586 G_IO_ERROR_TIMED_OUT: TGIOErrorEnum = 24; 587 G_IO_ERROR_WOULD_RECURSE: TGIOErrorEnum = 25; 588 G_IO_ERROR_BUSY: TGIOErrorEnum = 26; 589 G_IO_ERROR_WOULD_BLOCK: TGIOErrorEnum = 27; 590 G_IO_ERROR_HOST_NOT_FOUND: TGIOErrorEnum = 28; 591 G_IO_ERROR_WOULD_MERGE: TGIOErrorEnum = 29; 592 G_IO_ERROR_FAILED_HANDLED: TGIOErrorEnum = 30; 593 G_IO_ERROR_TOO_MANY_OPEN_FILES: TGIOErrorEnum = 31; 594 G_IO_ERROR_NOT_INITIALIZED: TGIOErrorEnum = 32; 595 G_IO_ERROR_ADDRESS_IN_USE: TGIOErrorEnum = 33; 596 G_IO_ERROR_PARTIAL_INPUT: TGIOErrorEnum = 34; 597 G_IO_ERROR_INVALID_DATA: TGIOErrorEnum = 35; 598 G_IO_ERROR_DBUS_ERROR: TGIOErrorEnum = 36; 599 G_IO_ERROR_HOST_UNREACHABLE: TGIOErrorEnum = 37; 600 G_IO_ERROR_NETWORK_UNREACHABLE: TGIOErrorEnum = 38; 601 G_IO_ERROR_CONNECTION_REFUSED: TGIOErrorEnum = 39; 602 G_IO_ERROR_PROXY_FAILED: TGIOErrorEnum = 40; 603 G_IO_ERROR_PROXY_AUTH_FAILED: TGIOErrorEnum = 41; 604 G_IO_ERROR_PROXY_NEED_AUTH: TGIOErrorEnum = 42; 605 G_IO_ERROR_PROXY_NOT_ALLOWED: TGIOErrorEnum = 43; 606 G_IO_ERROR_BROKEN_PIPE: TGIOErrorEnum = 44; 607 608 type 609 TGIOModuleScopeFlags = Integer; 610 const 611 { GIOModuleScopeFlags } 612 G_IO_MODULE_SCOPE_NONE: TGIOModuleScopeFlags = 0; 613 G_IO_MODULE_SCOPE_BLOCK_DUPLICATES: TGIOModuleScopeFlags = 1; 614 615 type 616 TGSocketFamily = Integer; 617 const 618 { GSocketFamily } 619 G_SOCKET_FAMILY_INVALID: TGSocketFamily = 0; 620 G_SOCKET_FAMILY_UNIX: TGSocketFamily = 1; 621 G_SOCKET_FAMILY_IPV4: TGSocketFamily = 2; 622 G_SOCKET_FAMILY_IPV6: TGSocketFamily = 10; 623 624 type 625 TGResolverRecordType = Integer; 626 const 627 { GResolverRecordType } 628 G_RESOLVER_RECORD_SRV: TGResolverRecordType = 1; 629 G_RESOLVER_RECORD_MX: TGResolverRecordType = 2; 630 G_RESOLVER_RECORD_TXT: TGResolverRecordType = 3; 631 G_RESOLVER_RECORD_SOA: TGResolverRecordType = 4; 632 G_RESOLVER_RECORD_NS: TGResolverRecordType = 5; 633 634 type 635 TGResolverError = Integer; 636 const 637 { GResolverError } 638 G_RESOLVER_ERROR_NOT_FOUND: TGResolverError = 0; 639 G_RESOLVER_ERROR_TEMPORARY_FAILURE: TGResolverError = 1; 640 G_RESOLVER_ERROR_INTERNAL: TGResolverError = 2; 641 642 type 643 TGResourceLookupFlags = Integer; 644 const 645 { GResourceLookupFlags } 646 G_RESOURCE_LOOKUP_FLAGS_NONE: TGResourceLookupFlags = 0; 647 648 type 649 TGResourceError = Integer; 650 const 651 { GResourceError } 652 G_RESOURCE_ERROR_NOT_FOUND: TGResourceError = 0; 653 G_RESOURCE_ERROR_INTERNAL: TGResourceError = 1; 654 655 type 656 TGResourceFlags = Integer; 657 const 658 { GResourceFlags } 659 G_RESOURCE_FLAGS_NONE: TGResourceFlags = 0; 660 G_RESOURCE_FLAGS_COMPRESSED: TGResourceFlags = 1; 661 662 type 663 TGSettingsBindFlags = Integer; 664 const 665 { GSettingsBindFlags } 666 G_SETTINGS_BIND_DEFAULT: TGSettingsBindFlags = 0; 667 G_SETTINGS_BIND_GET: TGSettingsBindFlags = 1; 668 G_SETTINGS_BIND_SET: TGSettingsBindFlags = 2; 669 G_SETTINGS_BIND_NO_SENSITIVITY: TGSettingsBindFlags = 4; 670 G_SETTINGS_BIND_GET_NO_CHANGES: TGSettingsBindFlags = 8; 671 G_SETTINGS_BIND_INVERT_BOOLEAN: TGSettingsBindFlags = 16; 672 673 type 674 TGSocketType = Integer; 675 const 676 { GSocketType } 677 G_SOCKET_TYPE_INVALID: TGSocketType = 0; 678 G_SOCKET_TYPE_STREAM: TGSocketType = 1; 679 G_SOCKET_TYPE_DATAGRAM: TGSocketType = 2; 680 G_SOCKET_TYPE_SEQPACKET: TGSocketType = 3; 681 682 type 683 TGSocketProtocol = Integer; 684 const 685 { GSocketProtocol } 686 G_SOCKET_PROTOCOL_UNKNOWN: TGSocketProtocol = -1; 687 G_SOCKET_PROTOCOL_DEFAULT: TGSocketProtocol = 0; 688 G_SOCKET_PROTOCOL_TCP: TGSocketProtocol = 6; 689 G_SOCKET_PROTOCOL_UDP: TGSocketProtocol = 17; 690 G_SOCKET_PROTOCOL_SCTP: TGSocketProtocol = 132; 691 692 type 693 TGTlsCertificateFlags = Integer; 694 const 695 { GTlsCertificateFlags } 696 G_TLS_CERTIFICATE_UNKNOWN_CA: TGTlsCertificateFlags = 1; 697 G_TLS_CERTIFICATE_BAD_IDENTITY: TGTlsCertificateFlags = 2; 698 G_TLS_CERTIFICATE_NOT_ACTIVATED: TGTlsCertificateFlags = 4; 699 G_TLS_CERTIFICATE_EXPIRED: TGTlsCertificateFlags = 8; 700 G_TLS_CERTIFICATE_REVOKED: TGTlsCertificateFlags = 16; 701 G_TLS_CERTIFICATE_INSECURE: TGTlsCertificateFlags = 32; 702 G_TLS_CERTIFICATE_GENERIC_ERROR: TGTlsCertificateFlags = 64; 703 G_TLS_CERTIFICATE_VALIDATE_ALL: TGTlsCertificateFlags = 127; 704 705 type 706 TGSocketClientEvent = Integer; 707 const 708 { GSocketClientEvent } 709 G_SOCKET_CLIENT_RESOLVING: TGSocketClientEvent = 0; 710 G_SOCKET_CLIENT_RESOLVED: TGSocketClientEvent = 1; 711 G_SOCKET_CLIENT_CONNECTING: TGSocketClientEvent = 2; 712 G_SOCKET_CLIENT_CONNECTED: TGSocketClientEvent = 3; 713 G_SOCKET_CLIENT_PROXY_NEGOTIATING: TGSocketClientEvent = 4; 714 G_SOCKET_CLIENT_PROXY_NEGOTIATED: TGSocketClientEvent = 5; 715 G_SOCKET_CLIENT_TLS_HANDSHAKING: TGSocketClientEvent = 6; 716 G_SOCKET_CLIENT_TLS_HANDSHAKED: TGSocketClientEvent = 7; 717 G_SOCKET_CLIENT_COMPLETE: TGSocketClientEvent = 8; 718 719 type 720 TGSocketMsgFlags = Integer; 721 const 722 { GSocketMsgFlags } 723 G_SOCKET_MSG_NONE: TGSocketMsgFlags = 0; 724 G_SOCKET_MSG_OOB: TGSocketMsgFlags = 1; 725 G_SOCKET_MSG_PEEK: TGSocketMsgFlags = 2; 726 G_SOCKET_MSG_DONTROUTE: TGSocketMsgFlags = 4; 727 728 type 729 TGTestDBusFlags = Integer; 730 const 731 { GTestDBusFlags } 732 G_TEST_DBUS_NONE: TGTestDBusFlags = 0; 733 734 type 735 TGTlsAuthenticationMode = Integer; 736 const 737 { GTlsAuthenticationMode } 738 G_TLS_AUTHENTICATION_NONE: TGTlsAuthenticationMode = 0; 739 G_TLS_AUTHENTICATION_REQUESTED: TGTlsAuthenticationMode = 1; 740 G_TLS_AUTHENTICATION_REQUIRED: TGTlsAuthenticationMode = 2; 741 742 type 743 TGTlsDatabaseLookupFlags = Integer; 744 const 745 { GTlsDatabaseLookupFlags } 746 G_TLS_DATABASE_LOOKUP_NONE: TGTlsDatabaseLookupFlags = 0; 747 G_TLS_DATABASE_LOOKUP_KEYPAIR: TGTlsDatabaseLookupFlags = 1; 748 749 type 750 TGTlsDatabaseVerifyFlags = Integer; 751 const 752 { GTlsDatabaseVerifyFlags } 753 G_TLS_DATABASE_VERIFY_NONE: TGTlsDatabaseVerifyFlags = 0; 754 755 type 756 TGTlsRehandshakeMode = Integer; 757 const 758 { GTlsRehandshakeMode } 759 G_TLS_REHANDSHAKE_NEVER: TGTlsRehandshakeMode = 0; 760 G_TLS_REHANDSHAKE_SAFELY: TGTlsRehandshakeMode = 1; 761 G_TLS_REHANDSHAKE_UNSAFELY: TGTlsRehandshakeMode = 2; 762 763 type 764 TGTlsError = Integer; 765 const 766 { GTlsError } 767 G_TLS_ERROR_UNAVAILABLE: TGTlsError = 0; 768 G_TLS_ERROR_MISC: TGTlsError = 1; 769 G_TLS_ERROR_BAD_CERTIFICATE: TGTlsError = 2; 770 G_TLS_ERROR_NOT_TLS: TGTlsError = 3; 771 G_TLS_ERROR_HANDSHAKE: TGTlsError = 4; 772 G_TLS_ERROR_CERTIFICATE_REQUIRED: TGTlsError = 5; 773 G_TLS_ERROR_EOF: TGTlsError = 6; 774 775 type 776 TGTlsInteractionResult = Integer; 777 const 778 { GTlsInteractionResult } 779 G_TLS_INTERACTION_UNHANDLED: TGTlsInteractionResult = 0; 780 G_TLS_INTERACTION_HANDLED: TGTlsInteractionResult = 1; 781 G_TLS_INTERACTION_FAILED: TGTlsInteractionResult = 2; 782 783 type 784 TGTlsPasswordFlags = Integer; 785 const 786 { GTlsPasswordFlags } 787 G_TLS_PASSWORD_NONE: TGTlsPasswordFlags = 0; 788 G_TLS_PASSWORD_RETRY: TGTlsPasswordFlags = 2; 789 G_TLS_PASSWORD_MANY_TRIES: TGTlsPasswordFlags = 4; 790 G_TLS_PASSWORD_FINAL_TRY: TGTlsPasswordFlags = 8; 791 792 type 793 TGUnixSocketAddressType = Integer; 794 const 795 { GUnixSocketAddressType } 796 G_UNIX_SOCKET_ADDRESS_INVALID: TGUnixSocketAddressType = 0; 797 G_UNIX_SOCKET_ADDRESS_ANONYMOUS: TGUnixSocketAddressType = 1; 798 G_UNIX_SOCKET_ADDRESS_PATH: TGUnixSocketAddressType = 2; 799 G_UNIX_SOCKET_ADDRESS_ABSTRACT: TGUnixSocketAddressType = 3; 800 G_UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED: TGUnixSocketAddressType = 4; 801 802 type 803 TGZlibCompressorFormat = Integer; 804 const 805 { GZlibCompressorFormat } 806 G_ZLIB_COMPRESSOR_FORMAT_ZLIB: TGZlibCompressorFormat = 0; 807 G_ZLIB_COMPRESSOR_FORMAT_GZIP: TGZlibCompressorFormat = 1; 808 G_ZLIB_COMPRESSOR_FORMAT_RAW: TGZlibCompressorFormat = 2; 809 type 810 811 PPGAction = ^PGAction; 812 PGAction = ^TGAction; 813 TGAction = object 814 procedure activate(parameter: PGVariant); cdecl; inline; 815 procedure change_state(value: PGVariant); cdecl; inline; get_enablednull816 function get_enabled: gboolean; cdecl; inline; get_namenull817 function get_name: Pgchar; cdecl; inline; get_parameter_typenull818 function get_parameter_type: PGVariantType; cdecl; inline; get_statenull819 function get_state: PGVariant; cdecl; inline; get_state_hintnull820 function get_state_hint: PGVariant; cdecl; inline; get_state_typenull821 function get_state_type: PGVariantType; cdecl; inline; 822 property enabled: gboolean read get_enabled ; 823 property name: Pgchar read get_name ; 824 property parameter_type: PGVariantType read get_parameter_type ; 825 property state: PGVariant read get_state ; 826 property state_type: PGVariantType read get_state_type ; 827 end; 828 829 PPGSimpleAction = ^PGSimpleAction; 830 PGSimpleAction = ^TGSimpleAction; 831 TGSimpleAction = object(TGObject) newnull832 function new(name: Pgchar; parameter_type: PGVariantType): PGSimpleAction; cdecl; inline; static; new_statefulnull833 function new_stateful(name: Pgchar; parameter_type: PGVariantType; state: PGVariant): PGSimpleAction; cdecl; inline; static; 834 procedure set_enabled(enabled: gboolean); cdecl; inline; 835 procedure set_state(value: PGVariant); cdecl; inline; 836 //property enabled: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_enabled { property is writeable but setter not declared } ; 837 //property name: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_name { property is writeable but setter not declared } ; 838 //property parameter_type: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_parameter_type { property is writeable but setter not declared } ; 839 //property state: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_state { property is writeable but setter not declared } ; 840 //property state_type: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_state_type ; 841 end; 842 843 PPGActionEntry = ^PGActionEntry; 844 PGActionEntry = ^TGActionEntry; 845 846 TGActionEntry = record 847 name: Pgchar; 848 activate: procedure(action: PGSimpleAction; parameter: PGVariant; user_data: gpointer); cdecl; 849 parameter_type: Pgchar; 850 state: Pgchar; 851 change_state: procedure(action: PGSimpleAction; value: PGVariant; user_data: gpointer); cdecl; 852 padding: array [0..2] of gsize; 853 end; 854 855 856 857 PPGActionGroup = ^PGActionGroup; 858 PGActionGroup = ^TGActionGroup; 859 TGActionGroup = object 860 action_added1: procedure(action_name: Pgchar); cdecl; 861 action_enabled_changed1: procedure(action_name: Pgchar; enabled: gboolean); cdecl; 862 action_removed1: procedure(action_name: Pgchar); cdecl; 863 action_state_changed1: procedure(action_name: Pgchar; value: TGVariant); cdecl; 864 procedure action_added(action_name: Pgchar); cdecl; inline; 865 procedure action_enabled_changed(action_name: Pgchar; enabled: gboolean); cdecl; inline; 866 procedure action_removed(action_name: Pgchar); cdecl; inline; 867 procedure action_state_changed(action_name: Pgchar; state: PGVariant); cdecl; inline; 868 procedure activate_action(action_name: Pgchar; parameter: PGVariant); cdecl; inline; 869 procedure change_action_state(action_name: Pgchar; value: PGVariant); cdecl; inline; get_action_enablednull870 function get_action_enabled(action_name: Pgchar): gboolean; cdecl; inline; get_action_parameter_typenull871 function get_action_parameter_type(action_name: Pgchar): PGVariantType; cdecl; inline; get_action_statenull872 function get_action_state(action_name: Pgchar): PGVariant; cdecl; inline; get_action_state_hintnull873 function get_action_state_hint(action_name: Pgchar): PGVariant; cdecl; inline; get_action_state_typenull874 function get_action_state_type(action_name: Pgchar): PGVariantType; cdecl; inline; has_actionnull875 function has_action(action_name: Pgchar): gboolean; cdecl; inline; list_actionsnull876 function list_actions: PPgchar; cdecl; inline; query_actionnull877 function query_action(action_name: Pgchar; enabled: Pgboolean; parameter_type: PPGVariantType; state_type: PPGVariantType; state_hint: PPGVariant; state: PPGVariant): gboolean; cdecl; inline; 878 end; 879 880 PPGActionGroupInterface = ^PGActionGroupInterface; 881 PGActionGroupInterface = ^TGActionGroupInterface; 882 TGActionGroupInterface = object 883 g_iface: TGTypeInterface; ction_groupnull884 has_action: function(action_group: PGActionGroup; action_name: Pgchar): gboolean; cdecl; ction_groupnull885 list_actions: function(action_group: PGActionGroup): PPgchar; cdecl; ction_groupnull886 get_action_enabled: function(action_group: PGActionGroup; action_name: Pgchar): gboolean; cdecl; ction_groupnull887 get_action_parameter_type: function(action_group: PGActionGroup; action_name: Pgchar): PGVariantType; cdecl; ction_groupnull888 get_action_state_type: function(action_group: PGActionGroup; action_name: Pgchar): PGVariantType; cdecl; ction_groupnull889 get_action_state_hint: function(action_group: PGActionGroup; action_name: Pgchar): PGVariant; cdecl; ction_groupnull890 get_action_state: function(action_group: PGActionGroup; action_name: Pgchar): PGVariant; cdecl; 891 change_action_state: procedure(action_group: PGActionGroup; action_name: Pgchar; value: PGVariant); cdecl; 892 activate_action: procedure(action_group: PGActionGroup; action_name: Pgchar; parameter: PGVariant); cdecl; 893 action_added: procedure(action_group: PGActionGroup; action_name: Pgchar); cdecl; 894 action_removed: procedure(action_group: PGActionGroup; action_name: Pgchar); cdecl; 895 action_enabled_changed: procedure(action_group: PGActionGroup; action_name: Pgchar; enabled: gboolean); cdecl; 896 action_state_changed: procedure(action_group: PGActionGroup; action_name: Pgchar; state: PGVariant); cdecl; ction_groupnull897 query_action: function(action_group: PGActionGroup; action_name: Pgchar; enabled: Pgboolean; parameter_type: PPGVariantType; state_type: PPGVariantType; state_hint: PPGVariant; state: PPGVariant): gboolean; cdecl; 898 end; 899 900 PPGActionInterface = ^PGActionInterface; 901 PGActionInterface = ^TGActionInterface; 902 TGActionInterface = object 903 g_iface: TGTypeInterface; ctionnull904 get_name: function(action: PGAction): Pgchar; cdecl; ctionnull905 get_parameter_type: function(action: PGAction): PGVariantType; cdecl; ctionnull906 get_state_type: function(action: PGAction): PGVariantType; cdecl; ctionnull907 get_state_hint: function(action: PGAction): PGVariant; cdecl; ctionnull908 get_enabled: function(action: PGAction): gboolean; cdecl; ctionnull909 get_state: function(action: PGAction): PGVariant; cdecl; 910 change_state: procedure(action: PGAction; value: PGVariant); cdecl; 911 activate: procedure(action: PGAction; parameter: PGVariant); cdecl; 912 end; 913 914 PPGActionMap = ^PGActionMap; 915 PGActionMap = ^TGActionMap; 916 TGActionMap = object 917 procedure add_action(action: PGAction); cdecl; inline; 918 procedure add_action_entries(entries: PGActionEntry; n_entries: gint; user_data: gpointer); cdecl; inline; lookup_actionnull919 function lookup_action(action_name: Pgchar): PGAction; cdecl; inline; 920 procedure remove_action(action_name: Pgchar); cdecl; inline; 921 end; 922 923 PPGActionMapInterface = ^PGActionMapInterface; 924 PGActionMapInterface = ^TGActionMapInterface; 925 TGActionMapInterface = object 926 g_iface: TGTypeInterface; ction_mapnull927 lookup_action: function(action_map: PGActionMap; action_name: Pgchar): PGAction; cdecl; 928 add_action: procedure(action_map: PGActionMap; action: PGAction); cdecl; 929 remove_action: procedure(action_map: PGActionMap; action_name: Pgchar); cdecl; 930 end; 931 932 PPGAppInfo = ^PGAppInfo; 933 PGAppInfo = ^TGAppInfo; 934 935 PPGAppInfoCreateFlags = ^PGAppInfoCreateFlags; 936 PGAppInfoCreateFlags = ^TGAppInfoCreateFlags; 937 938 PPGAppLaunchContext = ^PGAppLaunchContext; 939 PGAppLaunchContext = ^TGAppLaunchContext; 940 941 PPGIcon = ^PGIcon; 942 PGIcon = ^TGIcon; 943 TGAppInfo = object create_from_commandlinenull944 function create_from_commandline(commandline: Pgchar; application_name: Pgchar; flags: TGAppInfoCreateFlags; error: PPGError): PGAppInfo; cdecl; inline; static; get_allnull945 function get_all: PGList; cdecl; inline; static; get_all_for_typenull946 function get_all_for_type(content_type: Pgchar): PGList; cdecl; inline; static; get_default_for_typenull947 function get_default_for_type(content_type: Pgchar; must_support_uris: gboolean): PGAppInfo; cdecl; inline; static; get_default_for_uri_schemenull948 function get_default_for_uri_scheme(uri_scheme: Pgchar): PGAppInfo; cdecl; inline; static; get_fallback_for_typenull949 function get_fallback_for_type(content_type: Pgchar): PGList; cdecl; inline; static; get_recommended_for_typenull950 function get_recommended_for_type(content_type: Pgchar): PGList; cdecl; inline; static; launch_default_for_urinull951 function launch_default_for_uri(uri: Pgchar; launch_context: PGAppLaunchContext; error: PPGError): gboolean; cdecl; inline; static; 952 procedure reset_type_associations(content_type: Pgchar); cdecl; inline; static; add_supports_typenull953 function add_supports_type(content_type: Pgchar; error: PPGError): gboolean; cdecl; inline; can_deletenull954 function can_delete: gboolean; cdecl; inline; can_remove_supports_typenull955 function can_remove_supports_type: gboolean; cdecl; inline; deletenull956 function delete: gboolean; cdecl; inline; dupnull957 function dup: PGAppInfo; cdecl; inline; equalnull958 function equal(appinfo2: PGAppInfo): gboolean; cdecl; inline; get_commandlinenull959 function get_commandline: Pgchar; cdecl; inline; get_descriptionnull960 function get_description: Pgchar; cdecl; inline; get_display_namenull961 function get_display_name: Pgchar; cdecl; inline; get_executablenull962 function get_executable: Pgchar; cdecl; inline; get_iconnull963 function get_icon: PGIcon; cdecl; inline; get_idnull964 function get_id: Pgchar; cdecl; inline; get_namenull965 function get_name: Pgchar; cdecl; inline; get_supported_typesnull966 function get_supported_types: PPgchar; cdecl; inline; launchnull967 function launch(files: PGList; launch_context: PGAppLaunchContext; error: PPGError): gboolean; cdecl; inline; launch_urisnull968 function launch_uris(uris: PGList; launch_context: PGAppLaunchContext; error: PPGError): gboolean; cdecl; inline; remove_supports_typenull969 function remove_supports_type(content_type: Pgchar; error: PPGError): gboolean; cdecl; inline; set_as_default_for_extensionnull970 function set_as_default_for_extension(extension: Pgchar; error: PPGError): gboolean; cdecl; inline; set_as_default_for_typenull971 function set_as_default_for_type(content_type: Pgchar; error: PPGError): gboolean; cdecl; inline; set_as_last_used_for_typenull972 function set_as_last_used_for_type(content_type: Pgchar; error: PPGError): gboolean; cdecl; inline; should_shownull973 function should_show: gboolean; cdecl; inline; supports_filesnull974 function supports_files: gboolean; cdecl; inline; supports_urisnull975 function supports_uris: gboolean; cdecl; inline; 976 end; 977 978 PPGAppLaunchContextPrivate = ^PGAppLaunchContextPrivate; 979 PGAppLaunchContextPrivate = ^TGAppLaunchContextPrivate; 980 TGAppLaunchContext = object(TGObject) 981 priv: PGAppLaunchContextPrivate; newnull982 function new: PGAppLaunchContext; cdecl; inline; static; get_displaynull983 function get_display(info: PGAppInfo; files: PGList): Pgchar; cdecl; inline; get_environmentnull984 function get_environment: PPgchar; cdecl; inline; get_startup_notify_idnull985 function get_startup_notify_id(info: PGAppInfo; files: PGList): Pgchar; cdecl; inline; 986 procedure launch_failed(startup_notify_id: Pgchar); cdecl; inline; 987 procedure setenv(variable: Pgchar; value: Pgchar); cdecl; inline; 988 procedure unsetenv(variable: Pgchar); cdecl; inline; 989 end; 990 TGIcon = object hashnull991 function hash(icon: Pgpointer): guint; cdecl; inline; static; new_for_stringnull992 function new_for_string(str: Pgchar; error: PPGError): PGIcon; cdecl; inline; static; equalnull993 function equal(icon2: PGIcon): gboolean; cdecl; inline; to_stringnull994 function to_string: Pgchar; cdecl; inline; 995 end; 996 997 PPGAppInfoIface = ^PGAppInfoIface; 998 PGAppInfoIface = ^TGAppInfoIface; 999 TGAppInfoIface = object 1000 g_iface: TGTypeInterface; ppinfonull1001 dup: function(appinfo: PGAppInfo): PGAppInfo; cdecl; ppinfo1null1002 equal: function(appinfo1: PGAppInfo; appinfo2: PGAppInfo): gboolean; cdecl; ppinfonull1003 get_id: function(appinfo: PGAppInfo): Pgchar; cdecl; ppinfonull1004 get_name: function(appinfo: PGAppInfo): Pgchar; cdecl; ppinfonull1005 get_description: function(appinfo: PGAppInfo): Pgchar; cdecl; ppinfonull1006 get_executable: function(appinfo: PGAppInfo): Pgchar; cdecl; ppinfonull1007 get_icon: function(appinfo: PGAppInfo): PGIcon; cdecl; ppinfonull1008 launch: function(appinfo: PGAppInfo; files: PGList; launch_context: PGAppLaunchContext; error: PPGError): gboolean; cdecl; ppinfonull1009 supports_uris: function(appinfo: PGAppInfo): gboolean; cdecl; ppinfonull1010 supports_files: function(appinfo: PGAppInfo): gboolean; cdecl; ppinfonull1011 launch_uris: function(appinfo: PGAppInfo; uris: PGList; launch_context: PGAppLaunchContext; error: PPGError): gboolean; cdecl; ppinfonull1012 should_show: function(appinfo: PGAppInfo): gboolean; cdecl; ppinfonull1013 set_as_default_for_type: function(appinfo: PGAppInfo; content_type: Pgchar; error: PPGError): gboolean; cdecl; ppinfonull1014 set_as_default_for_extension: function(appinfo: PGAppInfo; extension: Pgchar; error: PPGError): gboolean; cdecl; ppinfonull1015 add_supports_type: function(appinfo: PGAppInfo; content_type: Pgchar; error: PPGError): gboolean; cdecl; ppinfonull1016 can_remove_supports_type: function(appinfo: PGAppInfo): gboolean; cdecl; ppinfonull1017 remove_supports_type: function(appinfo: PGAppInfo; content_type: Pgchar; error: PPGError): gboolean; cdecl; ppinfonull1018 can_delete: function(appinfo: PGAppInfo): gboolean; cdecl; ppinfonull1019 do_delete: function(appinfo: PGAppInfo): gboolean; cdecl; ppinfonull1020 get_commandline: function(appinfo: PGAppInfo): Pgchar; cdecl; ppinfonull1021 get_display_name: function(appinfo: PGAppInfo): Pgchar; cdecl; ppinfonull1022 set_as_last_used_for_type: function(appinfo: PGAppInfo; content_type: Pgchar; error: PPGError): gboolean; cdecl; ppinfonull1023 get_supported_types: function(appinfo: PGAppInfo): PPgchar; cdecl; 1024 end; 1025 1026 TGAppLaunchContextPrivate = record 1027 end; 1028 1029 1030 1031 PPGAppLaunchContextClass = ^PGAppLaunchContextClass; 1032 PGAppLaunchContextClass = ^TGAppLaunchContextClass; 1033 TGAppLaunchContextClass = object 1034 parent_class: TGObjectClass; ontextnull1035 get_display: function(context: PGAppLaunchContext; info: PGAppInfo; files: PGList): Pgchar; cdecl; ontextnull1036 get_startup_notify_id: function(context: PGAppLaunchContext; info: PGAppInfo; files: PGList): Pgchar; cdecl; 1037 launch_failed: procedure(context: PGAppLaunchContext; startup_notify_id: Pgchar); cdecl; 1038 launched: procedure(context: PGAppLaunchContext; info: PGAppInfo; platform_data: PGVariant); cdecl; 1039 _g_reserved1: procedure; cdecl; 1040 _g_reserved2: procedure; cdecl; 1041 _g_reserved3: procedure; cdecl; 1042 _g_reserved4: procedure; cdecl; 1043 end; 1044 1045 PPGApplication = ^PGApplication; 1046 PGApplication = ^TGApplication; 1047 1048 PPGApplicationFlags = ^PGApplicationFlags; 1049 PGApplicationFlags = ^TGApplicationFlags; 1050 1051 PPGDBusConnection = ^PGDBusConnection; 1052 PGDBusConnection = ^TGDBusConnection; 1053 1054 PPGFile = ^PGFile; 1055 PGFile = ^TGFile; 1056 1057 PPGCancellable = ^PGCancellable; 1058 PGCancellable = ^TGCancellable; 1059 1060 PPGApplicationPrivate = ^PGApplicationPrivate; 1061 PGApplicationPrivate = ^TGApplicationPrivate; 1062 TGApplication = object(TGObject) 1063 priv: PGApplicationPrivate; newnull1064 function new(application_id: Pgchar; flags: TGApplicationFlags): PGApplication; cdecl; inline; static; get_defaultnull1065 function get_default: PGApplication; cdecl; inline; static; id_is_validnull1066 function id_is_valid(application_id: Pgchar): gboolean; cdecl; inline; static; 1067 procedure activate; cdecl; inline; get_application_idnull1068 function get_application_id: Pgchar; cdecl; inline; get_dbus_connectionnull1069 function get_dbus_connection: PGDBusConnection; cdecl; inline; get_dbus_object_pathnull1070 function get_dbus_object_path: Pgchar; cdecl; inline; get_flagsnull1071 function get_flags: TGApplicationFlags; cdecl; inline; get_inactivity_timeoutnull1072 function get_inactivity_timeout: guint; cdecl; inline; get_is_registerednull1073 function get_is_registered: gboolean; cdecl; inline; get_is_remotenull1074 function get_is_remote: gboolean; cdecl; inline; 1075 procedure hold; cdecl; inline; 1076 procedure open(files: PPGFile; n_files: gint; hint: Pgchar); cdecl; inline; 1077 procedure quit; cdecl; inline; registernull1078 function register(cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; 1079 procedure release; cdecl; inline; runnull1080 function run(argc: gint; argv: PPgchar): gint; cdecl; inline; 1081 procedure set_application_id(application_id: Pgchar); cdecl; inline; 1082 procedure set_default; cdecl; inline; 1083 procedure set_flags(flags: TGApplicationFlags); cdecl; inline; 1084 procedure set_inactivity_timeout(inactivity_timeout: guint); cdecl; inline; 1085 //property action_group: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_action_group { property is writeable but setter not declared } ; 1086 property application_id: Pgchar read get_application_id write set_application_id; 1087 property flags: TGApplicationFlags read get_flags write set_flags; 1088 property inactivity_timeout: guint read get_inactivity_timeout write set_inactivity_timeout; 1089 property is_registered: gboolean read get_is_registered ; 1090 property is_remote: gboolean read get_is_remote ; 1091 end; 1092 1093 PPGApplicationCommandLine = ^PGApplicationCommandLine; 1094 PGApplicationCommandLine = ^TGApplicationCommandLine; 1095 1096 PPGInputStream = ^PGInputStream; 1097 PGInputStream = ^TGInputStream; 1098 1099 PPGApplicationCommandLinePrivate = ^PGApplicationCommandLinePrivate; 1100 PGApplicationCommandLinePrivate = ^TGApplicationCommandLinePrivate; 1101 TGApplicationCommandLine = object(TGObject) 1102 priv: PGApplicationCommandLinePrivate; create_file_for_argnull1103 function create_file_for_arg(arg: Pgchar): PGFile; cdecl; inline; get_argumentsnull1104 function get_arguments(argc: Pgint): PPgchar; cdecl; inline; get_cwdnull1105 function get_cwd: Pgchar; cdecl; inline; get_environnull1106 function get_environ: PPgchar; cdecl; inline; get_exit_statusnull1107 function get_exit_status: gint; cdecl; inline; get_is_remotenull1108 function get_is_remote: gboolean; cdecl; inline; get_platform_datanull1109 function get_platform_data: PGVariant; cdecl; inline; get_stdinnull1110 function get_stdin: PGInputStream; cdecl; inline; getenvnull1111 function getenv(name: Pgchar): Pgchar; cdecl; inline; 1112 //procedure print(format: Pgchar; args: array of const); cdecl; inline; 1113 //procedure printerr(format: Pgchar; args: array of const); cdecl; inline; 1114 procedure set_exit_status(exit_status: gint); cdecl; inline; 1115 //property arguments: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_arguments { property is writeable but setter not declared } ; 1116 property is_remote: gboolean read get_is_remote ; 1117 property platform_data: PGVariant read get_platform_data { property is writeable but setter not declared } ; 1118 end; 1119 1120 PPGAsyncResult = ^PGAsyncResult; 1121 PGAsyncResult = ^TGAsyncResult; 1122 1123 PPGDBusConnectionFlags = ^PGDBusConnectionFlags; 1124 PGDBusConnectionFlags = ^TGDBusConnectionFlags; 1125 1126 PPGDBusAuthObserver = ^PGDBusAuthObserver; 1127 PGDBusAuthObserver = ^TGDBusAuthObserver; 1128 1129 PPGIOStream = ^PGIOStream; 1130 PGIOStream = ^TGIOStream; 1131 1132 PPGAsyncReadyCallback = ^PGAsyncReadyCallback; 1133 PGAsyncReadyCallback = ^TGAsyncReadyCallback; 1134 TGAsyncReadyCallback = procedure(source_object: PGObject; res: PGAsyncResult; user_data: gpointer); cdecl; 1135 1136 PPGDBusMessageFilterFunction = ^PGDBusMessageFilterFunction; 1137 PGDBusMessageFilterFunction = ^TGDBusMessageFilterFunction; 1138 1139 PPGDBusMessage = ^PGDBusMessage; 1140 PGDBusMessage = ^TGDBusMessage; 1141 TGDBusMessageFilterFunction = function(connection: PGDBusConnection; message: PGDBusMessage; incoming: gboolean; user_data: gpointer): PGDBusMessage; cdecl; 1142 1143 PPGDBusCallFlags = ^PGDBusCallFlags; 1144 PGDBusCallFlags = ^TGDBusCallFlags; 1145 1146 PPGUnixFDList = ^PGUnixFDList; 1147 PGUnixFDList = ^TGUnixFDList; 1148 1149 PPGMenuModel = ^PGMenuModel; 1150 PGMenuModel = ^TGMenuModel; 1151 1152 PPGDBusCapabilityFlags = ^PGDBusCapabilityFlags; 1153 PGDBusCapabilityFlags = ^TGDBusCapabilityFlags; 1154 1155 PPGCredentials = ^PGCredentials; 1156 PGCredentials = ^TGCredentials; 1157 1158 PPGDBusInterfaceInfo = ^PGDBusInterfaceInfo; 1159 PGDBusInterfaceInfo = ^TGDBusInterfaceInfo; 1160 1161 PPGDBusInterfaceVTable = ^PGDBusInterfaceVTable; 1162 PGDBusInterfaceVTable = ^TGDBusInterfaceVTable; 1163 1164 PPGDBusSubtreeVTable = ^PGDBusSubtreeVTable; 1165 PGDBusSubtreeVTable = ^TGDBusSubtreeVTable; 1166 1167 PPGDBusSubtreeFlags = ^PGDBusSubtreeFlags; 1168 PGDBusSubtreeFlags = ^TGDBusSubtreeFlags; 1169 1170 PPGDBusSendMessageFlags = ^PGDBusSendMessageFlags; 1171 PGDBusSendMessageFlags = ^TGDBusSendMessageFlags; 1172 1173 PPGDBusSignalFlags = ^PGDBusSignalFlags; 1174 PGDBusSignalFlags = ^TGDBusSignalFlags; 1175 1176 PPGDBusSignalCallback = ^PGDBusSignalCallback; 1177 PGDBusSignalCallback = ^TGDBusSignalCallback; 1178 TGDBusSignalCallback = procedure(connection: PGDBusConnection; sender_name: Pgchar; object_path: Pgchar; interface_name: Pgchar; signal_name: Pgchar; parameters: PGVariant; user_data: gpointer); cdecl; 1179 TGDBusConnection = object(TGObject) new_finishnull1180 function new_finish(res: PGAsyncResult; error: PPGError): PGDBusConnection; cdecl; inline; static; new_for_address_finishnull1181 function new_for_address_finish(res: PGAsyncResult; error: PPGError): PGDBusConnection; cdecl; inline; static; new_for_address_syncnull1182 function new_for_address_sync(address: Pgchar; flags: TGDBusConnectionFlags; observer: PGDBusAuthObserver; cancellable: PGCancellable; error: PPGError): PGDBusConnection; cdecl; inline; static; new_syncnull1183 function new_sync(stream: PGIOStream; guid: Pgchar; flags: TGDBusConnectionFlags; observer: PGDBusAuthObserver; cancellable: PGCancellable; error: PPGError): PGDBusConnection; cdecl; inline; static; 1184 procedure new(stream: PGIOStream; guid: Pgchar; flags: TGDBusConnectionFlags; observer: PGDBusAuthObserver; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; static; 1185 procedure new_for_address(address: Pgchar; flags: TGDBusConnectionFlags; observer: PGDBusAuthObserver; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; static; add_filternull1186 function add_filter(filter_function: TGDBusMessageFilterFunction; user_data: gpointer; user_data_free_func: TGDestroyNotify): guint; cdecl; inline; 1187 procedure call(bus_name: Pgchar; object_path: Pgchar; interface_name: Pgchar; method_name: Pgchar; parameters: PGVariant; reply_type: PGVariantType; flags: TGDBusCallFlags; timeout_msec: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; call_finishnull1188 function call_finish(res: PGAsyncResult; error: PPGError): PGVariant; cdecl; inline; call_syncnull1189 function call_sync(bus_name: Pgchar; object_path: Pgchar; interface_name: Pgchar; method_name: Pgchar; parameters: PGVariant; reply_type: PGVariantType; flags: TGDBusCallFlags; timeout_msec: gint; cancellable: PGCancellable; error: PPGError): PGVariant; cdecl; inline; 1190 procedure call_with_unix_fd_list(bus_name: Pgchar; object_path: Pgchar; interface_name: Pgchar; method_name: Pgchar; parameters: PGVariant; reply_type: PGVariantType; flags: TGDBusCallFlags; timeout_msec: gint; fd_list: PGUnixFDList; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; call_with_unix_fd_list_finishnull1191 function call_with_unix_fd_list_finish(out_fd_list: PPGUnixFDList; res: PGAsyncResult; error: PPGError): PGVariant; cdecl; inline; call_with_unix_fd_list_syncnull1192 function call_with_unix_fd_list_sync(bus_name: Pgchar; object_path: Pgchar; interface_name: Pgchar; method_name: Pgchar; parameters: PGVariant; reply_type: PGVariantType; flags: TGDBusCallFlags; timeout_msec: gint; fd_list: PGUnixFDList; out_fd_list: PPGUnixFDList; cancellable: PGCancellable; error: PPGError): PGVariant; cdecl; inline; 1193 procedure close(cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; close_finishnull1194 function close_finish(res: PGAsyncResult; error: PPGError): gboolean; cdecl; inline; close_syncnull1195 function close_sync(cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; emit_signalnull1196 function emit_signal(destination_bus_name: Pgchar; object_path: Pgchar; interface_name: Pgchar; signal_name: Pgchar; parameters: PGVariant; error: PPGError): gboolean; cdecl; inline; export_action_groupnull1197 function export_action_group(object_path: Pgchar; action_group: PGActionGroup; error: PPGError): guint; cdecl; inline; export_menu_modelnull1198 function export_menu_model(object_path: Pgchar; menu: PGMenuModel; error: PPGError): guint; cdecl; inline; 1199 procedure flush(cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; flush_finishnull1200 function flush_finish(res: PGAsyncResult; error: PPGError): gboolean; cdecl; inline; flush_syncnull1201 function flush_sync(cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; get_capabilitiesnull1202 function get_capabilities: TGDBusCapabilityFlags; cdecl; inline; get_exit_on_closenull1203 function get_exit_on_close: gboolean; cdecl; inline; get_guidnull1204 function get_guid: Pgchar; cdecl; inline; get_last_serialnull1205 function get_last_serial: guint32; cdecl; inline; get_peer_credentialsnull1206 function get_peer_credentials: PGCredentials; cdecl; inline; get_streamnull1207 function get_stream: PGIOStream; cdecl; inline; get_unique_namenull1208 function get_unique_name: Pgchar; cdecl; inline; is_closednull1209 function is_closed: gboolean; cdecl; inline; register_objectnull1210 function register_object(object_path: Pgchar; interface_info: PGDBusInterfaceInfo; vtable: PGDBusInterfaceVTable; user_data: gpointer; user_data_free_func: TGDestroyNotify; error: PPGError): guint; cdecl; inline; register_subtreenull1211 function register_subtree(object_path: Pgchar; vtable: PGDBusSubtreeVTable; flags: TGDBusSubtreeFlags; user_data: gpointer; user_data_free_func: TGDestroyNotify; error: PPGError): guint; cdecl; inline; 1212 procedure remove_filter(filter_id: guint); cdecl; inline; send_messagenull1213 function send_message(message: PGDBusMessage; flags: TGDBusSendMessageFlags; out_serial: Pguint32; error: PPGError): gboolean; cdecl; inline; 1214 procedure send_message_with_reply(message: PGDBusMessage; flags: TGDBusSendMessageFlags; timeout_msec: gint; out_serial: Pguint32; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; send_message_with_reply_finishnull1215 function send_message_with_reply_finish(res: PGAsyncResult; error: PPGError): PGDBusMessage; cdecl; inline; send_message_with_reply_syncnull1216 function send_message_with_reply_sync(message: PGDBusMessage; flags: TGDBusSendMessageFlags; timeout_msec: gint; out_serial: Pguint32; cancellable: PGCancellable; error: PPGError): PGDBusMessage; cdecl; inline; 1217 procedure set_exit_on_close(exit_on_close: gboolean); cdecl; inline; signal_subscribenull1218 function signal_subscribe(sender: Pgchar; interface_name: Pgchar; member: Pgchar; object_path: Pgchar; arg0: Pgchar; flags: TGDBusSignalFlags; callback: TGDBusSignalCallback; user_data: gpointer; user_data_free_func: TGDestroyNotify): guint; cdecl; inline; 1219 procedure signal_unsubscribe(subscription_id: guint); cdecl; inline; 1220 procedure start_message_processing; cdecl; inline; 1221 procedure unexport_action_group(export_id: guint); cdecl; inline; 1222 procedure unexport_menu_model(export_id: guint); cdecl; inline; unregister_objectnull1223 function unregister_object(registration_id: guint): gboolean; cdecl; inline; unregister_subtreenull1224 function unregister_subtree(registration_id: guint): gboolean; cdecl; inline; 1225 //property address: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_address { property is writeable but setter not declared } ; 1226 //property authentication_observer: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_authentication_observer { property is writeable but setter not declared } ; 1227 property capabilities: TGDBusCapabilityFlags read get_capabilities ; 1228 //property closed: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_closed ; 1229 property exit_on_close: gboolean read get_exit_on_close write set_exit_on_close; 1230 //property flags: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_flags { property is writeable but setter not declared } ; 1231 property guid: Pgchar read get_guid { property is writeable but setter not declared } ; 1232 property stream: PGIOStream read get_stream { property is writeable but setter not declared } ; 1233 property unique_name: Pgchar read get_unique_name ; 1234 end; 1235 1236 PPGFileIOStream = ^PGFileIOStream; 1237 PGFileIOStream = ^TGFileIOStream; 1238 1239 PPGFileOutputStream = ^PGFileOutputStream; 1240 PGFileOutputStream = ^TGFileOutputStream; 1241 1242 PPGFileCreateFlags = ^PGFileCreateFlags; 1243 PGFileCreateFlags = ^TGFileCreateFlags; 1244 1245 PPGFileCopyFlags = ^PGFileCopyFlags; 1246 PGFileCopyFlags = ^TGFileCopyFlags; 1247 1248 PPGFileProgressCallback = ^PGFileProgressCallback; 1249 PGFileProgressCallback = ^TGFileProgressCallback; 1250 TGFileProgressCallback = procedure(current_num_bytes: gint64; total_num_bytes: gint64; user_data: gpointer); cdecl; 1251 1252 PPGMountUnmountFlags = ^PGMountUnmountFlags; 1253 PGMountUnmountFlags = ^TGMountUnmountFlags; 1254 1255 PPGMountOperation = ^PGMountOperation; 1256 PGMountOperation = ^TGMountOperation; 1257 1258 PPGFileEnumerator = ^PGFileEnumerator; 1259 PGFileEnumerator = ^TGFileEnumerator; 1260 1261 PPGFileQueryInfoFlags = ^PGFileQueryInfoFlags; 1262 PGFileQueryInfoFlags = ^TGFileQueryInfoFlags; 1263 1264 PPGMount = ^PGMount; 1265 PGMount = ^TGMount; 1266 1267 PPGFileReadMoreCallback = ^PGFileReadMoreCallback; 1268 PGFileReadMoreCallback = ^TGFileReadMoreCallback; ile_contentsnull1269 TGFileReadMoreCallback = function(file_contents: Pgchar; file_size: gint64; callback_data: gpointer): gboolean; cdecl; 1270 1271 PPGFileMonitor = ^PGFileMonitor; 1272 PGFileMonitor = ^TGFileMonitor; 1273 1274 PPGFileMonitorFlags = ^PGFileMonitorFlags; 1275 PGFileMonitorFlags = ^TGFileMonitorFlags; 1276 1277 PPGMountMountFlags = ^PGMountMountFlags; 1278 PGMountMountFlags = ^TGMountMountFlags; 1279 1280 PPGFileType = ^PGFileType; 1281 PGFileType = ^TGFileType; 1282 1283 PPGFileInfo = ^PGFileInfo; 1284 PGFileInfo = ^TGFileInfo; 1285 1286 PPGFileAttributeInfoList = ^PGFileAttributeInfoList; 1287 PGFileAttributeInfoList = ^TGFileAttributeInfoList; 1288 1289 PPGFileInputStream = ^PGFileInputStream; 1290 PGFileInputStream = ^TGFileInputStream; 1291 1292 PPGFileAttributeType = ^PGFileAttributeType; 1293 PGFileAttributeType = ^TGFileAttributeType; 1294 1295 PPGDriveStartFlags = ^PGDriveStartFlags; 1296 PGDriveStartFlags = ^TGDriveStartFlags; 1297 TGFile = object new_for_commandline_argnull1298 function new_for_commandline_arg(arg: Pgchar): PGFile; cdecl; inline; static; new_for_commandline_arg_and_cwdnull1299 function new_for_commandline_arg_and_cwd(arg: Pgchar; cwd: Pgchar): PGFile; cdecl; inline; static; new_for_pathnull1300 function new_for_path(path: Pgchar): PGFile; cdecl; inline; static; new_for_urinull1301 function new_for_uri(uri: Pgchar): PGFile; cdecl; inline; static; new_tmpnull1302 function new_tmp(tmpl: Pgchar; iostream: PPGFileIOStream; error: PPGError): PGFile; cdecl; inline; static; parse_namenull1303 function parse_name(parse_name: Pgchar): PGFile; cdecl; inline; static; append_tonull1304 function append_to(flags: TGFileCreateFlags; cancellable: PGCancellable; error: PPGError): PGFileOutputStream; cdecl; inline; 1305 procedure append_to_async(flags: TGFileCreateFlags; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; append_to_finishnull1306 function append_to_finish(res: PGAsyncResult; error: PPGError): PGFileOutputStream; cdecl; inline; copynull1307 function copy(destination: PGFile; flags: TGFileCopyFlags; cancellable: PGCancellable; progress_callback: TGFileProgressCallback; progress_callback_data: gpointer; error: PPGError): gboolean; cdecl; inline; 1308 procedure copy_async(destination: PGFile; flags: TGFileCopyFlags; io_priority: gint; cancellable: PGCancellable; progress_callback: TGFileProgressCallback; progress_callback_data: gpointer; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; copy_attributesnull1309 function copy_attributes(destination: PGFile; flags: TGFileCopyFlags; cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; copy_finishnull1310 function copy_finish(res: PGAsyncResult; error: PPGError): gboolean; cdecl; inline; createnull1311 function create(flags: TGFileCreateFlags; cancellable: PGCancellable; error: PPGError): PGFileOutputStream; cdecl; inline; 1312 procedure create_async(flags: TGFileCreateFlags; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; create_finishnull1313 function create_finish(res: PGAsyncResult; error: PPGError): PGFileOutputStream; cdecl; inline; create_readwritenull1314 function create_readwrite(flags: TGFileCreateFlags; cancellable: PGCancellable; error: PPGError): PGFileIOStream; cdecl; inline; 1315 procedure create_readwrite_async(flags: TGFileCreateFlags; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; create_readwrite_finishnull1316 function create_readwrite_finish(res: PGAsyncResult; error: PPGError): PGFileIOStream; cdecl; inline; deletenull1317 function delete(cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; 1318 procedure delete_async(io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; delete_finishnull1319 function delete_finish(result_: PGAsyncResult; error: PPGError): gboolean; cdecl; inline; dupnull1320 function dup: PGFile; cdecl; inline; 1321 procedure eject_mountable_with_operation(flags: TGMountUnmountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; eject_mountable_with_operation_finishnull1322 function eject_mountable_with_operation_finish(result_: PGAsyncResult; error: PPGError): gboolean; cdecl; inline; enumerate_childrennull1323 function enumerate_children(attributes: Pgchar; flags: TGFileQueryInfoFlags; cancellable: PGCancellable; error: PPGError): PGFileEnumerator; cdecl; inline; 1324 procedure enumerate_children_async(attributes: Pgchar; flags: TGFileQueryInfoFlags; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; enumerate_children_finishnull1325 function enumerate_children_finish(res: PGAsyncResult; error: PPGError): PGFileEnumerator; cdecl; inline; equalnull1326 function equal(file2: PGFile): gboolean; cdecl; inline; find_enclosing_mountnull1327 function find_enclosing_mount(cancellable: PGCancellable; error: PPGError): PGMount; cdecl; inline; 1328 procedure find_enclosing_mount_async(io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; find_enclosing_mount_finishnull1329 function find_enclosing_mount_finish(res: PGAsyncResult; error: PPGError): PGMount; cdecl; inline; get_basenamenull1330 function get_basename: Pgchar; cdecl; inline; get_childnull1331 function get_child(name: Pgchar): PGFile; cdecl; inline; get_child_for_display_namenull1332 function get_child_for_display_name(display_name: Pgchar; error: PPGError): PGFile; cdecl; inline; get_parentnull1333 function get_parent: PGFile; cdecl; inline; get_parse_namenull1334 function get_parse_name: Pgchar; cdecl; inline; get_pathnull1335 function get_path: Pgchar; cdecl; inline; get_relative_pathnull1336 function get_relative_path(descendant: PGFile): Pgchar; cdecl; inline; get_urinull1337 function get_uri: Pgchar; cdecl; inline; get_uri_schemenull1338 function get_uri_scheme: Pgchar; cdecl; inline; has_parentnull1339 function has_parent(parent: PGFile): gboolean; cdecl; inline; has_prefixnull1340 function has_prefix(prefix: PGFile): gboolean; cdecl; inline; has_uri_schemenull1341 function has_uri_scheme(uri_scheme: Pgchar): gboolean; cdecl; inline; hashnull1342 function hash: guint; cdecl; inline; is_nativenull1343 function is_native: gboolean; cdecl; inline; load_contentsnull1344 function load_contents(cancellable: PGCancellable; contents: PPgchar; length: Pgsize; etag_out: PPgchar; error: PPGError): gboolean; cdecl; inline; 1345 procedure load_contents_async(cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; load_contents_finishnull1346 function load_contents_finish(res: PGAsyncResult; contents: PPgchar; length: Pgsize; etag_out: PPgchar; error: PPGError): gboolean; cdecl; inline; 1347 procedure load_partial_contents_async(cancellable: PGCancellable; read_more_callback: TGFileReadMoreCallback; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; load_partial_contents_finishnull1348 function load_partial_contents_finish(res: PGAsyncResult; contents: PPgchar; length: Pgsize; etag_out: PPgchar; error: PPGError): gboolean; cdecl; inline; make_directorynull1349 function make_directory(cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; make_directory_with_parentsnull1350 function make_directory_with_parents(cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; make_symbolic_linknull1351 function make_symbolic_link(symlink_value: Pgchar; cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; monitornull1352 function monitor(flags: TGFileMonitorFlags; cancellable: PGCancellable; error: PPGError): PGFileMonitor; cdecl; inline; monitor_directorynull1353 function monitor_directory(flags: TGFileMonitorFlags; cancellable: PGCancellable; error: PPGError): PGFileMonitor; cdecl; inline; monitor_filenull1354 function monitor_file(flags: TGFileMonitorFlags; cancellable: PGCancellable; error: PPGError): PGFileMonitor; cdecl; inline; 1355 procedure mount_enclosing_volume(flags: TGMountMountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; mount_enclosing_volume_finishnull1356 function mount_enclosing_volume_finish(result_: PGAsyncResult; error: PPGError): gboolean; cdecl; inline; 1357 procedure mount_mountable(flags: TGMountMountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; mount_mountable_finishnull1358 function mount_mountable_finish(result_: PGAsyncResult; error: PPGError): PGFile; cdecl; inline; movenull1359 function move(destination: PGFile; flags: TGFileCopyFlags; cancellable: PGCancellable; progress_callback: TGFileProgressCallback; progress_callback_data: gpointer; error: PPGError): gboolean; cdecl; inline; open_readwritenull1360 function open_readwrite(cancellable: PGCancellable; error: PPGError): PGFileIOStream; cdecl; inline; 1361 procedure open_readwrite_async(io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; open_readwrite_finishnull1362 function open_readwrite_finish(res: PGAsyncResult; error: PPGError): PGFileIOStream; cdecl; inline; 1363 procedure poll_mountable(cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; poll_mountable_finishnull1364 function poll_mountable_finish(result_: PGAsyncResult; error: PPGError): gboolean; cdecl; inline; query_default_handlernull1365 function query_default_handler(cancellable: PGCancellable; error: PPGError): PGAppInfo; cdecl; inline; query_existsnull1366 function query_exists(cancellable: PGCancellable): gboolean; cdecl; inline; query_file_typenull1367 function query_file_type(flags: TGFileQueryInfoFlags; cancellable: PGCancellable): TGFileType; cdecl; inline; query_filesystem_infonull1368 function query_filesystem_info(attributes: Pgchar; cancellable: PGCancellable; error: PPGError): PGFileInfo; cdecl; inline; 1369 procedure query_filesystem_info_async(attributes: Pgchar; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; query_filesystem_info_finishnull1370 function query_filesystem_info_finish(res: PGAsyncResult; error: PPGError): PGFileInfo; cdecl; inline; query_infonull1371 function query_info(attributes: Pgchar; flags: TGFileQueryInfoFlags; cancellable: PGCancellable; error: PPGError): PGFileInfo; cdecl; inline; 1372 procedure query_info_async(attributes: Pgchar; flags: TGFileQueryInfoFlags; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; query_info_finishnull1373 function query_info_finish(res: PGAsyncResult; error: PPGError): PGFileInfo; cdecl; inline; query_settable_attributesnull1374 function query_settable_attributes(cancellable: PGCancellable; error: PPGError): PGFileAttributeInfoList; cdecl; inline; query_writable_namespacesnull1375 function query_writable_namespaces(cancellable: PGCancellable; error: PPGError): PGFileAttributeInfoList; cdecl; inline; readnull1376 function read(cancellable: PGCancellable; error: PPGError): PGFileInputStream; cdecl; inline; 1377 procedure read_async(io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; read_finishnull1378 function read_finish(res: PGAsyncResult; error: PPGError): PGFileInputStream; cdecl; inline; replacenull1379 function replace(etag: Pgchar; make_backup: gboolean; flags: TGFileCreateFlags; cancellable: PGCancellable; error: PPGError): PGFileOutputStream; cdecl; inline; 1380 procedure replace_async(etag: Pgchar; make_backup: gboolean; flags: TGFileCreateFlags; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; replace_contentsnull1381 function replace_contents(contents: Pgchar; length: gsize; etag: Pgchar; make_backup: gboolean; flags: TGFileCreateFlags; new_etag: PPgchar; cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; 1382 procedure replace_contents_async(contents: Pgchar; length: gsize; etag: Pgchar; make_backup: gboolean; flags: TGFileCreateFlags; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; replace_contents_finishnull1383 function replace_contents_finish(res: PGAsyncResult; new_etag: PPgchar; error: PPGError): gboolean; cdecl; inline; replace_finishnull1384 function replace_finish(res: PGAsyncResult; error: PPGError): PGFileOutputStream; cdecl; inline; replace_readwritenull1385 function replace_readwrite(etag: Pgchar; make_backup: gboolean; flags: TGFileCreateFlags; cancellable: PGCancellable; error: PPGError): PGFileIOStream; cdecl; inline; 1386 procedure replace_readwrite_async(etag: Pgchar; make_backup: gboolean; flags: TGFileCreateFlags; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; replace_readwrite_finishnull1387 function replace_readwrite_finish(res: PGAsyncResult; error: PPGError): PGFileIOStream; cdecl; inline; resolve_relative_pathnull1388 function resolve_relative_path(relative_path: Pgchar): PGFile; cdecl; inline; set_attributenull1389 function set_attribute(attribute: Pgchar; type_: TGFileAttributeType; value_p: gpointer; flags: TGFileQueryInfoFlags; cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; set_attribute_byte_stringnull1390 function set_attribute_byte_string(attribute: Pgchar; value: Pgchar; flags: TGFileQueryInfoFlags; cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; set_attribute_int32null1391 function set_attribute_int32(attribute: Pgchar; value: gint32; flags: TGFileQueryInfoFlags; cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; set_attribute_int64null1392 function set_attribute_int64(attribute: Pgchar; value: gint64; flags: TGFileQueryInfoFlags; cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; set_attribute_stringnull1393 function set_attribute_string(attribute: Pgchar; value: Pgchar; flags: TGFileQueryInfoFlags; cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; set_attribute_uint32null1394 function set_attribute_uint32(attribute: Pgchar; value: guint32; flags: TGFileQueryInfoFlags; cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; set_attribute_uint64null1395 function set_attribute_uint64(attribute: Pgchar; value: guint64; flags: TGFileQueryInfoFlags; cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; 1396 procedure set_attributes_async(info: PGFileInfo; flags: TGFileQueryInfoFlags; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; set_attributes_finishnull1397 function set_attributes_finish(result_: PGAsyncResult; info: PPGFileInfo; error: PPGError): gboolean; cdecl; inline; set_attributes_from_infonull1398 function set_attributes_from_info(info: PGFileInfo; flags: TGFileQueryInfoFlags; cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; set_display_namenull1399 function set_display_name(display_name: Pgchar; cancellable: PGCancellable; error: PPGError): PGFile; cdecl; inline; 1400 procedure set_display_name_async(display_name: Pgchar; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; set_display_name_finishnull1401 function set_display_name_finish(res: PGAsyncResult; error: PPGError): PGFile; cdecl; inline; 1402 procedure start_mountable(flags: TGDriveStartFlags; start_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; start_mountable_finishnull1403 function start_mountable_finish(result_: PGAsyncResult; error: PPGError): gboolean; cdecl; inline; 1404 procedure stop_mountable(flags: TGMountUnmountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; stop_mountable_finishnull1405 function stop_mountable_finish(result_: PGAsyncResult; error: PPGError): gboolean; cdecl; inline; supports_thread_contextsnull1406 function supports_thread_contexts: gboolean; cdecl; inline; trashnull1407 function trash(cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; 1408 procedure unmount_mountable_with_operation(flags: TGMountUnmountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; unmount_mountable_with_operation_finishnull1409 function unmount_mountable_with_operation_finish(result_: PGAsyncResult; error: PPGError): gboolean; cdecl; inline; 1410 end; 1411 1412 PPGCancellablePrivate = ^PGCancellablePrivate; 1413 PGCancellablePrivate = ^TGCancellablePrivate; 1414 TGCancellable = object(TGObject) 1415 priv: PGCancellablePrivate; newnull1416 function new: PGCancellable; cdecl; inline; static; get_currentnull1417 function get_current: PGCancellable; cdecl; inline; static; 1418 procedure cancel; cdecl; inline; connectnull1419 function connect(callback: TGCallback; data: gpointer; data_destroy_func: TGDestroyNotify): gulong; cdecl; inline; 1420 procedure disconnect(handler_id: gulong); cdecl; inline; get_fdnull1421 function get_fd: gint; cdecl; inline; is_cancellednull1422 function is_cancelled: gboolean; cdecl; inline; make_pollfdnull1423 function make_pollfd(pollfd: PGPollFD): gboolean; cdecl; inline; 1424 procedure pop_current; cdecl; inline; 1425 procedure push_current; cdecl; inline; 1426 procedure release_fd; cdecl; inline; 1427 procedure reset; cdecl; inline; set_error_if_cancellednull1428 function set_error_if_cancelled(error: PPGError): gboolean; cdecl; inline; source_newnull1429 function source_new: PGSource; cdecl; inline; 1430 end; 1431 1432 TGApplicationPrivate = record 1433 end; 1434 1435 1436 1437 PPGApplicationClass = ^PGApplicationClass; 1438 PGApplicationClass = ^TGApplicationClass; 1439 TGApplicationClass = object 1440 parent_class: TGObjectClass; 1441 startup: procedure(application: PGApplication); cdecl; 1442 activate: procedure(application: PGApplication); cdecl; 1443 open: procedure(application: PGApplication; files: PPGFile; n_files: gint; hint: Pgchar); cdecl; pplicationnull1444 command_line: function(application: PGApplication; command_line: PGApplicationCommandLine): gint; cdecl; pplicationnull1445 local_command_line: function(application: PGApplication; arguments: PPPgchar; exit_status: Pgint): gboolean; cdecl; 1446 before_emit: procedure(application: PGApplication; platform_data: PGVariant); cdecl; 1447 after_emit: procedure(application: PGApplication; platform_data: PGVariant); cdecl; 1448 add_platform_data: procedure(application: PGApplication; builder: PGVariantBuilder); cdecl; 1449 quit_mainloop: procedure(application: PGApplication); cdecl; 1450 run_mainloop: procedure(application: PGApplication); cdecl; 1451 shutdown: procedure(application: PGApplication); cdecl; pplicationnull1452 dbus_register: function(application: PGApplication; connection: PGDBusConnection; object_path: Pgchar; error: PPGError): gboolean; cdecl; 1453 dbus_unregister: procedure(application: PGApplication; connection: PGDBusConnection; object_path: Pgchar); cdecl; 1454 padding: array [0..8] of gpointer; 1455 end; 1456 1457 PPGInputStreamPrivate = ^PGInputStreamPrivate; 1458 PGInputStreamPrivate = ^TGInputStreamPrivate; 1459 TGInputStream = object(TGObject) 1460 priv: PGInputStreamPrivate; 1461 procedure clear_pending; cdecl; inline; closenull1462 function close(cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; 1463 procedure close_async(io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; close_finishnull1464 function close_finish(result_: PGAsyncResult; error: PPGError): gboolean; cdecl; inline; has_pendingnull1465 function has_pending: gboolean; cdecl; inline; is_closednull1466 function is_closed: gboolean; cdecl; inline; readnull1467 function read(buffer: Pguint8; count: gsize; cancellable: PGCancellable; error: PPGError): gssize; cdecl; inline; read_allnull1468 function read_all(buffer: Pguint8; count: gsize; bytes_read: Pgsize; cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; 1469 procedure read_async(buffer: Pguint8; count: gsize; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; read_bytesnull1470 function read_bytes(count: gsize; cancellable: PGCancellable; error: PPGError): PGBytes; cdecl; inline; 1471 procedure read_bytes_async(count: gsize; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; read_bytes_finishnull1472 function read_bytes_finish(result_: PGAsyncResult; error: PPGError): PGBytes; cdecl; inline; read_finishnull1473 function read_finish(result_: PGAsyncResult; error: PPGError): gssize; cdecl; inline; set_pendingnull1474 function set_pending(error: PPGError): gboolean; cdecl; inline; skipnull1475 function skip(count: gsize; cancellable: PGCancellable; error: PPGError): gssize; cdecl; inline; 1476 procedure skip_async(count: gsize; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; skip_finishnull1477 function skip_finish(result_: PGAsyncResult; error: PPGError): gssize; cdecl; inline; 1478 end; 1479 1480 TGApplicationCommandLinePrivate = record 1481 end; 1482 1483 1484 1485 PPGApplicationCommandLineClass = ^PGApplicationCommandLineClass; 1486 PGApplicationCommandLineClass = ^TGApplicationCommandLineClass; 1487 TGApplicationCommandLineClass = object 1488 parent_class: TGObjectClass; 1489 print_literal: procedure(cmdline: PGApplicationCommandLine; message: Pgchar); cdecl; 1490 printerr_literal: procedure(cmdline: PGApplicationCommandLine; message: Pgchar); cdecl; mdlinenull1491 get_stdin: function(cmdline: PGApplicationCommandLine): PGInputStream; cdecl; 1492 padding: array [0..10] of gpointer; 1493 end; 1494 1495 PPGAskPasswordFlags = ^PGAskPasswordFlags; 1496 PGAskPasswordFlags = ^TGAskPasswordFlags; 1497 1498 PPGAsyncInitable = ^PGAsyncInitable; 1499 PGAsyncInitable = ^TGAsyncInitable; 1500 TGAsyncInitable = object 1501 //procedure new_async(object_type: TGType; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer; first_property_name: Pgchar; args: array of const); cdecl; inline; static; 1502 //procedure new_valist_async(object_type: TGType; first_property_name: Pgchar; var_args: Tva_list; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; static; 1503 procedure newv_async(object_type: TGType; n_parameters: guint; parameters: PGParameter; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; static; 1504 procedure init_async(io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; init_finishnull1505 function init_finish(res: PGAsyncResult; error: PPGError): gboolean; cdecl; inline; new_finishnull1506 function new_finish(res: PGAsyncResult; error: PPGError): PGObject; cdecl; inline; 1507 end; 1508 TGAsyncResult = object get_source_objectnull1509 function get_source_object: PGObject; cdecl; inline; get_user_datanull1510 function get_user_data: gpointer; cdecl; inline; is_taggednull1511 function is_tagged(source_tag: gpointer): gboolean; cdecl; inline; legacy_propagate_errornull1512 function legacy_propagate_error(error: PPGError): gboolean; cdecl; inline; 1513 end; 1514 1515 PPGAsyncInitableIface = ^PGAsyncInitableIface; 1516 PGAsyncInitableIface = ^TGAsyncInitableIface; 1517 TGAsyncInitableIface = object 1518 g_iface: TGTypeInterface; 1519 init_async: procedure(initable: PGAsyncInitable; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; nitablenull1520 init_finish: function(initable: PGAsyncInitable; res: PGAsyncResult; error: PPGError): gboolean; cdecl; 1521 end; 1522 1523 PPGAsyncResultIface = ^PGAsyncResultIface; 1524 PGAsyncResultIface = ^TGAsyncResultIface; 1525 TGAsyncResultIface = object 1526 g_iface: TGTypeInterface; esnull1527 get_user_data: function(res: PGAsyncResult): gpointer; cdecl; esnull1528 get_source_object: function(res: PGAsyncResult): PGObject; cdecl; esnull1529 is_tagged: function(res: PGAsyncResult; source_tag: gpointer): gboolean; cdecl; 1530 end; 1531 1532 PPGSeekable = ^PGSeekable; 1533 PGSeekable = ^TGSeekable; 1534 TGSeekable = object can_seeknull1535 function can_seek: gboolean; cdecl; inline; can_truncatenull1536 function can_truncate: gboolean; cdecl; inline; seeknull1537 function seek(offset: gint64; type_: TGSeekType; cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; tellnull1538 function tell: gint64; cdecl; inline; truncatenull1539 function truncate(offset: gint64; cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; 1540 end; 1541 1542 PPGBufferedInputStream = ^PGBufferedInputStream; 1543 PGBufferedInputStream = ^TGBufferedInputStream; 1544 1545 PPGFilterInputStream = ^PGFilterInputStream; 1546 PGFilterInputStream = ^TGFilterInputStream; 1547 TGFilterInputStream = object(TGInputStream) 1548 base_stream1: PGInputStream; get_base_streamnull1549 function get_base_stream: PGInputStream; cdecl; inline; get_close_base_streamnull1550 function get_close_base_stream: gboolean; cdecl; inline; 1551 procedure set_close_base_stream(close_base: gboolean); cdecl; inline; 1552 property base_stream: PGInputStream read get_base_stream { property is writeable but setter not declared } ; 1553 property close_base_stream: gboolean read get_close_base_stream write set_close_base_stream; 1554 end; 1555 1556 PPGBufferedInputStreamPrivate = ^PGBufferedInputStreamPrivate; 1557 PGBufferedInputStreamPrivate = ^TGBufferedInputStreamPrivate; 1558 TGBufferedInputStream = object(TGFilterInputStream) 1559 priv1: PGBufferedInputStreamPrivate; newnull1560 function new(base_stream: PGInputStream): PGBufferedInputStream; cdecl; inline; static; new_sizednull1561 function new_sized(base_stream: PGInputStream; size: gsize): PGBufferedInputStream; cdecl; inline; static; fillnull1562 function fill(count: gssize; cancellable: PGCancellable; error: PPGError): gssize; cdecl; inline; 1563 procedure fill_async(count: gssize; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; fill_finishnull1564 function fill_finish(result_: PGAsyncResult; error: PPGError): gssize; cdecl; inline; get_availablenull1565 function get_available: gsize; cdecl; inline; get_buffer_sizenull1566 function get_buffer_size: gsize; cdecl; inline; peeknull1567 function peek(buffer: Pguint8; offset: gsize; count: gsize): gsize; cdecl; inline; peek_buffernull1568 function peek_buffer(count: Pgsize): Pguint8; cdecl; inline; read_bytenull1569 function read_byte(cancellable: PGCancellable; error: PPGError): gint; cdecl; inline; 1570 procedure set_buffer_size(size: gsize); cdecl; inline; 1571 property buffer_size: gsize read get_buffer_size write set_buffer_size; 1572 end; 1573 1574 TGBufferedInputStreamPrivate = record 1575 end; 1576 1577 1578 1579 PPGFilterInputStreamClass = ^PGFilterInputStreamClass; 1580 PGFilterInputStreamClass = ^TGFilterInputStreamClass; 1581 1582 PPGInputStreamClass = ^PGInputStreamClass; 1583 PGInputStreamClass = ^TGInputStreamClass; 1584 TGInputStreamClass = object 1585 parent_class: TGObjectClass; treamnull1586 read_fn: function(stream: PGInputStream; buffer: Pgpointer; count: gsize; cancellable: PGCancellable; error: PPGError): gssize; cdecl; treamnull1587 skip: function(stream: PGInputStream; count: gsize; cancellable: PGCancellable; error: PPGError): gssize; cdecl; treamnull1588 close_fn: function(stream: PGInputStream; cancellable: PGCancellable; error: PPGError): gboolean; cdecl; 1589 read_async: procedure(stream: PGInputStream; buffer: Pguint8; count: gsize; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; treamnull1590 read_finish: function(stream: PGInputStream; result_: PGAsyncResult; error: PPGError): gssize; cdecl; 1591 skip_async: procedure(stream: PGInputStream; count: gsize; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; treamnull1592 skip_finish: function(stream: PGInputStream; result_: PGAsyncResult; error: PPGError): gssize; cdecl; 1593 close_async: procedure(stream: PGInputStream; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; treamnull1594 close_finish: function(stream: PGInputStream; result_: PGAsyncResult; error: PPGError): gboolean; cdecl; 1595 _g_reserved1: procedure; cdecl; 1596 _g_reserved2: procedure; cdecl; 1597 _g_reserved3: procedure; cdecl; 1598 _g_reserved4: procedure; cdecl; 1599 _g_reserved5: procedure; cdecl; 1600 end; 1601 TGFilterInputStreamClass = object 1602 parent_class: TGInputStreamClass; 1603 _g_reserved1: procedure; cdecl; 1604 _g_reserved2: procedure; cdecl; 1605 _g_reserved3: procedure; cdecl; 1606 end; 1607 1608 PPGBufferedInputStreamClass = ^PGBufferedInputStreamClass; 1609 PGBufferedInputStreamClass = ^TGBufferedInputStreamClass; 1610 TGBufferedInputStreamClass = object 1611 parent_class: TGFilterInputStreamClass; treamnull1612 fill: function(stream: PGBufferedInputStream; count: gssize; cancellable: PGCancellable; error: PPGError): gssize; cdecl; 1613 fill_async: procedure(stream: PGBufferedInputStream; count: gssize; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; treamnull1614 fill_finish: function(stream: PGBufferedInputStream; result_: PGAsyncResult; error: PPGError): gssize; cdecl; 1615 _g_reserved1: procedure; cdecl; 1616 _g_reserved2: procedure; cdecl; 1617 _g_reserved3: procedure; cdecl; 1618 _g_reserved4: procedure; cdecl; 1619 _g_reserved5: procedure; cdecl; 1620 end; 1621 1622 PPGOutputStream = ^PGOutputStream; 1623 PGOutputStream = ^TGOutputStream; 1624 1625 PPGOutputStreamSpliceFlags = ^PGOutputStreamSpliceFlags; 1626 PGOutputStreamSpliceFlags = ^TGOutputStreamSpliceFlags; 1627 1628 PPGOutputStreamPrivate = ^PGOutputStreamPrivate; 1629 PGOutputStreamPrivate = ^TGOutputStreamPrivate; 1630 TGOutputStream = object(TGObject) 1631 priv: PGOutputStreamPrivate; 1632 procedure clear_pending; cdecl; inline; closenull1633 function close(cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; 1634 procedure close_async(io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; close_finishnull1635 function close_finish(result_: PGAsyncResult; error: PPGError): gboolean; cdecl; inline; flushnull1636 function flush(cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; 1637 procedure flush_async(io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; flush_finishnull1638 function flush_finish(result_: PGAsyncResult; error: PPGError): gboolean; cdecl; inline; has_pendingnull1639 function has_pending: gboolean; cdecl; inline; is_closednull1640 function is_closed: gboolean; cdecl; inline; is_closingnull1641 function is_closing: gboolean; cdecl; inline; set_pendingnull1642 function set_pending(error: PPGError): gboolean; cdecl; inline; splicenull1643 function splice(source: PGInputStream; flags: TGOutputStreamSpliceFlags; cancellable: PGCancellable; error: PPGError): gssize; cdecl; inline; 1644 procedure splice_async(source: PGInputStream; flags: TGOutputStreamSpliceFlags; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; splice_finishnull1645 function splice_finish(result_: PGAsyncResult; error: PPGError): gssize; cdecl; inline; writenull1646 function write(buffer: Pguint8; count: gsize; cancellable: PGCancellable; error: PPGError): gssize; cdecl; inline; write_allnull1647 function write_all(buffer: Pguint8; count: gsize; bytes_written: Pgsize; cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; 1648 procedure write_async(buffer: Pguint8; count: gsize; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; write_bytesnull1649 function write_bytes(bytes: PGBytes; cancellable: PGCancellable; error: PPGError): gssize; cdecl; inline; 1650 procedure write_bytes_async(bytes: PGBytes; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; write_bytes_finishnull1651 function write_bytes_finish(result_: PGAsyncResult; error: PPGError): gssize; cdecl; inline; write_finishnull1652 function write_finish(result_: PGAsyncResult; error: PPGError): gssize; cdecl; inline; 1653 end; 1654 1655 PPGBufferedOutputStream = ^PGBufferedOutputStream; 1656 PGBufferedOutputStream = ^TGBufferedOutputStream; 1657 1658 PPGFilterOutputStream = ^PGFilterOutputStream; 1659 PGFilterOutputStream = ^TGFilterOutputStream; 1660 TGFilterOutputStream = object(TGOutputStream) 1661 base_stream1: PGOutputStream; get_base_streamnull1662 function get_base_stream: PGOutputStream; cdecl; inline; get_close_base_streamnull1663 function get_close_base_stream: gboolean; cdecl; inline; 1664 procedure set_close_base_stream(close_base: gboolean); cdecl; inline; 1665 property base_stream: PGOutputStream read get_base_stream { property is writeable but setter not declared } ; 1666 property close_base_stream: gboolean read get_close_base_stream write set_close_base_stream; 1667 end; 1668 1669 PPGBufferedOutputStreamPrivate = ^PGBufferedOutputStreamPrivate; 1670 PGBufferedOutputStreamPrivate = ^TGBufferedOutputStreamPrivate; 1671 TGBufferedOutputStream = object(TGFilterOutputStream) 1672 priv1: PGBufferedOutputStreamPrivate; newnull1673 function new(base_stream: PGOutputStream): PGBufferedOutputStream; cdecl; inline; static; new_sizednull1674 function new_sized(base_stream: PGOutputStream; size: gsize): PGBufferedOutputStream; cdecl; inline; static; get_auto_grownull1675 function get_auto_grow: gboolean; cdecl; inline; get_buffer_sizenull1676 function get_buffer_size: gsize; cdecl; inline; 1677 procedure set_auto_grow(auto_grow: gboolean); cdecl; inline; 1678 procedure set_buffer_size(size: gsize); cdecl; inline; 1679 property auto_grow: gboolean read get_auto_grow write set_auto_grow; 1680 property buffer_size: gsize read get_buffer_size write set_buffer_size; 1681 end; 1682 1683 TGBufferedOutputStreamPrivate = record 1684 end; 1685 1686 1687 1688 PPGFilterOutputStreamClass = ^PGFilterOutputStreamClass; 1689 PGFilterOutputStreamClass = ^TGFilterOutputStreamClass; 1690 1691 PPGOutputStreamClass = ^PGOutputStreamClass; 1692 PGOutputStreamClass = ^TGOutputStreamClass; 1693 TGOutputStreamClass = object 1694 parent_class: TGObjectClass; treamnull1695 write_fn: function(stream: PGOutputStream; buffer: Pguint8; count: gsize; cancellable: PGCancellable; error: PPGError): gssize; cdecl; treamnull1696 splice: function(stream: PGOutputStream; source: PGInputStream; flags: TGOutputStreamSpliceFlags; cancellable: PGCancellable; error: PPGError): gssize; cdecl; treamnull1697 flush: function(stream: PGOutputStream; cancellable: PGCancellable; error: PPGError): gboolean; cdecl; treamnull1698 close_fn: function(stream: PGOutputStream; cancellable: PGCancellable; error: PPGError): gboolean; cdecl; 1699 write_async: procedure(stream: PGOutputStream; buffer: Pguint8; count: gsize; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; treamnull1700 write_finish: function(stream: PGOutputStream; result_: PGAsyncResult; error: PPGError): gssize; cdecl; 1701 splice_async: procedure(stream: PGOutputStream; source: PGInputStream; flags: TGOutputStreamSpliceFlags; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; treamnull1702 splice_finish: function(stream: PGOutputStream; result_: PGAsyncResult; error: PPGError): gssize; cdecl; 1703 flush_async: procedure(stream: PGOutputStream; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; treamnull1704 flush_finish: function(stream: PGOutputStream; result_: PGAsyncResult; error: PPGError): gboolean; cdecl; 1705 close_async: procedure(stream: PGOutputStream; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; treamnull1706 close_finish: function(stream: PGOutputStream; result_: PGAsyncResult; error: PPGError): gboolean; cdecl; 1707 _g_reserved1: procedure; cdecl; 1708 _g_reserved2: procedure; cdecl; 1709 _g_reserved3: procedure; cdecl; 1710 _g_reserved4: procedure; cdecl; 1711 _g_reserved5: procedure; cdecl; 1712 _g_reserved6: procedure; cdecl; 1713 _g_reserved7: procedure; cdecl; 1714 _g_reserved8: procedure; cdecl; 1715 end; 1716 TGFilterOutputStreamClass = object 1717 parent_class: TGOutputStreamClass; 1718 _g_reserved1: procedure; cdecl; 1719 _g_reserved2: procedure; cdecl; 1720 _g_reserved3: procedure; cdecl; 1721 end; 1722 1723 PPGBufferedOutputStreamClass = ^PGBufferedOutputStreamClass; 1724 PGBufferedOutputStreamClass = ^TGBufferedOutputStreamClass; 1725 TGBufferedOutputStreamClass = object 1726 parent_class: TGFilterOutputStreamClass; 1727 _g_reserved1: procedure; cdecl; 1728 _g_reserved2: procedure; cdecl; 1729 end; 1730 TGBusAcquiredCallback = procedure(connection: PGDBusConnection; name: Pgchar; user_data: gpointer); cdecl; 1731 TGBusNameAcquiredCallback = procedure(connection: PGDBusConnection; name: Pgchar; user_data: gpointer); cdecl; 1732 TGBusNameAppearedCallback = procedure(connection: PGDBusConnection; name: Pgchar; name_owner: Pgchar; user_data: gpointer); cdecl; 1733 TGBusNameLostCallback = procedure(connection: PGDBusConnection; name: Pgchar; user_data: gpointer); cdecl; 1734 1735 PPGBusNameOwnerFlags = ^PGBusNameOwnerFlags; 1736 PGBusNameOwnerFlags = ^TGBusNameOwnerFlags; 1737 TGBusNameVanishedCallback = procedure(connection: PGDBusConnection; name: Pgchar; user_data: gpointer); cdecl; 1738 1739 PPGBusNameWatcherFlags = ^PGBusNameWatcherFlags; 1740 PGBusNameWatcherFlags = ^TGBusNameWatcherFlags; 1741 1742 PPGBusType = ^PGBusType; 1743 PGBusType = ^TGBusType; 1744 1745 TGCancellablePrivate = record 1746 end; 1747 1748 1749 1750 PPGCancellableClass = ^PGCancellableClass; 1751 PGCancellableClass = ^TGCancellableClass; 1752 TGCancellableClass = object 1753 parent_class: TGObjectClass; 1754 cancelled: procedure(cancellable: PGCancellable); cdecl; 1755 _g_reserved1: procedure; cdecl; 1756 _g_reserved2: procedure; cdecl; 1757 _g_reserved3: procedure; cdecl; 1758 _g_reserved4: procedure; cdecl; 1759 _g_reserved5: procedure; cdecl; 1760 end; ancellablenull1761 TGCancellableSourceFunc = function(cancellable: PGCancellable; user_data: gpointer): gboolean; cdecl; 1762 1763 PPGConverter = ^PGConverter; 1764 PGConverter = ^TGConverter; 1765 1766 PPGConverterResult = ^PGConverterResult; 1767 PGConverterResult = ^TGConverterResult; 1768 1769 PPGConverterFlags = ^PGConverterFlags; 1770 PGConverterFlags = ^TGConverterFlags; 1771 TGConverter = object convertnull1772 function convert(inbuf: Pguint8; inbuf_size: gsize; outbuf: Pgpointer; outbuf_size: gsize; flags: TGConverterFlags; bytes_read: Pgsize; bytes_written: Pgsize; error: PPGError): TGConverterResult; cdecl; inline; 1773 procedure reset; cdecl; inline; 1774 end; 1775 1776 PPGInitable = ^PGInitable; 1777 PGInitable = ^TGInitable; 1778 TGInitable = object newnull1779 //function new(object_type: TGType; cancellable: PGCancellable; error: PPGError; first_property_name: Pgchar; args: array of const): PGObject; cdecl; inline; static; 1780 //function new_valist(object_type: TGType; first_property_name: Pgchar; var_args: Tva_list; cancellable: PGCancellable; error: PPGError): PGObject; cdecl; inline; static; 1781 function newv(object_type: TGType; n_parameters: guint; parameters: PGParameter; cancellable: PGCancellable; error: PPGError): PGObject; cdecl; inline; static; initnull1782 function init(cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; 1783 end; 1784 1785 PPGCharsetConverter = ^PGCharsetConverter; 1786 PGCharsetConverter = ^TGCharsetConverter; 1787 TGCharsetConverter = object(TGObject) newnull1788 function new(to_charset: Pgchar; from_charset: Pgchar; error: PPGError): PGCharsetConverter; cdecl; inline; static; get_num_fallbacksnull1789 function get_num_fallbacks: guint; cdecl; inline; get_use_fallbacknull1790 function get_use_fallback: gboolean; cdecl; inline; 1791 procedure set_use_fallback(use_fallback: gboolean); cdecl; inline; 1792 //property from_charset: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_from_charset { property is writeable but setter not declared } ; 1793 //property to_charset: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_to_charset { property is writeable but setter not declared } ; 1794 property use_fallback: gboolean read get_use_fallback write set_use_fallback; 1795 end; 1796 1797 PPGCharsetConverterClass = ^PGCharsetConverterClass; 1798 PGCharsetConverterClass = ^TGCharsetConverterClass; 1799 TGCharsetConverterClass = object 1800 parent_class: TGObjectClass; 1801 end; 1802 1803 PPGConverterIface = ^PGConverterIface; 1804 PGConverterIface = ^TGConverterIface; 1805 TGConverterIface = object 1806 g_iface: TGTypeInterface; onverternull1807 convert: function(converter: PGConverter; inbuf: Pguint8; inbuf_size: gsize; outbuf: Pgpointer; outbuf_size: gsize; flags: TGConverterFlags; bytes_read: Pgsize; bytes_written: Pgsize; error: PPGError): TGConverterResult; cdecl; 1808 reset: procedure(converter: PGConverter); cdecl; 1809 end; 1810 1811 PPGPollableInputStream = ^PGPollableInputStream; 1812 PGPollableInputStream = ^TGPollableInputStream; 1813 TGPollableInputStream = object can_pollnull1814 function can_poll: gboolean; cdecl; inline; create_sourcenull1815 function create_source(cancellable: PGCancellable): PGSource; cdecl; inline; is_readablenull1816 function is_readable: gboolean; cdecl; inline; read_nonblockingnull1817 function read_nonblocking(buffer: Pgpointer; count: gsize; cancellable: PGCancellable; error: PPGError): gssize; cdecl; inline; 1818 end; 1819 1820 PPGConverterInputStream = ^PGConverterInputStream; 1821 PGConverterInputStream = ^TGConverterInputStream; 1822 1823 PPGConverterInputStreamPrivate = ^PGConverterInputStreamPrivate; 1824 PGConverterInputStreamPrivate = ^TGConverterInputStreamPrivate; 1825 TGConverterInputStream = object(TGFilterInputStream) 1826 priv1: PGConverterInputStreamPrivate; newnull1827 function new(base_stream: PGInputStream; converter: PGConverter): PGConverterInputStream; cdecl; inline; static; get_converternull1828 function get_converter: PGConverter; cdecl; inline; 1829 property converter: PGConverter read get_converter { property is writeable but setter not declared } ; 1830 end; 1831 1832 TGConverterInputStreamPrivate = record 1833 end; 1834 1835 1836 1837 PPGConverterInputStreamClass = ^PGConverterInputStreamClass; 1838 PGConverterInputStreamClass = ^TGConverterInputStreamClass; 1839 TGConverterInputStreamClass = object 1840 parent_class: TGFilterInputStreamClass; 1841 _g_reserved1: procedure; cdecl; 1842 _g_reserved2: procedure; cdecl; 1843 _g_reserved3: procedure; cdecl; 1844 _g_reserved4: procedure; cdecl; 1845 _g_reserved5: procedure; cdecl; 1846 end; 1847 1848 PPGPollableOutputStream = ^PGPollableOutputStream; 1849 PGPollableOutputStream = ^TGPollableOutputStream; 1850 TGPollableOutputStream = object can_pollnull1851 function can_poll: gboolean; cdecl; inline; create_sourcenull1852 function create_source(cancellable: PGCancellable): PGSource; cdecl; inline; is_writablenull1853 function is_writable: gboolean; cdecl; inline; write_nonblockingnull1854 function write_nonblocking(buffer: Pguint8; count: gsize; cancellable: PGCancellable; error: PPGError): gssize; cdecl; inline; 1855 end; 1856 1857 PPGConverterOutputStream = ^PGConverterOutputStream; 1858 PGConverterOutputStream = ^TGConverterOutputStream; 1859 1860 PPGConverterOutputStreamPrivate = ^PGConverterOutputStreamPrivate; 1861 PGConverterOutputStreamPrivate = ^TGConverterOutputStreamPrivate; 1862 TGConverterOutputStream = object(TGFilterOutputStream) 1863 priv1: PGConverterOutputStreamPrivate; newnull1864 function new(base_stream: PGOutputStream; converter: PGConverter): PGConverterOutputStream; cdecl; inline; static; get_converternull1865 function get_converter: PGConverter; cdecl; inline; 1866 property converter: PGConverter read get_converter { property is writeable but setter not declared } ; 1867 end; 1868 1869 TGConverterOutputStreamPrivate = record 1870 end; 1871 1872 1873 1874 PPGConverterOutputStreamClass = ^PGConverterOutputStreamClass; 1875 PGConverterOutputStreamClass = ^TGConverterOutputStreamClass; 1876 TGConverterOutputStreamClass = object 1877 parent_class: TGFilterOutputStreamClass; 1878 _g_reserved1: procedure; cdecl; 1879 _g_reserved2: procedure; cdecl; 1880 _g_reserved3: procedure; cdecl; 1881 _g_reserved4: procedure; cdecl; 1882 _g_reserved5: procedure; cdecl; 1883 end; 1884 1885 PPGCredentialsType = ^PGCredentialsType; 1886 PGCredentialsType = ^TGCredentialsType; 1887 TGCredentials = object(TGObject) newnull1888 function new: PGCredentials; cdecl; inline; static; get_nativenull1889 function get_native(native_type: TGCredentialsType): gpointer; cdecl; inline; get_unix_pidnull1890 function get_unix_pid(error: PPGError): gint; cdecl; inline; get_unix_usernull1891 function get_unix_user(error: PPGError): guint; cdecl; inline; is_same_usernull1892 function is_same_user(other_credentials: PGCredentials; error: PPGError): gboolean; cdecl; inline; 1893 procedure set_native(native_type: TGCredentialsType; native: gpointer); cdecl; inline; set_unix_usernull1894 function set_unix_user(uid: guint; error: PPGError): gboolean; cdecl; inline; to_stringnull1895 function to_string: Pgchar; cdecl; inline; 1896 end; 1897 1898 PPGCredentialsClass = ^PGCredentialsClass; 1899 PGCredentialsClass = ^TGCredentialsClass; 1900 TGCredentialsClass = object 1901 end; 1902 1903 PPGRemoteActionGroup = ^PGRemoteActionGroup; 1904 PGRemoteActionGroup = ^TGRemoteActionGroup; 1905 TGRemoteActionGroup = object 1906 procedure activate_action_full(action_name: Pgchar; parameter: PGVariant; platform_data: PGVariant); cdecl; inline; 1907 procedure change_action_state_full(action_name: Pgchar; value: PGVariant; platform_data: PGVariant); cdecl; inline; 1908 end; 1909 1910 PPGDBusActionGroup = ^PGDBusActionGroup; 1911 PGDBusActionGroup = ^TGDBusActionGroup; 1912 TGDBusActionGroup = object(TGObject) getnull1913 function get(connection: PGDBusConnection; bus_name: Pgchar; object_path: Pgchar): PGDBusActionGroup; cdecl; inline; static; 1914 end; 1915 1916 PPGDBusAnnotationInfo = ^PGDBusAnnotationInfo; 1917 PGDBusAnnotationInfo = ^TGDBusAnnotationInfo; 1918 TGDBusAnnotationInfo = object 1919 ref_count: gint; 1920 key: Pgchar; 1921 value: Pgchar; 1922 annotations: PGDBusAnnotationInfo; refnull1923 function ref: PGDBusAnnotationInfo; cdecl; inline; 1924 procedure unref; cdecl; inline; lookupnull1925 function lookup(annotations: PPGDBusAnnotationInfo; name: Pgchar): Pgchar; cdecl; inline; static; 1926 end; 1927 1928 PPGDBusArgInfo = ^PGDBusArgInfo; 1929 PGDBusArgInfo = ^TGDBusArgInfo; 1930 TGDBusArgInfo = object 1931 ref_count: gint; 1932 name: Pgchar; 1933 signature: Pgchar; 1934 annotations: PGDBusAnnotationInfo; refnull1935 function ref: PGDBusArgInfo; cdecl; inline; 1936 procedure unref; cdecl; inline; 1937 end; 1938 TGDBusAuthObserver = object(TGObject) newnull1939 function new: PGDBusAuthObserver; cdecl; inline; static; allow_mechanismnull1940 function allow_mechanism(mechanism: Pgchar): gboolean; cdecl; inline; authorize_authenticated_peernull1941 function authorize_authenticated_peer(stream: PGIOStream; credentials: PGCredentials): gboolean; cdecl; inline; 1942 end; 1943 1944 PPGIOStreamSpliceFlags = ^PGIOStreamSpliceFlags; 1945 PGIOStreamSpliceFlags = ^TGIOStreamSpliceFlags; 1946 1947 PPGIOStreamPrivate = ^PGIOStreamPrivate; 1948 PGIOStreamPrivate = ^TGIOStreamPrivate; 1949 TGIOStream = object(TGObject) 1950 priv: PGIOStreamPrivate; splice_finishnull1951 function splice_finish(result_: PGAsyncResult; error: PPGError): gboolean; cdecl; inline; static; 1952 procedure clear_pending; cdecl; inline; closenull1953 function close(cancellable: PGCancellable; error: PPGError): gboolean; cdecl; inline; 1954 procedure close_async(io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; close_finishnull1955 function close_finish(result_: PGAsyncResult; error: PPGError): gboolean; cdecl; inline; get_input_streamnull1956 function get_input_stream: PGInputStream; cdecl; inline; get_output_streamnull1957