1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/ossrv/glib/gobject/gsourceclosure.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,51 @@
1.4 +/* GObject - GLib Type, Object, Parameter and Signal Library
1.5 + * Copyright (C) 2001 Red Hat, Inc.
1.6 + * Portions copyright (c) 2006-2009 Nokia Corporation. All rights reserved.
1.7 + *
1.8 + * This library is free software; you can redistribute it and/or
1.9 + * modify it under the terms of the GNU Lesser General Public
1.10 + * License as published by the Free Software Foundation; either
1.11 + * version 2 of the License, or (at your option) any later version.
1.12 + *
1.13 + * This library is distributed in the hope that it will be useful,
1.14 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.15 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1.16 + * Lesser General Public License for more details.
1.17 + *
1.18 + * You should have received a copy of the GNU Lesser General
1.19 + * Public License along with this library; if not, write to the
1.20 + * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
1.21 + * Boston, MA 02111-1307, USA.
1.22 + */
1.23 +#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
1.24 +#error "Only <glib-object.h> can be included directly."
1.25 +#endif
1.26 +
1.27 +#ifndef __G_SOURCECLOSURE_H__
1.28 +#define __G_SOURCECLOSURE_H__
1.29 +
1.30 +#include <gobject/gclosure.h>
1.31 +
1.32 +G_BEGIN_DECLS
1.33 +IMPORT_C void g_source_set_closure (GSource *source,
1.34 + GClosure *closure);
1.35 +
1.36 +IMPORT_C GType g_io_channel_get_type (void);
1.37 +IMPORT_C GType g_io_condition_get_type (void);
1.38 +
1.39 +/**
1.40 + * G_TYPE_IO_CHANNEL:
1.41 + *
1.42 + * The #GType for #GIOChannel.
1.43 + */
1.44 +#define G_TYPE_IO_CHANNEL (g_io_channel_get_type ())
1.45 +/**
1.46 + * G_TYPE_IO_CONDITION:
1.47 + *
1.48 + * The #GType for #GIOCondition.
1.49 + */
1.50 +#define G_TYPE_IO_CONDITION (g_io_condition_get_type ())
1.51 +
1.52 +G_END_DECLS
1.53 +
1.54 +#endif /* __G_SOURCECLOSURE_H__ */