mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-03 16:03:40 +02:00
Moved all relevant typedefs into these files.
2008-07-01 Cody Russell <bratsche@gnome.org> * gio/gioenums.h: * gio/giotypes.h: Moved all relevant typedefs into these files. * gio/*.[ch]: Updated wrt added files. Split types into separate file for easier maintainership. (#538564) svn path=/trunk/; revision=7127
This commit is contained in:
committed by
Cody Russell
parent
f869b1f693
commit
3d93bf6968
@@ -27,8 +27,7 @@
|
||||
#ifndef __G_SIMPLE_ASYNC_RESULT_H__
|
||||
#define __G_SIMPLE_ASYNC_RESULT_H__
|
||||
|
||||
#include <gio/gasyncresult.h>
|
||||
#include <gio/gcancellable.h>
|
||||
#include <gio/giotypes.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
@@ -44,22 +43,8 @@ G_BEGIN_DECLS
|
||||
*
|
||||
* A simple implementation of #GAsyncResult.
|
||||
**/
|
||||
typedef struct _GSimpleAsyncResult GSimpleAsyncResult;
|
||||
typedef struct _GSimpleAsyncResultClass GSimpleAsyncResultClass;
|
||||
|
||||
/**
|
||||
* GSimpleAsyncThreadFunc:
|
||||
* @res: a #GSimpleAsyncResult.
|
||||
* @object: a #GObject.
|
||||
* @cancellable: optional #GCancellable object, %NULL to ignore.
|
||||
*
|
||||
* Simple thread function that runs an asynchronous operation and
|
||||
* checks for cancellation.
|
||||
**/
|
||||
typedef void (*GSimpleAsyncThreadFunc) (GSimpleAsyncResult *res,
|
||||
GObject *object,
|
||||
GCancellable *cancellable);
|
||||
|
||||
|
||||
GType g_simple_async_result_get_type (void) G_GNUC_CONST;
|
||||
|
||||
|
Reference in New Issue
Block a user