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:
Cody Russell
2008-07-01 06:32:35 +00:00
committed by Cody Russell
parent f869b1f693
commit 3d93bf6968
97 changed files with 809 additions and 735 deletions

View File

@@ -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;