public BufferedInputStream (GLib.InputStream base_stream);
public virtual ssize_t fill (ssize_t count, GLib.Cancellable? cancellable) throws GLib.Error;
public virtual async ssize_t fill_async (ssize_t count, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public virtual ssize_t fill_finish (GLib.AsyncResult _result) throws GLib.Error;
public size_t get_available ();
public size_t get_buffer_size ();
public size_t peek (void* buffer, size_t offset, size_t count);
public int64 read_int64 (GLib.Cancellable? cancellable) throws GLib.Error;
public string? read_line (out size_t length, GLib.Cancellable? cancellable) throws GLib.Error;
public async string? read_line_async (int io_priority, GLib.Cancellable? cancellable, out size_t length) throws GLib.Error;
- public string? read_line_finish (GLib.AsyncResult _result, out unowned size_t length) throws GLib.Error;
public uint16 read_uint16 (GLib.Cancellable? cancellable) throws GLib.Error;
public uint32 read_uint32 (GLib.Cancellable? cancellable) throws GLib.Error;
public uint64 read_uint64 (GLib.Cancellable? cancellable) throws GLib.Error;
public string? read_until (string stop_chars, out size_t length, GLib.Cancellable? cancellable) throws GLib.Error;
public async string? read_until_async (string stop_chars, int io_priority, GLib.Cancellable? cancellable, out size_t length) throws GLib.Error;
- public string? read_until_finish (GLib.AsyncResult _result, out unowned size_t length) throws GLib.Error;
public void set_byte_order (GLib.DataStreamByteOrder order);
public void set_newline_type (GLib.DataStreamNewlineType type);
public GLib.DataStreamByteOrder byte_order { get; set; }
public class FileEnumerator : GLib.Object {
public bool close (GLib.Cancellable? cancellable) throws GLib.Error;
public virtual async bool close_async (int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public virtual bool close_finish (GLib.AsyncResult _result) throws GLib.Error;
[NoWrapper]
public virtual bool close_fn (GLib.Cancellable? cancellable) throws GLib.Error;
public unowned GLib.File get_container ();
public bool is_closed ();
public virtual GLib.FileInfo next_file (GLib.Cancellable? cancellable) throws GLib.Error;
public virtual async GLib.List<GLib.FileInfo> next_files_async (int num_files, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public virtual GLib.List<GLib.FileInfo> next_files_finish (GLib.AsyncResult _result) throws GLib.Error;
public void set_pending (bool pending);
public GLib.File container { construct; }
}
public virtual unowned string get_etag ();
public virtual unowned GLib.FileInfo query_info (string attributes, GLib.Cancellable? cancellable) throws GLib.Error;
public virtual async unowned GLib.FileInfo query_info_async (string attributes, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public virtual unowned GLib.FileInfo query_info_finish (GLib.AsyncResult _result) throws GLib.Error;
[NoWrapper]
public virtual bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable? cancellable) throws GLib.Error;
[NoWrapper]
public virtual bool can_seek ();
public virtual unowned GLib.FileInfo query_info (string attributes, GLib.Cancellable? cancellable) throws GLib.Error;
public virtual async unowned GLib.FileInfo query_info_async (string attributes, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public virtual unowned GLib.FileInfo query_info_finish (GLib.AsyncResult _result) throws GLib.Error;
[NoWrapper]
public virtual bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable? cancellable) throws GLib.Error;
[NoWrapper]
public virtual unowned string get_etag ();
public virtual unowned GLib.FileInfo query_info (string attributes, GLib.Cancellable? cancellable) throws GLib.Error;
public virtual async unowned GLib.FileInfo query_info_async (string attributes, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public virtual unowned GLib.FileInfo query_info_finish (GLib.AsyncResult _result) throws GLib.Error;
[NoWrapper]
public virtual bool seek (int64 offset, GLib.SeekType type, GLib.Cancellable? cancellable) throws GLib.Error;
[NoWrapper]
public void clear_pending ();
public bool close (GLib.Cancellable? cancellable) throws GLib.Error;
public virtual async bool close_async (int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public virtual bool close_finish (GLib.AsyncResult _result) throws GLib.Error;
[NoWrapper]
public virtual bool close_fn (GLib.Cancellable? cancellable) throws GLib.Error;
public virtual unowned GLib.InputStream get_input_stream ();
public void clear_pending ();
public bool close (GLib.Cancellable? cancellable) throws GLib.Error;
public virtual async bool close_async (int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public virtual bool close_finish (GLib.AsyncResult _result) throws GLib.Error;
[NoWrapper]
public virtual bool close_fn (GLib.Cancellable? cancellable) throws GLib.Error;
public bool has_pending ();
public ssize_t read (void* buffer, size_t count, GLib.Cancellable? cancellable) throws GLib.Error;
public bool read_all (void* buffer, size_t count, out size_t bytes_read, GLib.Cancellable? cancellable) throws GLib.Error;
public virtual async ssize_t read_async (void* buffer, size_t count, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public virtual ssize_t read_finish (GLib.AsyncResult _result) throws GLib.Error;
[NoWrapper]
public virtual ssize_t read_fn (void* buffer, size_t count, GLib.Cancellable? cancellable) throws GLib.Error;
public bool set_pending () throws GLib.Error;
public virtual ssize_t skip (size_t count, GLib.Cancellable? cancellable) throws GLib.Error;
public virtual async ssize_t skip_async (size_t count, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public virtual ssize_t skip_finish (GLib.AsyncResult _result) throws GLib.Error;
}
[Compact]
[CCode (cheader_filename = "gio/gio.h")]
public void clear_pending ();
public bool close (GLib.Cancellable? cancellable) throws GLib.Error;
public virtual async bool close_async (int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public virtual bool close_finish (GLib.AsyncResult _result) throws GLib.Error;
[NoWrapper]
public virtual bool close_fn (GLib.Cancellable? cancellable) throws GLib.Error;
public virtual bool flush (GLib.Cancellable? cancellable) throws GLib.Error;
public virtual async bool flush_async (int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public virtual bool flush_finish (GLib.AsyncResult _result) throws GLib.Error;
public bool has_pending ();
public bool is_closed ();
public bool is_closing ();
public bool set_pending () throws GLib.Error;
public virtual ssize_t splice (GLib.InputStream source, GLib.OutputStreamSpliceFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
public virtual async ssize_t splice_async (GLib.InputStream source, GLib.OutputStreamSpliceFlags flags, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public virtual ssize_t splice_finish (GLib.AsyncResult _result) throws GLib.Error;
public ssize_t write (void* buffer, size_t count, GLib.Cancellable? cancellable) throws GLib.Error;
public bool write_all (void* buffer, size_t count, out size_t bytes_written, GLib.Cancellable? cancellable) throws GLib.Error;
public virtual async ssize_t write_async (void* buffer, size_t count, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public virtual ssize_t write_finish (GLib.AsyncResult _result) throws GLib.Error;
[NoWrapper]
public virtual ssize_t write_fn (void* buffer, size_t count, GLib.Cancellable? cancellable) throws GLib.Error;
}
public class Permission : GLib.Object {
public virtual bool acquire (GLib.Cancellable? cancellable) throws GLib.Error;
public virtual async bool acquire_async (GLib.Cancellable? cancellable) throws GLib.Error;
- public virtual bool acquire_finish (GLib.AsyncResult _result) throws GLib.Error;
public bool get_allowed ();
public bool get_can_acquire ();
public bool get_can_release ();
public void impl_update (bool allowed, bool can_acquire, bool can_release);
public virtual bool release (GLib.Cancellable? cancellable) throws GLib.Error;
public virtual async bool release_async (GLib.Cancellable? cancellable) throws GLib.Error;
- public virtual bool release_finish (GLib.AsyncResult _result) throws GLib.Error;
public bool allowed { get; }
public bool can_acquire { get; }
public bool can_release { get; }
public static unowned GLib.Resolver get_default ();
public virtual unowned string lookup_by_address (GLib.InetAddress address, GLib.Cancellable? cancellable) throws GLib.Error;
public virtual async unowned string lookup_by_address_async (GLib.InetAddress address, GLib.Cancellable? cancellable) throws GLib.Error;
- public virtual unowned string lookup_by_address_finish (GLib.AsyncResult _result) throws GLib.Error;
public virtual GLib.List<GLib.InetAddress> lookup_by_name (string hostname, GLib.Cancellable? cancellable) throws GLib.Error;
public virtual async GLib.List<GLib.InetAddress> lookup_by_name_async (string hostname, GLib.Cancellable? cancellable) throws GLib.Error;
- public virtual GLib.List<GLib.InetAddress> lookup_by_name_finish (GLib.AsyncResult _result) throws GLib.Error;
public virtual GLib.List<GLib.SrvTarget> lookup_service (string service, string protocol, string domain, GLib.Cancellable? cancellable) throws GLib.Error;
public virtual async GLib.List<GLib.SrvTarget> lookup_service_async (string service, string protocol, string domain, GLib.Cancellable? cancellable) throws GLib.Error;
- public virtual GLib.List<GLib.SrvTarget> lookup_service_finish (GLib.AsyncResult _result) throws GLib.Error;
public void set_default ();
public virtual signal void reload ();
}
public class SocketAddressEnumerator : GLib.Object {
public virtual unowned GLib.SocketAddress next (GLib.Cancellable? cancellable) throws GLib.Error;
public virtual async unowned GLib.SocketAddress next_async (GLib.Cancellable? cancellable) throws GLib.Error;
- public virtual unowned GLib.SocketAddress next_finish (GLib.AsyncResult _result) throws GLib.Error;
}
[CCode (cheader_filename = "gio/gio.h")]
public class SocketClient : GLib.Object {
public SocketClient ();
public unowned GLib.SocketConnection connect (GLib.SocketConnectable connectable, GLib.Cancellable? cancellable) throws GLib.Error;
public async unowned GLib.SocketConnection connect_async (GLib.SocketConnectable connectable, GLib.Cancellable? cancellable) throws GLib.Error;
- public unowned GLib.SocketConnection connect_finish (GLib.AsyncResult _result) throws GLib.Error;
public unowned GLib.SocketConnection connect_to_host (string host_and_port, uint16 default_port, GLib.Cancellable? cancellable) throws GLib.Error;
public async unowned GLib.SocketConnection connect_to_host_async (string host_and_port, uint16 default_port, GLib.Cancellable? cancellable) throws GLib.Error;
- public unowned GLib.SocketConnection connect_to_host_finish (GLib.AsyncResult _result) throws GLib.Error;
public unowned GLib.SocketConnection connect_to_service (string domain, string service, GLib.Cancellable? cancellable) throws GLib.Error;
public async unowned GLib.SocketConnection connect_to_service_async (string domain, string service, GLib.Cancellable? cancellable) throws GLib.Error;
- public unowned GLib.SocketConnection connect_to_service_finish (GLib.AsyncResult _result) throws GLib.Error;
public GLib.SocketFamily get_family ();
public unowned GLib.SocketAddress get_local_address ();
public GLib.SocketProtocol get_protocol ();
public SocketListener ();
public unowned GLib.SocketConnection accept (out unowned GLib.Object source_object, GLib.Cancellable? cancellable) throws GLib.Error;
public async unowned GLib.SocketConnection accept_async (GLib.Cancellable? cancellable, out unowned GLib.Object source_object) throws GLib.Error;
- public unowned GLib.SocketConnection accept_finish (GLib.AsyncResult _result, out unowned GLib.Object source_object) throws GLib.Error;
public unowned GLib.Socket accept_socket (out unowned GLib.Object source_object, GLib.Cancellable? cancellable) throws GLib.Error;
public async unowned GLib.Socket accept_socket_async (GLib.Cancellable? cancellable, out unowned GLib.Object source_object) throws GLib.Error;
- public unowned GLib.Socket accept_socket_finish (GLib.AsyncResult _result, out unowned GLib.Object source_object) throws GLib.Error;
public bool add_address (GLib.SocketAddress address, GLib.SocketType type, GLib.SocketProtocol protocol, GLib.Object? source_object, out unowned GLib.SocketAddress effective_address) throws GLib.Error;
public uint16 add_any_inet_port (GLib.Object source_object) throws GLib.Error;
public bool add_inet_port (uint16 port, GLib.Object? source_object) throws GLib.Error;
[CCode (cheader_filename = "gio/gio.h")]
public interface AsyncInitable : GLib.Object {
public abstract async bool init_async (int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool init_finish (GLib.AsyncResult res) throws GLib.Error;
public static async unowned GLib.Object new_async (GLib.Type object_type, int io_priority, GLib.Cancellable? cancellable, ...) throws GLib.Error;
- public unowned GLib.Object new_finish (GLib.AsyncResult res) throws GLib.Error;
public static async void new_valist_async (GLib.Type object_type, string first_property_name, void* var_args, int io_priority, GLib.Cancellable? cancellable);
public static async void newv_async (GLib.Type object_type, uint n_parameters, GLib.Parameter parameters, int io_priority, GLib.Cancellable? cancellable);
}
public abstract bool can_start_degraded ();
public abstract bool can_stop ();
public abstract async bool eject (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool eject_finish (GLib.AsyncResult _result) throws GLib.Error;
public abstract async bool eject_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool eject_with_operation_finish (GLib.AsyncResult _result) throws GLib.Error;
public abstract unowned string enumerate_identifiers ();
public abstract unowned GLib.Icon get_icon ();
public abstract unowned string get_identifier (string kind);
public abstract bool is_media_check_automatic ();
public abstract bool is_media_removable ();
public abstract async bool poll_for_media (GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool poll_for_media_finish (GLib.AsyncResult _result) throws GLib.Error;
public abstract async bool start (GLib.DriveStartFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool start_finish (GLib.AsyncResult _result) throws GLib.Error;
public abstract async bool stop (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool stop_finish (GLib.AsyncResult _result) throws GLib.Error;
public signal void changed ();
public signal void disconnected ();
public signal void eject_button ();
public interface File : GLib.Object {
public abstract GLib.FileOutputStream append_to (GLib.FileCreateFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
public abstract async GLib.FileOutputStream append_to_async (GLib.FileCreateFlags flags, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract GLib.FileOutputStream append_to_finish (GLib.AsyncResult res) throws GLib.Error;
public abstract bool copy (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable? cancellable, GLib.FileProgressCallback? progress_callback) throws GLib.Error;
public abstract async bool copy_async (GLib.File destination, GLib.FileCopyFlags flags, int io_priority, GLib.Cancellable? cancellable, GLib.FileProgressCallback? progress_callback) throws GLib.Error;
public bool copy_attributes (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool copy_finish (GLib.AsyncResult res) throws GLib.Error;
public abstract GLib.FileOutputStream create (GLib.FileCreateFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
public abstract async GLib.FileOutputStream create_async (GLib.FileCreateFlags flags, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract GLib.FileOutputStream create_finish (GLib.AsyncResult res) throws GLib.Error;
public abstract unowned GLib.FileIOStream create_readwrite (GLib.FileCreateFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
public abstract async unowned GLib.FileIOStream create_readwrite_async (GLib.FileCreateFlags flags, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract unowned GLib.FileIOStream create_readwrite_finish (GLib.AsyncResult res) throws GLib.Error;
public bool @delete (GLib.Cancellable? cancellable) throws GLib.Error;
[NoWrapper]
public abstract bool delete_file (GLib.Cancellable? cancellable) throws GLib.Error;
public abstract unowned GLib.File dup ();
public abstract async bool eject_mountable (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool eject_mountable_finish (GLib.AsyncResult _result) throws GLib.Error;
public abstract async bool eject_mountable_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool eject_mountable_with_operation_finish (GLib.AsyncResult _result) throws GLib.Error;
public abstract GLib.FileEnumerator enumerate_children (string attributes, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
public abstract async GLib.FileEnumerator enumerate_children_async (string attributes, GLib.FileQueryInfoFlags flags, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract GLib.FileEnumerator enumerate_children_finish (GLib.AsyncResult res) throws GLib.Error;
public abstract bool equal (GLib.File file2);
public abstract GLib.Mount find_enclosing_mount (GLib.Cancellable? cancellable) throws GLib.Error;
public abstract async GLib.Mount find_enclosing_mount_async (int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract GLib.Mount find_enclosing_mount_finish (GLib.AsyncResult res) throws GLib.Error;
public abstract string? get_basename ();
public GLib.File get_child (string name);
public abstract GLib.File get_child_for_display_name (string display_name) throws GLib.Error;
public abstract bool is_native ();
public bool load_contents (GLib.Cancellable? cancellable, out string contents, out size_t length, out string etag_out) throws GLib.Error;
public async bool load_contents_async (GLib.Cancellable? cancellable, out string contents, out size_t length, out string etag_out) throws GLib.Error;
- public bool load_contents_finish (GLib.AsyncResult res, out string contents, out unowned size_t length, out string etag_out) throws GLib.Error;
public async bool load_partial_contents_async (GLib.Cancellable? cancellable, GLib.FileReadMoreCallback read_more_callback, out string contents, out size_t length, out string etag_out) throws GLib.Error;
- public bool load_partial_contents_finish (GLib.AsyncResult res, out string contents, out unowned size_t length, out string etag_out) throws GLib.Error;
public abstract bool make_directory (GLib.Cancellable? cancellable) throws GLib.Error;
public bool make_directory_with_parents (GLib.Cancellable? cancellable) throws GLib.Error;
public abstract bool make_symbolic_link (string symlink_value, GLib.Cancellable? cancellable) throws GLib.Error;
public abstract GLib.FileMonitor monitor_directory (GLib.FileMonitorFlags flags, GLib.Cancellable? cancellable = null) throws GLib.IOError;
public abstract GLib.FileMonitor monitor_file (GLib.FileMonitorFlags flags, GLib.Cancellable? cancellable = null) throws GLib.IOError;
public abstract async bool mount_enclosing_volume (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool mount_enclosing_volume_finish (GLib.AsyncResult _result) throws GLib.Error;
public abstract async unowned GLib.File mount_mountable (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract unowned GLib.File mount_mountable_finish (GLib.AsyncResult _result) throws GLib.Error;
public abstract bool move (GLib.File destination, GLib.FileCopyFlags flags, GLib.Cancellable? cancellable, GLib.FileProgressCallback? progress_callback) throws GLib.Error;
public static GLib.File new_for_commandline_arg (string arg);
public static GLib.File new_for_path (string path);
public static GLib.File new_for_uri (string uri);
public abstract unowned GLib.FileIOStream open_readwrite (GLib.Cancellable? cancellable) throws GLib.Error;
public abstract async unowned GLib.FileIOStream open_readwrite_async (int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract unowned GLib.FileIOStream open_readwrite_finish (GLib.AsyncResult res) throws GLib.Error;
public static unowned GLib.File parse_name (string parse_name);
public abstract async bool poll_mountable (GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool poll_mountable_finish (GLib.AsyncResult _result) throws GLib.Error;
[NoWrapper]
public abstract bool prefix_matches (GLib.File file);
public GLib.AppInfo query_default_handler (GLib.Cancellable? cancellable) throws GLib.Error;
public GLib.FileType query_file_type (GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable);
public abstract unowned GLib.FileInfo query_filesystem_info (string attributes, GLib.Cancellable? cancellable) throws GLib.Error;
public abstract async unowned GLib.FileInfo query_filesystem_info_async (string attributes, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract unowned GLib.FileInfo query_filesystem_info_finish (GLib.AsyncResult res) throws GLib.Error;
public abstract GLib.FileInfo query_info (string attributes, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
public abstract async GLib.FileInfo query_info_async (string attributes, GLib.FileQueryInfoFlags flags, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract GLib.FileInfo query_info_finish (GLib.AsyncResult res) throws GLib.Error;
public abstract unowned GLib.FileAttributeInfoList query_settable_attributes (GLib.Cancellable? cancellable) throws GLib.Error;
public abstract unowned GLib.FileAttributeInfoList query_writable_namespaces (GLib.Cancellable? cancellable) throws GLib.Error;
public GLib.FileInputStream read (GLib.Cancellable? cancellable) throws GLib.Error;
public abstract async GLib.FileInputStream read_async (int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract GLib.FileInputStream read_finish (GLib.AsyncResult res) throws GLib.Error;
[NoWrapper]
public abstract unowned GLib.FileInputStream read_fn (GLib.Cancellable? cancellable) throws GLib.Error;
public abstract GLib.FileOutputStream replace (string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
public abstract async GLib.FileOutputStream replace_async (string? etag, bool make_backup, GLib.FileCreateFlags flags, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
public bool replace_contents (string contents, size_t length, string? etag, bool make_backup, GLib.FileCreateFlags flags, out string? new_etag, GLib.Cancellable? cancellable) throws GLib.Error;
public async bool replace_contents_async (string contents, size_t length, string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable, out string? new_etag) throws GLib.Error;
- public bool replace_contents_finish (GLib.AsyncResult res, out string new_etag) throws GLib.Error;
- public abstract GLib.FileOutputStream replace_finish (GLib.AsyncResult res) throws GLib.Error;
public abstract unowned GLib.FileIOStream replace_readwrite (string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
public abstract async unowned GLib.FileIOStream replace_readwrite_async (string? etag, bool make_backup, GLib.FileCreateFlags flags, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract unowned GLib.FileIOStream replace_readwrite_finish (GLib.AsyncResult res) throws GLib.Error;
public abstract GLib.File resolve_relative_path (string relative_path);
public abstract bool set_attribute (string attribute, GLib.FileAttributeType type, void* value_p, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
public bool set_attribute_byte_string (string attribute, string value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
public bool set_attribute_uint32 (string attribute, uint32 value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
public bool set_attribute_uint64 (string attribute, uint64 value, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
public abstract async bool set_attributes_async (GLib.FileInfo info, GLib.FileQueryInfoFlags flags, int io_priority, GLib.Cancellable? cancellable, out unowned GLib.FileInfo info_out) throws GLib.Error;
- public abstract bool set_attributes_finish (GLib.AsyncResult _result, out unowned GLib.FileInfo info) throws GLib.Error;
public abstract bool set_attributes_from_info (GLib.FileInfo info, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
public abstract unowned GLib.File set_display_name (string display_name, GLib.Cancellable? cancellable) throws GLib.Error;
public abstract async unowned GLib.File set_display_name_async (string display_name, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract unowned GLib.File set_display_name_finish (GLib.AsyncResult res) throws GLib.Error;
public abstract async bool start_mountable (GLib.DriveStartFlags flags, GLib.MountOperation start_operation, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool start_mountable_finish (GLib.AsyncResult _result) throws GLib.Error;
public abstract async bool stop_mountable (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool stop_mountable_finish (GLib.AsyncResult _result) throws GLib.Error;
public bool supports_thread_contexts ();
public abstract bool trash (GLib.Cancellable? cancellable) throws GLib.Error;
public abstract async bool unmount_mountable (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool unmount_mountable_finish (GLib.AsyncResult _result) throws GLib.Error;
public abstract async bool unmount_mountable_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool unmount_mountable_with_operation_finish (GLib.AsyncResult _result) throws GLib.Error;
}
[CCode (cheader_filename = "gio/gio.h")]
public interface Icon : GLib.Object {
public interface LoadableIcon : GLib.Icon, GLib.Object {
public abstract unowned GLib.InputStream load (int size, out unowned string? type, GLib.Cancellable? cancellable) throws GLib.Error;
public abstract async unowned GLib.InputStream load_async (int size, GLib.Cancellable? cancellable, out unowned string? type) throws GLib.Error;
- public abstract unowned GLib.InputStream load_finish (GLib.AsyncResult res, out unowned string type) throws GLib.Error;
}
[CCode (cheader_filename = "gio/gio.h")]
public interface Mount : GLib.Object {
public abstract bool can_eject ();
public abstract bool can_unmount ();
public abstract async bool eject (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool eject_finish (GLib.AsyncResult _result) throws GLib.Error;
public abstract async bool eject_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool eject_with_operation_finish (GLib.AsyncResult _result) throws GLib.Error;
public abstract unowned GLib.File get_default_location ();
public abstract unowned GLib.Drive get_drive ();
public abstract unowned GLib.Icon get_icon ();
public abstract unowned string get_uuid ();
public abstract unowned GLib.Volume get_volume ();
public abstract async unowned string guess_content_type (bool force_rescan, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract unowned string guess_content_type_finish (GLib.AsyncResult _result) throws GLib.Error;
public abstract unowned string guess_content_type_sync (bool force_rescan, GLib.Cancellable? cancellable) throws GLib.Error;
public bool is_shadowed ();
public abstract async bool remount (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool remount_finish (GLib.AsyncResult _result) throws GLib.Error;
public void shadow ();
public abstract async bool unmount (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool unmount_finish (GLib.AsyncResult _result) throws GLib.Error;
public abstract async bool unmount_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool unmount_with_operation_finish (GLib.AsyncResult _result) throws GLib.Error;
public void unshadow ();
public signal void changed ();
public signal void pre_unmount ();
public abstract bool can_eject ();
public abstract bool can_mount ();
public abstract async bool eject (GLib.MountUnmountFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool eject_finish (GLib.AsyncResult _result) throws GLib.Error;
public abstract async bool eject_with_operation (GLib.MountUnmountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool eject_with_operation_finish (GLib.AsyncResult _result) throws GLib.Error;
public abstract unowned string enumerate_identifiers ();
public abstract unowned GLib.File get_activation_root ();
public abstract unowned GLib.Drive get_drive ();
public abstract unowned string get_name ();
public abstract unowned string get_uuid ();
public async bool mount (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
- public abstract bool mount_finish (GLib.AsyncResult _result) throws GLib.Error;
[NoWrapper]
public abstract void mount_fn (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
public abstract bool should_automount ();