Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gsimpleasyncresult.h File Reference
#include <gio/giotypes.h>

Go to the source code of this file.

Macros

#define G_TYPE_SIMPLE_ASYNC_RESULT   (g_simple_async_result_get_type ())
 
#define G_SIMPLE_ASYNC_RESULT(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_SIMPLE_ASYNC_RESULT, GSimpleAsyncResult))
 
#define G_SIMPLE_ASYNC_RESULT_CLASS(k)   (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_SIMPLE_ASYNC_RESULT, GSimpleAsyncResultClass))
 
#define G_IS_SIMPLE_ASYNC_RESULT(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_SIMPLE_ASYNC_RESULT))
 
#define G_IS_SIMPLE_ASYNC_RESULT_CLASS(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_SIMPLE_ASYNC_RESULT))
 
#define G_SIMPLE_ASYNC_RESULT_GET_CLASS(o)   (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_SIMPLE_ASYNC_RESULT, GSimpleAsyncResultClass))
 

Typedefs

typedef struct _GSimpleAsyncResultClass GSimpleAsyncResultClass
 

Functions

GIO_AVAILABLE_IN_ALL GType g_simple_async_result_get_type (void) G_GNUC_CONST
 
GSimpleAsyncResultg_simple_async_result_new (GObject *source_object, GAsyncReadyCallback callback, gpointer user_data, gpointer source_tag)
 
GSimpleAsyncResultg_simple_async_result_new_error (GObject *source_object, GAsyncReadyCallback callback, gpointer user_data, GQuark domain, gint code, const char *format,...) G_GNUC_PRINTF(6
 
GSimpleAsyncResult GSimpleAsyncResultg_simple_async_result_new_from_error (GObject *source_object, GAsyncReadyCallback callback, gpointer user_data, const GError *error)
 
GSimpleAsyncResultg_simple_async_result_new_take_error (GObject *source_object, GAsyncReadyCallback callback, gpointer user_data, GError *error)
 
GIO_DEPRECATED_IN_2_46 void g_simple_async_result_set_op_res_gpointer (GSimpleAsyncResult *simple, gpointer op_res, GDestroyNotify destroy_op_res)
 
GIO_DEPRECATED_IN_2_46 gpointer g_simple_async_result_get_op_res_gpointer (GSimpleAsyncResult *simple)
 
GIO_DEPRECATED_IN_2_46 void g_simple_async_result_set_op_res_gssize (GSimpleAsyncResult *simple, gssize op_res)
 
GIO_DEPRECATED_IN_2_46 gssize g_simple_async_result_get_op_res_gssize (GSimpleAsyncResult *simple)
 
GIO_DEPRECATED_IN_2_46 void g_simple_async_result_set_op_res_gboolean (GSimpleAsyncResult *simple, gboolean op_res)
 
GIO_DEPRECATED_IN_2_46 gboolean g_simple_async_result_get_op_res_gboolean (GSimpleAsyncResult *simple)
 
GIO_AVAILABLE_IN_2_32 void g_simple_async_result_set_check_cancellable (GSimpleAsyncResult *simple, GCancellable *check_cancellable)
 
GIO_DEPRECATED_IN_2_46 gpointer g_simple_async_result_get_source_tag (GSimpleAsyncResult *simple)
 
GIO_DEPRECATED_IN_2_46 void g_simple_async_result_set_handle_cancellation (GSimpleAsyncResult *simple, gboolean handle_cancellation)
 
GIO_DEPRECATED_IN_2_46 void g_simple_async_result_complete (GSimpleAsyncResult *simple)
 
GIO_DEPRECATED_IN_2_46 void g_simple_async_result_complete_in_idle (GSimpleAsyncResult *simple)
 
GIO_DEPRECATED_IN_2_46 void g_simple_async_result_run_in_thread (GSimpleAsyncResult *simple, GSimpleAsyncThreadFunc func, int io_priority, GCancellable *cancellable)
 
GIO_DEPRECATED_IN_2_46 void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple, const GError *error)
 
GIO_DEPRECATED_IN_2_46 void g_simple_async_result_take_error (GSimpleAsyncResult *simple, GError *error)
 
GIO_DEPRECATED_IN_2_46 gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple, GError **dest)
 
GIO_DEPRECATED_IN_2_46 void g_simple_async_result_set_error (GSimpleAsyncResult *simple, GQuark domain, gint code, const char *format,...) G_GNUC_PRINTF(4
 
GIO_DEPRECATED_IN_2_46 void GIO_DEPRECATED_IN_2_46 void g_simple_async_result_set_error_va (GSimpleAsyncResult *simple, GQuark domain, gint code, const char *format, va_list args) G_GNUC_PRINTF(4
 
GIO_DEPRECATED_IN_2_46 void GIO_DEPRECATED_IN_2_46 void GIO_DEPRECATED_IN_2_46 gboolean g_simple_async_result_is_valid (GAsyncResult *result, GObject *source, gpointer source_tag)
 
void g_simple_async_report_error_in_idle (GObject *object, GAsyncReadyCallback callback, gpointer user_data, GQuark domain, gint code, const char *format,...) G_GNUC_PRINTF(6
 
void void g_simple_async_report_gerror_in_idle (GObject *object, GAsyncReadyCallback callback, gpointer user_data, const GError *error)
 
void g_simple_async_report_take_gerror_in_idle (GObject *object, GAsyncReadyCallback callback, gpointer user_data, GError *error)
 

Macro Definition Documentation

◆ G_IS_SIMPLE_ASYNC_RESULT

#define G_IS_SIMPLE_ASYNC_RESULT ( o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_SIMPLE_ASYNC_RESULT))

Definition at line 37 of file gsimpleasyncresult.h.

◆ G_IS_SIMPLE_ASYNC_RESULT_CLASS

#define G_IS_SIMPLE_ASYNC_RESULT_CLASS ( k)    (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_SIMPLE_ASYNC_RESULT))

Definition at line 38 of file gsimpleasyncresult.h.

◆ G_SIMPLE_ASYNC_RESULT

#define G_SIMPLE_ASYNC_RESULT ( o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_SIMPLE_ASYNC_RESULT, GSimpleAsyncResult))

Definition at line 35 of file gsimpleasyncresult.h.

◆ G_SIMPLE_ASYNC_RESULT_CLASS

#define G_SIMPLE_ASYNC_RESULT_CLASS ( k)    (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_SIMPLE_ASYNC_RESULT, GSimpleAsyncResultClass))

Definition at line 36 of file gsimpleasyncresult.h.

◆ G_SIMPLE_ASYNC_RESULT_GET_CLASS

#define G_SIMPLE_ASYNC_RESULT_GET_CLASS ( o)    (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_SIMPLE_ASYNC_RESULT, GSimpleAsyncResultClass))

Definition at line 39 of file gsimpleasyncresult.h.

◆ G_TYPE_SIMPLE_ASYNC_RESULT

#define G_TYPE_SIMPLE_ASYNC_RESULT   (g_simple_async_result_get_type ())

Definition at line 34 of file gsimpleasyncresult.h.

Typedef Documentation

◆ GSimpleAsyncResultClass

typedef struct _GSimpleAsyncResultClass GSimpleAsyncResultClass

Definition at line 41 of file gsimpleasyncresult.h.

Function Documentation

◆ g_simple_async_report_error_in_idle()

void g_simple_async_report_error_in_idle ( GObject * object,
GAsyncReadyCallback callback,
gpointer user_data,
GQuark domain,
gint code,
const char * format,
... )

◆ g_simple_async_report_gerror_in_idle()

void void g_simple_async_report_gerror_in_idle ( GObject * object,
GAsyncReadyCallback callback,
gpointer user_data,
const GError * error )

◆ g_simple_async_report_take_gerror_in_idle()

void g_simple_async_report_take_gerror_in_idle ( GObject * object,
GAsyncReadyCallback callback,
gpointer user_data,
GError * error )

◆ g_simple_async_result_complete()

GIO_DEPRECATED_IN_2_46 void g_simple_async_result_complete ( GSimpleAsyncResult * simple)

◆ g_simple_async_result_complete_in_idle()

GIO_DEPRECATED_IN_2_46 void g_simple_async_result_complete_in_idle ( GSimpleAsyncResult * simple)

◆ g_simple_async_result_get_op_res_gboolean()

GIO_DEPRECATED_IN_2_46 gboolean g_simple_async_result_get_op_res_gboolean ( GSimpleAsyncResult * simple)

◆ g_simple_async_result_get_op_res_gpointer()

GIO_DEPRECATED_IN_2_46 gpointer g_simple_async_result_get_op_res_gpointer ( GSimpleAsyncResult * simple)

◆ g_simple_async_result_get_op_res_gssize()

GIO_DEPRECATED_IN_2_46 gssize g_simple_async_result_get_op_res_gssize ( GSimpleAsyncResult * simple)

◆ g_simple_async_result_get_source_tag()

GIO_DEPRECATED_IN_2_46 gpointer g_simple_async_result_get_source_tag ( GSimpleAsyncResult * simple)

◆ g_simple_async_result_get_type()

GIO_AVAILABLE_IN_ALL GType g_simple_async_result_get_type ( void )

◆ g_simple_async_result_is_valid()

GIO_DEPRECATED_IN_2_46 void GIO_DEPRECATED_IN_2_46 void GIO_DEPRECATED_IN_2_46 gboolean g_simple_async_result_is_valid ( GAsyncResult * result,
GObject * source,
gpointer source_tag )

◆ g_simple_async_result_new()

GSimpleAsyncResult * g_simple_async_result_new ( GObject * source_object,
GAsyncReadyCallback callback,
gpointer user_data,
gpointer source_tag )

◆ g_simple_async_result_new_error()

GSimpleAsyncResult * g_simple_async_result_new_error ( GObject * source_object,
GAsyncReadyCallback callback,
gpointer user_data,
GQuark domain,
gint code,
const char * format,
... )

◆ g_simple_async_result_new_from_error()

GSimpleAsyncResult GSimpleAsyncResult * g_simple_async_result_new_from_error ( GObject * source_object,
GAsyncReadyCallback callback,
gpointer user_data,
const GError * error )

◆ g_simple_async_result_new_take_error()

GSimpleAsyncResult * g_simple_async_result_new_take_error ( GObject * source_object,
GAsyncReadyCallback callback,
gpointer user_data,
GError * error )

◆ g_simple_async_result_propagate_error()

GIO_DEPRECATED_IN_2_46 gboolean g_simple_async_result_propagate_error ( GSimpleAsyncResult * simple,
GError ** dest )

◆ g_simple_async_result_run_in_thread()

GIO_DEPRECATED_IN_2_46 void g_simple_async_result_run_in_thread ( GSimpleAsyncResult * simple,
GSimpleAsyncThreadFunc func,
int io_priority,
GCancellable * cancellable )

◆ g_simple_async_result_set_check_cancellable()

GIO_AVAILABLE_IN_2_32 void g_simple_async_result_set_check_cancellable ( GSimpleAsyncResult * simple,
GCancellable * check_cancellable )

◆ g_simple_async_result_set_error()

GIO_DEPRECATED_IN_2_46 void g_simple_async_result_set_error ( GSimpleAsyncResult * simple,
GQuark domain,
gint code,
const char * format,
... )

◆ g_simple_async_result_set_error_va()

GIO_DEPRECATED_IN_2_46 void GIO_DEPRECATED_IN_2_46 void g_simple_async_result_set_error_va ( GSimpleAsyncResult * simple,
GQuark domain,
gint code,
const char * format,
va_list args )

◆ g_simple_async_result_set_from_error()

GIO_DEPRECATED_IN_2_46 void g_simple_async_result_set_from_error ( GSimpleAsyncResult * simple,
const GError * error )

◆ g_simple_async_result_set_handle_cancellation()

GIO_DEPRECATED_IN_2_46 void g_simple_async_result_set_handle_cancellation ( GSimpleAsyncResult * simple,
gboolean handle_cancellation )

◆ g_simple_async_result_set_op_res_gboolean()

GIO_DEPRECATED_IN_2_46 void g_simple_async_result_set_op_res_gboolean ( GSimpleAsyncResult * simple,
gboolean op_res )

◆ g_simple_async_result_set_op_res_gpointer()

GIO_DEPRECATED_IN_2_46 void g_simple_async_result_set_op_res_gpointer ( GSimpleAsyncResult * simple,
gpointer op_res,
GDestroyNotify destroy_op_res )

◆ g_simple_async_result_set_op_res_gssize()

GIO_DEPRECATED_IN_2_46 void g_simple_async_result_set_op_res_gssize ( GSimpleAsyncResult * simple,
gssize op_res )

◆ g_simple_async_result_take_error()

GIO_DEPRECATED_IN_2_46 void g_simple_async_result_take_error ( GSimpleAsyncResult * simple,
GError * error )