gsourceclosure.h

Go to the documentation of this file.
00001 /* GObject - GLib Type, Object, Parameter and Signal Library
00002  * Copyright (C) 2001 Red Hat, Inc.
00003  * Portions copyright (c) 2006 Nokia Corporation.  All rights reserved.
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Lesser General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2 of the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Lesser General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU Lesser General
00016  * Public License along with this library; if not, write to the
00017  * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
00018  * Boston, MA 02111-1307, USA.
00019  */
00020 #if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
00021 #error "Only <glib-object.h> can be included directly."
00022 #endif
00023 
00024 #ifndef __G_SOURCECLOSURE_H__
00025 #define __G_SOURCECLOSURE_H__
00026 
00027 #include <_ansi.h>
00028 #include <gobject/gclosure.h>
00029 
00030 G_BEGIN_DECLS
00031 
00032 IMPORT_C void g_source_set_closure (GSource  *source,
00033                            GClosure *closure);
00034 
00035 IMPORT_C GType g_io_channel_get_type   (void);
00036 IMPORT_C GType g_io_condition_get_type (void);
00037 
00038 #define G_TYPE_IO_CHANNEL (g_io_channel_get_type ())
00039 #define G_TYPE_IO_CONDITION (g_io_condition_get_type ())
00040 
00041 G_END_DECLS
00042 
00043 #endif /* __G_SOURCECLOSURE_H__ */

Copyright © Nokia Corporation 2001-2008
Back to top