1 /* gio-2.0.vapi generated by lt-vapigen, do not modify. */
3 [CCode (cprefix = "G", lower_case_cprefix = "g_")]
5 [CCode (cprefix = "G_DATA_STREAM_BYTE_ORDER_", cheader_filename = "gio/gio.h")]
6 public enum DataStreamByteOrder {
11 [CCode (cprefix = "G_DATA_STREAM_NEWLINE_TYPE_", cheader_filename = "gio/gio.h")]
12 public enum DataStreamNewlineType {
18 [CCode (cprefix = "G_FILE_ATTRIBUTE_STATUS_", cheader_filename = "gio/gio.h")]
19 public enum FileAttributeStatus {
24 [CCode (cprefix = "G_FILE_ATTRIBUTE_TYPE_", cheader_filename = "gio/gio.h")]
25 public enum FileAttributeType {
36 [CCode (cprefix = "G_FILE_MONITOR_EVENT_", cheader_filename = "gio/gio.h")]
37 public enum FileMonitorEvent {
46 [CCode (cprefix = "G_FILE_TYPE_", cheader_filename = "gio/gio.h")]
47 public enum FileType {
56 [CCode (cprefix = "G_FILESYSTEM_PREVIEW_TYPE_", cheader_filename = "gio/gio.h")]
57 public enum FilesystemPreviewType {
62 [CCode (cprefix = "G_MOUNT_MOUNT_", cheader_filename = "gio/gio.h")]
63 public enum MountMountFlags {
66 [CCode (cprefix = "G_MOUNT_OPERATION_", cheader_filename = "gio/gio.h")]
67 public enum MountOperationResult {
72 [CCode (cprefix = "G_PASSWORD_SAVE_", cheader_filename = "gio/gio.h")]
73 public enum PasswordSave {
78 [CCode (cprefix = "G_APP_INFO_CREATE_", cheader_filename = "gio/gio.h")]
80 public enum AppInfoCreateFlags {
85 [CCode (cprefix = "G_ASK_PASSWORD_", cheader_filename = "gio/gio.h")]
87 public enum AskPasswordFlags {
94 [CCode (cprefix = "G_FILE_ATTRIBUTE_INFO_", cheader_filename = "gio/gio.h")]
96 public enum FileAttributeInfoFlags {
101 [CCode (cprefix = "G_FILE_COPY_", cheader_filename = "gio/gio.h")]
103 public enum FileCopyFlags {
111 [CCode (cprefix = "G_FILE_CREATE_", cheader_filename = "gio/gio.h")]
113 public enum FileCreateFlags {
117 [CCode (cprefix = "G_FILE_MONITOR_", cheader_filename = "gio/gio.h")]
119 public enum FileMonitorFlags {
123 [CCode (cprefix = "G_FILE_QUERY_INFO_", cheader_filename = "gio/gio.h")]
125 public enum FileQueryInfoFlags {
129 [CCode (cprefix = "G_MOUNT_UNMOUNT_", cheader_filename = "gio/gio.h")]
131 public enum MountUnmountFlags {
135 [CCode (cprefix = "G_OUTPUT_STREAM_SPLICE_", cheader_filename = "gio/gio.h")]
137 public enum OutputStreamSpliceFlags {
142 [CCode (cprefix = "G_IO_ERROR_", cheader_filename = "gio/gio.h")]
143 public errordomain IOError {
177 [CCode (cheader_filename = "gio/gio.h")]
178 public class FileAttributeInfo {
179 public weak string name;
180 public GLib.FileAttributeType type;
181 public GLib.FileAttributeInfoFlags flags;
184 [CCode (ref_function = "g_file_attribute_info_list_ref", unref_function = "g_file_attribute_info_list_unref", cheader_filename = "gio/gio.h")]
185 public class FileAttributeInfoList {
186 public weak GLib.FileAttributeInfo infos;
188 public void add (string name, GLib.FileAttributeType type, GLib.FileAttributeInfoFlags flags);
189 public weak GLib.FileAttributeInfoList dup ();
190 public weak GLib.FileAttributeInfo lookup (string name);
191 [CCode (has_construct_function = false)]
192 public FileAttributeInfoList ();
195 [CCode (ref_function = "g_file_attribute_matcher_ref", unref_function = "g_file_attribute_matcher_unref", cheader_filename = "gio/gio.h")]
196 public class FileAttributeMatcher {
197 public bool enumerate_namespace (string ns);
198 public weak string enumerate_next ();
199 public bool matches (string attribute);
200 public bool matches_only (string attribute);
201 [CCode (has_construct_function = false)]
202 public FileAttributeMatcher (string attributes);
205 [CCode (cheader_filename = "gio/gio.h")]
206 public class FileIconClass {
209 [CCode (cheader_filename = "gio/gio.h")]
210 public class FileInfoClass {
213 [CCode (cheader_filename = "gio/gio.h")]
214 public class IOExtension {
215 public weak string get_name ();
216 public int get_priority ();
217 public weak GLib.TypeClass ref_class ();
220 [CCode (cheader_filename = "gio/gio.h")]
221 public class IOExtensionPoint {
222 public weak GLib.IOExtension get_extension_by_name (string name);
223 public weak GLib.List get_extensions ();
224 public GLib.Type get_required_type ();
225 public static weak GLib.IOExtension implement (string extension_point_name, GLib.Type type, string extension_name, int priority);
226 public static weak GLib.IOExtensionPoint lookup (string name);
227 public static weak GLib.IOExtensionPoint register (string name);
228 public void set_required_type (GLib.Type type);
231 [CCode (cheader_filename = "gio/gio.h")]
232 public class IOModuleClass {
235 [CCode (cheader_filename = "gio/gio.h")]
236 public class IOSchedulerJob {
237 public bool send_to_mainloop (GLib.SourceFunc func, GLib.DestroyNotify? notify);
238 public void send_to_mainloop_async (GLib.SourceFunc func, GLib.DestroyNotify? notify);
241 [CCode (cheader_filename = "gio/gio.h")]
242 public class SimpleAsyncResultClass {
245 [CCode (cheader_filename = "gio/gio.h")]
246 public class ThemedIconClass {
248 [CCode (cheader_filename = "gio/gio.h")]
249 public class AppLaunchContext : GLib.Object {
250 [CCode (has_construct_function = false)]
251 public AppLaunchContext ();
252 public virtual weak string get_display (GLib.AppInfo info, GLib.List files);
253 public virtual weak string get_startup_notify_id (GLib.AppInfo info, GLib.List files);
254 public virtual void launch_failed (string startup_notify_id);
256 [CCode (cheader_filename = "gio/gio.h")]
257 public class BufferedInputStream : GLib.FilterInputStream {
258 public ulong get_available ();
259 public ulong get_buffer_size ();
260 [CCode (type = "GInputStream*", has_construct_function = false)]
261 public BufferedInputStream (GLib.InputStream base_stream);
262 [CCode (type = "GInputStream*", has_construct_function = false)]
263 public BufferedInputStream.sized (GLib.InputStream base_stream, ulong size);
264 public ulong peek (void* buffer, ulong offset, ulong count);
265 public void* peek_buffer (ulong count);
266 public int read_byte (GLib.Cancellable? cancellable) throws GLib.Error;
267 public void set_buffer_size (ulong size);
268 public virtual long fill (long count, GLib.Cancellable? cancellable) throws GLib.Error;
269 public virtual void fill_async (long count, int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
270 public virtual long fill_finish (GLib.AsyncResult _result) throws GLib.Error;
271 public uint buffer_size { get; set construct; }
273 [CCode (cheader_filename = "gio/gio.h")]
274 public class BufferedOutputStream : GLib.FilterOutputStream {
275 public bool get_auto_grow ();
276 public ulong get_buffer_size ();
277 [CCode (type = "GOutputStream*", has_construct_function = false)]
278 public BufferedOutputStream (GLib.OutputStream base_stream);
279 [CCode (type = "GOutputStream*", has_construct_function = false)]
280 public BufferedOutputStream.sized (GLib.OutputStream base_stream, ulong size);
281 public void set_auto_grow (bool auto_grow);
282 public void set_buffer_size (ulong size);
283 public bool auto_grow { get; set; }
284 public uint buffer_size { get; set construct; }
286 [CCode (cheader_filename = "gio/gio.h")]
287 public class Cancellable : GLib.Object {
288 public void cancel ();
289 public static weak GLib.Cancellable get_current ();
290 public int get_fd ();
291 public bool is_cancelled ();
292 [CCode (has_construct_function = false)]
293 public Cancellable ();
294 public void pop_current ();
295 public void push_current ();
296 public void reset ();
297 public bool set_error_if_cancelled () throws GLib.Error;
298 public virtual signal void cancelled ();
300 [CCode (cheader_filename = "gio/gio.h")]
301 public class DataInputStream : GLib.BufferedInputStream {
302 public GLib.DataStreamByteOrder get_byte_order ();
303 public GLib.DataStreamNewlineType get_newline_type ();
304 [CCode (has_construct_function = false)]
305 public DataInputStream (GLib.InputStream base_stream);
306 public uchar read_byte (GLib.Cancellable? cancellable) throws GLib.Error;
307 public short read_int16 (GLib.Cancellable? cancellable) throws GLib.Error;
308 public int read_int32 (GLib.Cancellable? cancellable) throws GLib.Error;
309 public int64 read_int64 (GLib.Cancellable? cancellable) throws GLib.Error;
310 public weak string read_line (out ulong length, GLib.Cancellable? cancellable) throws GLib.Error;
311 public ushort read_uint16 (GLib.Cancellable? cancellable) throws GLib.Error;
312 public uint read_uint32 (GLib.Cancellable? cancellable) throws GLib.Error;
313 public uint64 read_uint64 (GLib.Cancellable? cancellable) throws GLib.Error;
314 public weak string read_until (string stop_chars, out ulong length, GLib.Cancellable? cancellable) throws GLib.Error;
315 public void set_byte_order (GLib.DataStreamByteOrder order);
316 public void set_newline_type (GLib.DataStreamNewlineType type);
317 public GLib.DataStreamByteOrder byte_order { get; set; }
318 public GLib.DataStreamNewlineType newline_type { get; set; }
320 [CCode (cheader_filename = "gio/gio.h")]
321 public class DataOutputStream : GLib.FilterOutputStream {
322 public GLib.DataStreamByteOrder get_byte_order ();
323 [CCode (has_construct_function = false)]
324 public DataOutputStream (GLib.OutputStream base_stream);
325 public bool put_byte (uchar data, GLib.Cancellable? cancellable) throws GLib.Error;
326 public bool put_int16 (short data, GLib.Cancellable? cancellable) throws GLib.Error;
327 public bool put_int32 (int data, GLib.Cancellable? cancellable) throws GLib.Error;
328 public bool put_int64 (int64 data, GLib.Cancellable? cancellable) throws GLib.Error;
329 public bool put_string (string str, GLib.Cancellable? cancellable) throws GLib.Error;
330 public bool put_uint16 (ushort data, GLib.Cancellable? cancellable) throws GLib.Error;
331 public bool put_uint32 (uint data, GLib.Cancellable? cancellable) throws GLib.Error;
332 public bool put_uint64 (uint64 data, GLib.Cancellable? cancellable) throws GLib.Error;
333 public void set_byte_order (GLib.DataStreamByteOrder order);
334 public GLib.DataStreamByteOrder byte_order { get; set; }
336 [CCode (cheader_filename = "gio/gio.h")]
337 public class FileEnumerator : GLib.Object {
338 public bool close (GLib.Cancellable? cancellable) throws GLib.Error;
339 public bool has_pending ();
340 public bool is_closed ();
341 public void set_pending (bool pending);
342 public virtual void close_async (int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
343 public virtual bool close_finish (GLib.AsyncResult _result) throws GLib.Error;
345 public virtual bool close_fn (GLib.Cancellable? cancellable) throws GLib.Error;
346 public virtual GLib.FileInfo next_file (GLib.Cancellable? cancellable) throws GLib.Error;
347 public virtual void next_files_async (int num_files, int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
348 public virtual GLib.List<GLib.FileInfo> next_files_finish (GLib.AsyncResult _result) throws GLib.Error;
350 [CCode (cheader_filename = "gio/gio.h")]
351 public class FileIcon : GLib.Object, GLib.Icon, GLib.LoadableIcon {
352 public weak GLib.File get_file ();
353 [CCode (type = "GIcon*", has_construct_function = false)]
354 public FileIcon (GLib.File file);
356 [CCode (cheader_filename = "gio/gio.h")]
357 public class FileInfo : GLib.Object {
358 public void clear_status ();
359 public void copy_into (GLib.FileInfo dest_info);
360 public weak GLib.FileInfo dup ();
361 public weak string get_attribute_as_string (string attribute);
362 public bool get_attribute_boolean (string attribute);
363 public weak string get_attribute_byte_string (string attribute);
364 public bool get_attribute_data (string attribute, GLib.FileAttributeType? type, void* value_pp, GLib.FileAttributeStatus? status);
365 public int get_attribute_int32 (string attribute);
366 public int64 get_attribute_int64 (string attribute);
367 public weak GLib.Object get_attribute_object (string attribute);
368 public GLib.FileAttributeStatus get_attribute_status (string attribute);
369 public weak string get_attribute_string (string attribute);
370 public GLib.FileAttributeType get_attribute_type (string attribute);
371 public uint get_attribute_uint32 (string attribute);
372 public uint64 get_attribute_uint64 (string attribute);
373 public weak string get_content_type ();
374 public weak string get_display_name ();
375 public weak string get_edit_name ();
376 public weak string get_etag ();
377 public GLib.FileType get_file_type ();
378 public weak GLib.Icon get_icon ();
379 public bool get_is_backup ();
380 public bool get_is_hidden ();
381 public bool get_is_symlink ();
382 public void get_modification_time (GLib.TimeVal _result);
383 public weak string get_name ();
384 public int64 get_size ();
385 public int get_sort_order ();
386 public weak string get_symlink_target ();
387 public bool has_attribute (string attribute);
388 public weak string list_attributes (string name_space);
389 [CCode (has_construct_function = false)]
391 public void remove_attribute (string attribute);
392 public void set_attribute (string attribute, GLib.FileAttributeType type, void* value_p);
393 public void set_attribute_boolean (string attribute, bool attr_value);
394 public void set_attribute_byte_string (string attribute, string attr_value);
395 public void set_attribute_int32 (string attribute, int attr_value);
396 public void set_attribute_int64 (string attribute, int64 attr_value);
397 public void set_attribute_mask (GLib.FileAttributeMatcher mask);
398 public void set_attribute_object (string attribute, GLib.Object attr_value);
399 public void set_attribute_string (string attribute, string attr_value);
400 public void set_attribute_uint32 (string attribute, uint attr_value);
401 public void set_attribute_uint64 (string attribute, uint64 attr_value);
402 public void set_content_type (string content_type);
403 public void set_display_name (string display_name);
404 public void set_edit_name (string edit_name);
405 public void set_file_type (GLib.FileType type);
406 public void set_icon (GLib.Icon icon);
407 public void set_is_hidden (bool is_hidden);
408 public void set_is_symlink (bool is_symlink);
409 public void set_modification_time (GLib.TimeVal mtime);
410 public void set_name (string name);
411 public void set_size (int64 size);
412 public void set_sort_order (int sort_order);
413 public void set_symlink_target (string symlink_target);
414 public void unset_attribute_mask ();
416 [CCode (cheader_filename = "gio/gio.h")]
417 public class FileInputStream : GLib.InputStream, GLib.Seekable {
419 public virtual bool can_seek ();
420 public virtual weak GLib.FileInfo query_info (string attributes, GLib.Cancellable? cancellable) throws GLib.Error;
421 public virtual void query_info_async (string attributes, int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
422 public virtual weak GLib.FileInfo query_info_finish (GLib.AsyncResult _result) throws GLib.Error;
424 public virtual bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable? cancellable) throws GLib.Error;
426 public virtual int64 tell ();
428 [CCode (cheader_filename = "gio/gio.h")]
429 public class FileMonitor : GLib.Object {
430 public static weak GLib.FileMonitor directory (GLib.File file, GLib.FileMonitorFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
431 public void emit_event (GLib.File child, GLib.File other_file, GLib.FileMonitorEvent event_type);
432 public static weak GLib.FileMonitor file (GLib.File file, GLib.FileMonitorFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
433 public bool is_cancelled ();
434 public void set_rate_limit (int limit_msecs);
435 public virtual bool cancel ();
437 public bool cancelled { get; }
439 public int rate_limit { get; set; }
440 public virtual signal void changed (GLib.File file, GLib.File? other_file, GLib.FileMonitorEvent event_type);
442 [CCode (cheader_filename = "gio/gio.h")]
443 public class FileOutputStream : GLib.OutputStream, GLib.Seekable {
445 public virtual bool can_seek ();
447 public virtual bool can_truncate ();
448 public virtual weak string get_etag ();
449 public virtual weak GLib.FileInfo query_info (string attributes, GLib.Cancellable? cancellable) throws GLib.Error;
450 public virtual void query_info_async (string attributes, int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
451 public virtual weak GLib.FileInfo query_info_finish (GLib.AsyncResult _result) throws GLib.Error;
453 public virtual bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable? cancellable) throws GLib.Error;
455 public virtual int64 tell ();
457 public virtual bool truncate_fn (int64 size, GLib.Cancellable? cancellable) throws GLib.Error;
459 [CCode (cheader_filename = "gio/gio.h")]
460 public class FilenameCompleter : GLib.Object {
461 public weak string get_completion_suffix (string initial_text);
462 public weak string get_completions (string initial_text);
463 [CCode (has_construct_function = false)]
464 public FilenameCompleter ();
465 public void set_dirs_only (bool dirs_only);
466 public virtual signal void got_completion_data ();
468 [CCode (cheader_filename = "gio/gio.h")]
469 public class FilterInputStream : GLib.InputStream {
470 public weak GLib.InputStream get_base_stream ();
472 public GLib.InputStream base_stream { get; construct; }
474 [CCode (cheader_filename = "gio/gio.h")]
475 public class FilterOutputStream : GLib.OutputStream {
476 public weak GLib.OutputStream get_base_stream ();
478 public GLib.OutputStream base_stream { get; construct; }
480 [CCode (cheader_filename = "gio/gio.h")]
481 public class IOModule : GLib.TypeModule, GLib.TypePlugin {
483 [CCode (has_construct_function = false)]
484 public IOModule (string filename);
485 public void unload ();
487 [CCode (cheader_filename = "gio/gio.h")]
488 public class InputStream : GLib.Object {
489 public void clear_pending ();
490 public bool close (GLib.Cancellable? cancellable) throws GLib.Error;
491 public bool has_pending ();
492 public bool is_closed ();
493 public long read (void* buffer, ulong count, GLib.Cancellable? cancellable) throws GLib.Error;
494 public bool read_all (void* buffer, ulong count, out ulong bytes_read, GLib.Cancellable? cancellable) throws GLib.Error;
495 public bool set_pending () throws GLib.Error;
496 public virtual void close_async (int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
497 public virtual bool close_finish (GLib.AsyncResult _result) throws GLib.Error;
499 public virtual bool close_fn (GLib.Cancellable? cancellable) throws GLib.Error;
500 public virtual void read_async (void* buffer, ulong count, int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
501 public virtual long read_finish (GLib.AsyncResult _result) throws GLib.Error;
503 public virtual long read_fn (void* buffer, ulong count, GLib.Cancellable? cancellable) throws GLib.Error;
504 public virtual long skip (ulong count, GLib.Cancellable? cancellable) throws GLib.Error;
505 public virtual void skip_async (ulong count, int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
506 public virtual long skip_finish (GLib.AsyncResult _result) throws GLib.Error;
508 [CCode (cheader_filename = "gio/gio.h")]
509 public class MemoryInputStream : GLib.InputStream, GLib.Seekable {
510 public void add_data (void* data, long len, GLib.DestroyNotify? destroy);
511 [CCode (type = "GInputStream*", has_construct_function = false)]
512 public MemoryInputStream ();
513 [CCode (type = "GInputStream*", has_construct_function = false)]
514 public MemoryInputStream.from_data (void* data, long len, GLib.DestroyNotify? destroy);
516 [CCode (cheader_filename = "gio/gio.h")]
517 public class MemoryOutputStream : GLib.OutputStream, GLib.Seekable {
518 public void* get_data ();
519 public ulong get_data_size ();
520 public ulong get_size ();
521 [CCode (type = "GOutputStream*", has_construct_function = false)]
522 public MemoryOutputStream (void* data, ulong len, GLib.ReallocFunc realloc_fn, GLib.DestroyNotify? destroy);
524 [CCode (cheader_filename = "gio/gio.h")]
525 public class MountOperation : GLib.Object {
526 public bool get_anonymous ();
527 public int get_choice ();
528 public weak string get_domain ();
529 public weak string get_password ();
530 public GLib.PasswordSave get_password_save ();
531 public weak string get_username ();
532 [CCode (has_construct_function = false)]
533 public MountOperation ();
534 public void set_anonymous (bool anonymous);
535 public void set_choice (int choice);
536 public void set_domain (string domain);
537 public void set_password (string password);
538 public void set_password_save (GLib.PasswordSave save);
539 public void set_username (string username);
540 public bool anonymous { get; set; }
541 public int choice { get; set; }
542 public string domain { get; set; }
543 public string password { get; set; }
544 public GLib.PasswordSave password_save { get; set; }
545 public string username { get; set; }
546 public virtual signal void ask_password (string message, string default_user, string default_domain, GLib.AskPasswordFlags flags);
547 public virtual signal void ask_question (string message, string[] choices);
549 public virtual signal void reply (GLib.MountOperationResult result);
551 [CCode (cheader_filename = "gio/gio.h")]
552 public class NativeVolumeMonitor : GLib.VolumeMonitor {
554 public virtual weak GLib.Mount get_mount_for_mount_path (string mount_path, GLib.Cancellable? cancellable);
556 [CCode (cheader_filename = "gio/gio.h")]
557 public class OutputStream : GLib.Object {
558 public void clear_pending ();
559 public bool close (GLib.Cancellable? cancellable) throws GLib.Error;
560 public bool has_pending ();
561 public bool is_closed ();
562 public bool set_pending () throws GLib.Error;
563 public long write (void* buffer, ulong count, GLib.Cancellable? cancellable) throws GLib.Error;
564 public bool write_all (void* buffer, ulong count, out ulong bytes_written, GLib.Cancellable? cancellable) throws GLib.Error;
565 public virtual void close_async (int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
566 public virtual bool close_finish (GLib.AsyncResult _result) throws GLib.Error;
568 public virtual bool close_fn (GLib.Cancellable? cancellable) throws GLib.Error;
569 public virtual bool flush (GLib.Cancellable? cancellable) throws GLib.Error;
570 public virtual void flush_async (int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
571 public virtual bool flush_finish (GLib.AsyncResult _result) throws GLib.Error;
572 public virtual long splice (GLib.InputStream source, GLib.OutputStreamSpliceFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
573 public virtual void splice_async (GLib.InputStream source, GLib.OutputStreamSpliceFlags flags, int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
574 public virtual long splice_finish (GLib.AsyncResult _result) throws GLib.Error;
575 public virtual void write_async (void* buffer, ulong count, int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
576 public virtual long write_finish (GLib.AsyncResult _result) throws GLib.Error;
578 public virtual long write_fn (void* buffer, ulong count, GLib.Cancellable? cancellable) throws GLib.Error;
580 [CCode (cheader_filename = "gio/gio.h")]
581 public class SimpleAsyncResult : GLib.Object, GLib.AsyncResult {
582 public void complete ();
583 public void complete_in_idle ();
584 public bool get_op_res_gboolean ();
585 public void* get_op_res_gpointer ();
586 public long get_op_res_gssize ();
587 public void* get_source_tag ();
588 [CCode (has_construct_function = false)]
589 public SimpleAsyncResult (GLib.Object source_object, GLib.AsyncReadyCallback callback, void* source_tag);
590 [CCode (has_construct_function = false)]
591 public SimpleAsyncResult.error (GLib.Object source_object, GLib.AsyncReadyCallback callback, GLib.Quark domain, int code, string format);
592 [CCode (has_construct_function = false)]
593 public SimpleAsyncResult.from_error (GLib.Object source_object, GLib.AsyncReadyCallback callback, GLib.Error error);
594 public bool propagate_error () throws GLib.Error;
595 public void run_in_thread (GLib.SimpleAsyncThreadFunc func, int io_priority, GLib.Cancellable? cancellable);
596 public void set_error (GLib.Quark domain, int code, string format);
597 public void set_error_va (GLib.Quark domain, int code, string format, void* args);
598 public void set_from_error (GLib.Error error);
599 public void set_handle_cancellation (bool handle_cancellation);
600 public void set_op_res_gboolean (bool op_res);
601 public void set_op_res_gpointer (void* op_res, GLib.DestroyNotify destroy_op_res);
602 public void set_op_res_gssize (long op_res);
604 [CCode (cheader_filename = "gio/gio.h")]
605 public class ThemedIcon : GLib.Object, GLib.Icon {
606 public void append_name (string iconname);
608 public weak string[] get_names ();
609 [CCode (type = "GIcon*", has_construct_function = false)]
610 public ThemedIcon (string iconname);
611 [CCode (type = "GIcon*", has_construct_function = false)]
612 public ThemedIcon.from_names (string[] iconnames, int len);
613 [CCode (type = "GIcon*", has_construct_function = false)]
614 public ThemedIcon.with_default_fallbacks (string iconname);
615 public void prepend_name (string iconname);
617 public string name { construct; }
619 public string[] names { get; construct; }
621 public bool use_default_fallbacks { construct; }
623 [CCode (cheader_filename = "gio/gio.h")]
624 public class Vfs : GLib.Object {
625 public static weak GLib.Vfs get_default ();
626 public static weak GLib.Vfs get_local ();
627 public virtual weak GLib.File get_file_for_path (string path);
628 public virtual weak GLib.File get_file_for_uri (string uri);
629 public virtual weak string get_supported_uri_schemes ();
630 public virtual bool is_active ();
631 public virtual weak GLib.File parse_name (string parse_name);
633 [CCode (cheader_filename = "gio/gio.h")]
634 public class VolumeMonitor : GLib.Object {
635 public static weak GLib.VolumeMonitor get ();
636 public virtual weak GLib.Volume adopt_orphan_mount (GLib.Mount mount);
637 public virtual weak GLib.List get_connected_drives ();
638 public virtual weak GLib.Mount get_mount_for_uuid (string uuid);
639 public virtual weak GLib.List get_mounts ();
640 public virtual weak GLib.Volume get_volume_for_uuid (string uuid);
641 public virtual weak GLib.List get_volumes ();
643 public virtual bool is_supported ();
644 public virtual signal void drive_changed (GLib.Drive drive);
645 public virtual signal void drive_connected (GLib.Drive drive);
646 public virtual signal void drive_disconnected (GLib.Drive drive);
647 public virtual signal void mount_added (GLib.Mount mount);
648 public virtual signal void mount_changed (GLib.Mount mount);
649 public virtual signal void mount_pre_unmount (GLib.Mount mount);
650 public virtual signal void mount_removed (GLib.Mount mount);
651 public virtual signal void volume_added (GLib.Volume volume);
652 public virtual signal void volume_changed (GLib.Volume volume);
653 public virtual signal void volume_removed (GLib.Volume volume);
655 [CCode (cheader_filename = "gio/gio.h")]
656 public interface AppInfo : GLib.Object {
657 public static weak GLib.AppInfo create_from_commandline (string commandline, string application_name, GLib.AppInfoCreateFlags flags) throws GLib.Error;
658 public static weak GLib.List get_all ();
659 public static weak GLib.List get_all_for_type (string content_type);
660 public static weak GLib.AppInfo get_default_for_type (string content_type, bool must_support_uris);
661 public static weak GLib.AppInfo get_default_for_uri_scheme (string uri_scheme);
662 public static bool launch_default_for_uri (string uri, GLib.AppLaunchContext? launch_context) throws GLib.Error;
663 public abstract bool add_supports_type (string content_type) throws GLib.Error;
664 public abstract bool can_remove_supports_type ();
665 public abstract weak GLib.AppInfo dup ();
666 public abstract bool equal (GLib.AppInfo appinfo2);
667 public abstract weak string get_description ();
668 public abstract weak string get_executable ();
669 public abstract weak GLib.Icon get_icon ();
670 public abstract weak string get_id ();
671 public abstract weak string get_name ();
672 public abstract bool launch (GLib.List? files, GLib.AppLaunchContext launch_context) throws GLib.Error;
673 public abstract bool launch_uris (GLib.List? uris, GLib.AppLaunchContext launch_context) throws GLib.Error;
674 public abstract bool remove_supports_type (string content_type) throws GLib.Error;
675 public abstract bool set_as_default_for_extension (string extension) throws GLib.Error;
676 public abstract bool set_as_default_for_type (string content_type) throws GLib.Error;
677 public abstract bool should_show ();
678 public abstract bool supports_files ();
679 public abstract bool supports_uris ();
681 [CCode (cheader_filename = "gio/gio.h")]
682 public interface AsyncResult : GLib.Object {
683 public abstract weak GLib.Object get_source_object ();
684 public abstract void* get_user_data ();
686 [CCode (cheader_filename = "gio/gio.h")]
687 public interface Drive : GLib.Object {
688 public abstract bool can_eject ();
689 public abstract bool can_poll_for_media ();
690 public abstract void eject (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback? callback);
691 public abstract bool eject_finish (GLib.AsyncResult _result) throws GLib.Error;
692 public abstract weak string enumerate_identifiers ();
693 public abstract weak GLib.Icon get_icon ();
694 public abstract weak string get_identifier (string kind);
695 public abstract weak string get_name ();
696 public abstract weak GLib.List get_volumes ();
697 public abstract bool has_media ();
698 public abstract bool has_volumes ();
699 public abstract bool is_media_check_automatic ();
700 public abstract bool is_media_removable ();
701 public abstract void poll_for_media (GLib.Cancellable? cancellable, GLib.AsyncReadyCallback? callback);
702 public abstract bool poll_for_media_finish (GLib.AsyncResult _result) throws GLib.Error;
703 public virtual signal void changed ();
704 public virtual signal void disconnected ();
705 public virtual signal void eject_button ();
707 [CCode (cheader_filename = "gio/gio.h")]
708 public interface File : GLib.Object {
709 public bool copy_attributes (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
710 public bool @delete (GLib.Cancellable? cancellable) throws GLib.Error;
711 public GLib.File get_child (string name);
712 public bool has_prefix (GLib.File prefix);
713 public bool load_contents (GLib.Cancellable? cancellable, out weak string contents, out ulong length, out weak string etag_out) throws GLib.Error;
714 public void load_contents_async (GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
715 public bool load_contents_finish (GLib.AsyncResult res, out weak string contents, out ulong length, out weak string etag_out) throws GLib.Error;
716 public void load_partial_contents_async (GLib.Cancellable? cancellable, GLib.FileReadMoreCallback read_more_callback, GLib.AsyncReadyCallback callback);
717 public bool load_partial_contents_finish (GLib.AsyncResult res, out weak string contents, ulong length, out weak string etag_out) throws GLib.Error;
718 public bool make_directory_with_parents (GLib.Cancellable? cancellable) throws GLib.Error;
719 public static GLib.File new_for_commandline_arg (string arg);
720 public static GLib.File new_for_path (string path);
721 public static GLib.File new_for_uri (string uri);
722 public static weak GLib.File parse_name (string parse_name);
723 public GLib.AppInfo query_default_handler (GLib.Cancellable? cancellable) throws GLib.Error;
724 public bool query_exists (GLib.Cancellable? cancellable);
725 public GLib.FileType query_file_type (GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable);
726 public GLib.FileInputStream read (GLib.Cancellable? cancellable) throws GLib.Error;
727 public bool replace_contents (string contents, ulong length, string? etag, bool make_backup, GLib.FileCreateFlags flags, out weak string new_etag, GLib.Cancellable? cancellable) throws GLib.Error;
728 public void replace_contents_async (string contents, ulong length, string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
729 public bool replace_contents_finish (GLib.AsyncResult res, out weak string new_etag) throws GLib.Error;
730 public bool set_attribute_byte_string (string attribute, string value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
731 public bool set_attribute_int32 (string attribute, int value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
732 public bool set_attribute_int64 (string attribute, int64 value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
733 public bool set_attribute_string (string attribute, string value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
734 public bool set_attribute_uint32 (string attribute, uint value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
735 public bool set_attribute_uint64 (string attribute, uint64 value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
736 public abstract GLib.FileOutputStream append_to (GLib.FileCreateFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
737 public abstract void append_to_async (GLib.FileCreateFlags flags, int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
738 public abstract GLib.FileOutputStream append_to_finish (GLib.AsyncResult res) throws GLib.Error;
739 public abstract bool copy (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable? cancellable, GLib.FileProgressCallback? progress_callback) throws GLib.Error;
740 public abstract void copy_async (GLib.File destination, GLib.FileCopyFlags flags, int io_priority, GLib.Cancellable? cancellable, GLib.FileProgressCallback? progress_callback, GLib.AsyncReadyCallback callback);
741 public abstract bool copy_finish (GLib.AsyncResult res) throws GLib.Error;
742 public abstract GLib.FileOutputStream create (GLib.FileCreateFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
743 public abstract void create_async (GLib.FileCreateFlags flags, int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
744 public abstract GLib.FileOutputStream create_finish (GLib.AsyncResult res) throws GLib.Error;
746 public abstract bool delete_file (GLib.Cancellable? cancellable) throws GLib.Error;
747 public abstract weak GLib.File dup ();
748 public abstract void eject_mountable (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback? callback);
749 public abstract bool eject_mountable_finish (GLib.AsyncResult _result) throws GLib.Error;
750 public abstract GLib.FileEnumerator enumerate_children (string attributes, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
751 public abstract void enumerate_children_async (string attributes, GLib.FileQueryInfoFlags flags, int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
752 public abstract GLib.FileEnumerator enumerate_children_finish (GLib.AsyncResult res) throws GLib.Error;
753 public abstract bool equal (GLib.File file2);
754 public abstract GLib.Mount find_enclosing_mount (GLib.Cancellable? cancellable) throws GLib.Error;
755 public abstract void find_enclosing_mount_async (int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
756 public abstract GLib.Mount find_enclosing_mount_finish (GLib.AsyncResult res) throws GLib.Error;
757 public abstract string? get_basename ();
758 public abstract GLib.File get_child_for_display_name (string display_name) throws GLib.Error;
759 public abstract GLib.File? get_parent ();
760 public abstract string get_parse_name ();
761 public abstract string? get_path ();
762 public abstract string? get_relative_path (GLib.File descendant);
763 public abstract string get_uri ();
764 public abstract string get_uri_scheme ();
765 public abstract bool has_uri_scheme (string uri_scheme);
766 public abstract uint hash (void* file);
767 public abstract bool is_native ();
768 public abstract bool make_directory (GLib.Cancellable? cancellable) throws GLib.Error;
769 public abstract bool make_symbolic_link (string symlink_value, GLib.Cancellable? cancellable) throws GLib.Error;
771 public abstract weak GLib.FileMonitor monitor_dir (GLib.FileMonitorFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
773 public abstract weak GLib.FileMonitor monitor_file (GLib.FileMonitorFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
774 public abstract void mount_enclosing_volume (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback? callback);
775 public abstract bool mount_enclosing_volume_finish (GLib.AsyncResult _result) throws GLib.Error;
776 public abstract void mount_mountable (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback? callback);
777 public abstract weak GLib.File mount_mountable_finish (GLib.AsyncResult _result) throws GLib.Error;
778 public abstract bool move (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable? cancellable, GLib.FileProgressCallback? progress_callback) throws GLib.Error;
780 public abstract bool prefix_matches (GLib.File file);
781 public abstract weak GLib.FileInfo query_filesystem_info (string attributes, GLib.Cancellable? cancellable) throws GLib.Error;
782 public abstract void query_filesystem_info_async (string attributes, int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
783 public abstract weak GLib.FileInfo query_filesystem_info_finish (GLib.AsyncResult res) throws GLib.Error;
784 public abstract GLib.FileInfo query_info (string attributes, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
785 public abstract void query_info_async (string attributes, GLib.FileQueryInfoFlags flags, int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
786 public abstract GLib.FileInfo query_info_finish (GLib.AsyncResult res) throws GLib.Error;
787 public abstract weak GLib.FileAttributeInfoList query_settable_attributes (GLib.Cancellable? cancellable) throws GLib.Error;
788 public abstract weak GLib.FileAttributeInfoList query_writable_namespaces (GLib.Cancellable? cancellable) throws GLib.Error;
789 public abstract void read_async (int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
790 public abstract GLib.FileInputStream read_finish (GLib.AsyncResult res) throws GLib.Error;
792 public abstract weak GLib.FileInputStream read_fn (GLib.Cancellable? cancellable) throws GLib.Error;
793 public abstract GLib.FileOutputStream replace (string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
794 public abstract void replace_async (string? etag, bool make_backup, GLib.FileCreateFlags flags, int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
795 public abstract GLib.FileOutputStream replace_finish (GLib.AsyncResult res) throws GLib.Error;
796 public abstract GLib.File resolve_relative_path (string relative_path);
797 public abstract bool set_attribute (string attribute, GLib.FileAttributeType type, void* value_p, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
798 public abstract void set_attributes_async (GLib.FileInfo info, GLib.FileQueryInfoFlags flags, int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
799 public abstract bool set_attributes_finish (GLib.AsyncResult _result, out weak GLib.FileInfo info) throws GLib.Error;
800 public abstract bool set_attributes_from_info (GLib.FileInfo info, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
801 public abstract weak GLib.File set_display_name (string display_name, GLib.Cancellable? cancellable) throws GLib.Error;
802 public abstract void set_display_name_async (string display_name, int io_priority, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
803 public abstract weak GLib.File set_display_name_finish (GLib.AsyncResult res) throws GLib.Error;
804 public abstract bool trash (GLib.Cancellable? cancellable) throws GLib.Error;
805 public abstract void unmount_mountable (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback? callback);
806 public abstract bool unmount_mountable_finish (GLib.AsyncResult _result) throws GLib.Error;
808 [CCode (cheader_filename = "gio/gio.h")]
809 public interface Icon : GLib.Object {
810 public abstract bool equal (GLib.Icon icon2);
811 public abstract uint hash (void* icon);
813 [CCode (cheader_filename = "gio/gio.h")]
814 public interface LoadableIcon : GLib.Icon, GLib.Object {
815 public abstract weak GLib.InputStream load (int size, out weak string? type, GLib.Cancellable? cancellable) throws GLib.Error;
816 public abstract void load_async (int size, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
817 public abstract weak GLib.InputStream load_finish (GLib.AsyncResult res, out weak string? type) throws GLib.Error;
819 [CCode (cheader_filename = "gio/gio.h")]
820 public interface Mount : GLib.Object {
821 public abstract bool can_eject ();
822 public abstract bool can_unmount ();
823 public abstract void eject (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback? callback);
824 public abstract bool eject_finish (GLib.AsyncResult _result) throws GLib.Error;
825 public abstract weak GLib.Drive get_drive ();
826 public abstract weak GLib.Icon get_icon ();
827 public abstract weak string get_name ();
828 public abstract weak GLib.File get_root ();
829 public abstract weak string get_uuid ();
830 public abstract weak GLib.Volume get_volume ();
831 public abstract void remount (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback? callback);
832 public abstract bool remount_finish (GLib.AsyncResult _result) throws GLib.Error;
833 public abstract void unmount (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback? callback);
834 public abstract bool unmount_finish (GLib.AsyncResult _result) throws GLib.Error;
835 public virtual signal void changed ();
836 public virtual signal void unmounted ();
838 [CCode (cheader_filename = "gio/gio.h")]
839 public interface Seekable : GLib.Object {
840 public bool truncate (int64 offset, GLib.Cancellable? cancellable) throws GLib.Error;
841 public abstract bool can_seek ();
842 public abstract bool can_truncate ();
843 public abstract bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable? cancellable) throws GLib.Error;
844 public abstract int64 tell ();
846 public abstract bool truncate_fn (int64 offset, GLib.Cancellable? cancellable) throws GLib.Error;
848 [CCode (cheader_filename = "gio/gio.h")]
849 public interface Volume : GLib.Object {
850 public void mount (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback? callback);
851 public abstract bool can_eject ();
852 public abstract bool can_mount ();
853 public abstract void eject (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback? callback);
854 public abstract bool eject_finish (GLib.AsyncResult _result) throws GLib.Error;
855 public abstract weak string enumerate_identifiers ();
856 public abstract weak GLib.Drive get_drive ();
857 public abstract weak GLib.Icon get_icon ();
858 public abstract weak string get_identifier (string kind);
859 public abstract weak GLib.Mount get_mount ();
860 public abstract weak string get_name ();
861 public abstract weak string get_uuid ();
862 public abstract bool mount_finish (GLib.AsyncResult _result) throws GLib.Error;
864 public abstract void mount_fn (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
865 public abstract bool should_automount ();
866 public virtual signal void changed ();
867 public virtual signal void removed ();
869 [CCode (cheader_filename = "gio/gio.h")]
870 public delegate void AsyncReadyCallback (GLib.Object source_object, GLib.AsyncResult res);
871 [CCode (cheader_filename = "gio/gio.h")]
872 public delegate void FileProgressCallback (int64 current_num_bytes, int64 total_num_bytes);
873 [CCode (cheader_filename = "gio/gio.h")]
874 public static delegate bool FileReadMoreCallback (string file_contents, int64 file_size, void* callback_data);
875 [CCode (cheader_filename = "gio/gio.h")]
876 public delegate bool IOSchedulerJobFunc (GLib.IOSchedulerJob job, GLib.Cancellable cancellable);
877 [CCode (cheader_filename = "gio/gio.h")]
878 public static delegate void* ReallocFunc (void* data, ulong size);
879 [CCode (cheader_filename = "gio/gio.h")]
880 public static delegate void SimpleAsyncThreadFunc (GLib.SimpleAsyncResult res, GLib.Object object, GLib.Cancellable cancellable);
881 [CCode (cheader_filename = "gio/gio.h")]
882 public const string FILE_ATTRIBUTE_ACCESS_CAN_DELETE;
883 [CCode (cheader_filename = "gio/gio.h")]
884 public const string FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE;
885 [CCode (cheader_filename = "gio/gio.h")]
886 public const string FILE_ATTRIBUTE_ACCESS_CAN_READ;
887 [CCode (cheader_filename = "gio/gio.h")]
888 public const string FILE_ATTRIBUTE_ACCESS_CAN_RENAME;
889 [CCode (cheader_filename = "gio/gio.h")]
890 public const string FILE_ATTRIBUTE_ACCESS_CAN_TRASH;
891 [CCode (cheader_filename = "gio/gio.h")]
892 public const string FILE_ATTRIBUTE_ACCESS_CAN_WRITE;
893 [CCode (cheader_filename = "gio/gio.h")]
894 public const string FILE_ATTRIBUTE_DOS_IS_ARCHIVE;
895 [CCode (cheader_filename = "gio/gio.h")]
896 public const string FILE_ATTRIBUTE_DOS_IS_SYSTEM;
897 [CCode (cheader_filename = "gio/gio.h")]
898 public const string FILE_ATTRIBUTE_ETAG_VALUE;
899 [CCode (cheader_filename = "gio/gio.h")]
900 public const string FILE_ATTRIBUTE_FILESYSTEM_FREE;
901 [CCode (cheader_filename = "gio/gio.h")]
902 public const string FILE_ATTRIBUTE_FILESYSTEM_READONLY;
903 [CCode (cheader_filename = "gio/gio.h")]
904 public const string FILE_ATTRIBUTE_FILESYSTEM_SIZE;
905 [CCode (cheader_filename = "gio/gio.h")]
906 public const string FILE_ATTRIBUTE_FILESYSTEM_TYPE;
907 [CCode (cheader_filename = "gio/gio.h")]
908 public const string FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW;
909 [CCode (cheader_filename = "gio/gio.h")]
910 public const string FILE_ATTRIBUTE_GVFS_BACKEND;
911 [CCode (cheader_filename = "gio/gio.h")]
912 public const string FILE_ATTRIBUTE_ID_FILE;
913 [CCode (cheader_filename = "gio/gio.h")]
914 public const string FILE_ATTRIBUTE_ID_FILESYSTEM;
915 [CCode (cheader_filename = "gio/gio.h")]
916 public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT;
917 [CCode (cheader_filename = "gio/gio.h")]
918 public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT;
919 [CCode (cheader_filename = "gio/gio.h")]
920 public const string FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT;
921 [CCode (cheader_filename = "gio/gio.h")]
922 public const string FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI;
923 [CCode (cheader_filename = "gio/gio.h")]
924 public const string FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE;
925 [CCode (cheader_filename = "gio/gio.h")]
926 public const string FILE_ATTRIBUTE_OWNER_GROUP;
927 [CCode (cheader_filename = "gio/gio.h")]
928 public const string FILE_ATTRIBUTE_OWNER_USER;
929 [CCode (cheader_filename = "gio/gio.h")]
930 public const string FILE_ATTRIBUTE_OWNER_USER_REAL;
931 [CCode (cheader_filename = "gio/gio.h")]
932 public const string FILE_ATTRIBUTE_SELINUX_CONTEXT;
933 [CCode (cheader_filename = "gio/gio.h")]
934 public const string FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE;
935 [CCode (cheader_filename = "gio/gio.h")]
936 public const string FILE_ATTRIBUTE_STANDARD_COPY_NAME;
937 [CCode (cheader_filename = "gio/gio.h")]
938 public const string FILE_ATTRIBUTE_STANDARD_DESCRIPTION;
939 [CCode (cheader_filename = "gio/gio.h")]
940 public const string FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME;
941 [CCode (cheader_filename = "gio/gio.h")]
942 public const string FILE_ATTRIBUTE_STANDARD_EDIT_NAME;
943 [CCode (cheader_filename = "gio/gio.h")]
944 public const string FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE;
945 [CCode (cheader_filename = "gio/gio.h")]
946 public const string FILE_ATTRIBUTE_STANDARD_ICON;
947 [CCode (cheader_filename = "gio/gio.h")]
948 public const string FILE_ATTRIBUTE_STANDARD_IS_BACKUP;
949 [CCode (cheader_filename = "gio/gio.h")]
950 public const string FILE_ATTRIBUTE_STANDARD_IS_HIDDEN;
951 [CCode (cheader_filename = "gio/gio.h")]
952 public const string FILE_ATTRIBUTE_STANDARD_IS_SYMLINK;
953 [CCode (cheader_filename = "gio/gio.h")]
954 public const string FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL;
955 [CCode (cheader_filename = "gio/gio.h")]
956 public const string FILE_ATTRIBUTE_STANDARD_NAME;
957 [CCode (cheader_filename = "gio/gio.h")]
958 public const string FILE_ATTRIBUTE_STANDARD_SIZE;
959 [CCode (cheader_filename = "gio/gio.h")]
960 public const string FILE_ATTRIBUTE_STANDARD_SORT_ORDER;
961 [CCode (cheader_filename = "gio/gio.h")]
962 public const string FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET;
963 [CCode (cheader_filename = "gio/gio.h")]
964 public const string FILE_ATTRIBUTE_STANDARD_TARGET_URI;
965 [CCode (cheader_filename = "gio/gio.h")]
966 public const string FILE_ATTRIBUTE_STANDARD_TYPE;
967 [CCode (cheader_filename = "gio/gio.h")]
968 public const string FILE_ATTRIBUTE_THUMBNAILING_FAILED;
969 [CCode (cheader_filename = "gio/gio.h")]
970 public const string FILE_ATTRIBUTE_THUMBNAIL_PATH;
971 [CCode (cheader_filename = "gio/gio.h")]
972 public const string FILE_ATTRIBUTE_TIME_ACCESS;
973 [CCode (cheader_filename = "gio/gio.h")]
974 public const string FILE_ATTRIBUTE_TIME_ACCESS_USEC;
975 [CCode (cheader_filename = "gio/gio.h")]
976 public const string FILE_ATTRIBUTE_TIME_CHANGED;
977 [CCode (cheader_filename = "gio/gio.h")]
978 public const string FILE_ATTRIBUTE_TIME_CHANGED_USEC;
979 [CCode (cheader_filename = "gio/gio.h")]
980 public const string FILE_ATTRIBUTE_TIME_CREATED;
981 [CCode (cheader_filename = "gio/gio.h")]
982 public const string FILE_ATTRIBUTE_TIME_CREATED_USEC;
983 [CCode (cheader_filename = "gio/gio.h")]
984 public const string FILE_ATTRIBUTE_TIME_MODIFIED;
985 [CCode (cheader_filename = "gio/gio.h")]
986 public const string FILE_ATTRIBUTE_TIME_MODIFIED_USEC;
987 [CCode (cheader_filename = "gio/gio.h")]
988 public const string FILE_ATTRIBUTE_TRASH_ITEM_COUNT;
989 [CCode (cheader_filename = "gio/gio.h")]
990 public const string FILE_ATTRIBUTE_UNIX_BLOCKS;
991 [CCode (cheader_filename = "gio/gio.h")]
992 public const string FILE_ATTRIBUTE_UNIX_BLOCK_SIZE;
993 [CCode (cheader_filename = "gio/gio.h")]
994 public const string FILE_ATTRIBUTE_UNIX_DEVICE;
995 [CCode (cheader_filename = "gio/gio.h")]
996 public const string FILE_ATTRIBUTE_UNIX_GID;
997 [CCode (cheader_filename = "gio/gio.h")]
998 public const string FILE_ATTRIBUTE_UNIX_INODE;
999 [CCode (cheader_filename = "gio/gio.h")]
1000 public const string FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT;
1001 [CCode (cheader_filename = "gio/gio.h")]
1002 public const string FILE_ATTRIBUTE_UNIX_MODE;
1003 [CCode (cheader_filename = "gio/gio.h")]
1004 public const string FILE_ATTRIBUTE_UNIX_NLINK;
1005 [CCode (cheader_filename = "gio/gio.h")]
1006 public const string FILE_ATTRIBUTE_UNIX_RDEV;
1007 [CCode (cheader_filename = "gio/gio.h")]
1008 public const string FILE_ATTRIBUTE_UNIX_UID;
1009 [CCode (cheader_filename = "gio/gio.h")]
1010 public const string NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME;
1011 [CCode (cheader_filename = "gio/gio.h")]
1012 public const string VFS_EXTENSION_POINT_NAME;
1013 [CCode (cheader_filename = "gio/gio.h")]
1014 public const string VOLUME_IDENTIFIER_KIND_HAL_UDI;
1015 [CCode (cheader_filename = "gio/gio.h")]
1016 public const string VOLUME_IDENTIFIER_KIND_LABEL;
1017 [CCode (cheader_filename = "gio/gio.h")]
1018 public const string VOLUME_IDENTIFIER_KIND_NFS_MOUNT;
1019 [CCode (cheader_filename = "gio/gio.h")]
1020 public const string VOLUME_IDENTIFIER_KIND_UNIX_DEVICE;
1021 [CCode (cheader_filename = "gio/gio.h")]
1022 public const string VOLUME_IDENTIFIER_KIND_UUID;
1023 [CCode (cheader_filename = "gio/gio.h")]
1024 public const string VOLUME_MONITOR_EXTENSION_POINT_NAME;
1025 [CCode (cname = "g_content_type_can_be_executable", cheader_filename = "gio/gio.h")]
1026 public static bool g_content_type_can_be_executable (string type);
1027 [CCode (cname = "g_content_type_equals", cheader_filename = "gio/gio.h")]
1028 public static bool g_content_type_equals (string type1, string type2);
1029 [CCode (cname = "g_content_type_from_mime_type", cheader_filename = "gio/gio.h")]
1030 public static weak string g_content_type_from_mime_type (string mime_type);
1031 [CCode (cname = "g_content_type_get_description", cheader_filename = "gio/gio.h")]
1032 public static weak string g_content_type_get_description (string type);
1033 [CCode (cname = "g_content_type_get_icon", cheader_filename = "gio/gio.h")]
1034 public static weak GLib.Icon g_content_type_get_icon (string type);
1035 [CCode (cname = "g_content_type_get_mime_type", cheader_filename = "gio/gio.h")]
1036 public static weak string g_content_type_get_mime_type (string type);
1037 [CCode (cname = "g_content_type_guess", cheader_filename = "gio/gio.h")]
1038 public static weak string g_content_type_guess (string filename, uchar[] data, out bool result_uncertain);
1039 [CCode (cname = "g_content_type_is_a", cheader_filename = "gio/gio.h")]
1040 public static bool g_content_type_is_a (string type, string supertype);
1041 [CCode (cname = "g_content_type_is_unknown", cheader_filename = "gio/gio.h")]
1042 public static bool g_content_type_is_unknown (string type);
1043 [CCode (cname = "g_content_types_get_registered", cheader_filename = "gio/gio.h")]
1044 public static weak GLib.List g_content_types_get_registered ();
1045 [CCode (cname = "g_io_error_from_errno", cheader_filename = "gio/gio.h")]
1046 public static weak GLib.IOError g_io_error_from_errno (int err_no);
1047 [CCode (cname = "g_io_error_quark", cheader_filename = "gio/gio.h")]
1048 public static GLib.Quark g_io_error_quark ();
1049 [CCode (cname = "g_io_modules_load_all_in_directory", cheader_filename = "gio/gio.h")]
1050 public static weak GLib.List g_io_modules_load_all_in_directory (string dirname);
1051 [CCode (cname = "g_io_scheduler_cancel_all_jobs", cheader_filename = "gio/gio.h")]
1052 public static void g_io_scheduler_cancel_all_jobs ();
1053 [CCode (cname = "g_io_scheduler_push_job", cheader_filename = "gio/gio.h")]
1054 public static void g_io_scheduler_push_job (GLib.IOSchedulerJobFunc job_func, GLib.DestroyNotify? notify, int io_priority, GLib.Cancellable? cancellable);
1055 [CCode (cname = "g_simple_async_report_error_in_idle", cheader_filename = "gio/gio.h")]
1056 public static void g_simple_async_report_error_in_idle (GLib.Object object, GLib.AsyncReadyCallback callback, GLib.Quark domain, int code, string format);
1057 [CCode (cname = "g_simple_async_report_gerror_in_idle", cheader_filename = "gio/gio.h")]
1058 public static void g_simple_async_report_gerror_in_idle (GLib.Object object, GLib.AsyncReadyCallback callback, GLib.Error error);