X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgioscheduler.h;h=d522608c030dddb5abd7705e7dc2845eca2c3686;hb=3d93bf6968884d75dd2706ef85e2014305eb92f2;hp=03c7f94f0586a7b3e001aec0ea6d35f902760356;hpb=8228f7f94bb33a27273d9e517e6bb52b2c1cf130;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gioscheduler.h b/gio/gioscheduler.h index 03c7f94..d522608 100644 --- a/gio/gioscheduler.h +++ b/gio/gioscheduler.h @@ -28,38 +28,10 @@ #define __G_IO_SCHEDULER_H__ #include -#include +#include G_BEGIN_DECLS -/** - * GIOSchedulerJob: - * - * Opaque class for definining and scheduling IO jobs. - **/ -typedef struct _GIOSchedulerJob GIOSchedulerJob; - -/** - * GIOSchedulerJobFunc: - * @job: a #GIOSchedulerJob. - * @cancellable: optional #GCancellable object, %NULL to ignore. - * @user_data: the data to pass to callback function - * - * I/O Job function. - * - * Note that depending on whether threads are available, the - * #GIOScheduler may run jobs in separate threads or in an idle - * in the mainloop. - * - * Long-running jobs should periodically check the @cancellable - * to see if they have been cancelled. - * - * Returns: %TRUE if this function should be called again to - * complete the job, %FALSE if the job is complete (or cancelled) - **/ -typedef gboolean (*GIOSchedulerJobFunc) (GIOSchedulerJob *job, - GCancellable *cancellable, - gpointer user_data); void g_io_scheduler_push_job (GIOSchedulerJobFunc job_func, gpointer user_data,