~ubuntu-branches/ubuntu/trusty/gobject-introspection/trusty

« back to all changes in this revision

Viewing changes to girepository/gisignalinfo.h

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2011-03-22 00:32:36 UTC
  • mfrom: (1.4.1 upstream) (3.3.33 multiarch)
  • Revision ID: james.westby@ubuntu.com-20110322003236-4spdgfk1vai6xay1
Tags: 0.10.4-2
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* GObject introspection: Signal
 
2
 *
 
3
 * Copyright (C) 2005 Matthias Clasen
 
4
 * Copyright (C) 2008,2009 Red Hat, Inc.
 
5
 *
 
6
 * This library is free software; you can redistribute it and/or
 
7
 * modify it under the terms of the GNU Lesser General Public
 
8
 * License as published by the Free Software Foundation; either
 
9
 * version 2 of the License, or (at your option) any later version.
 
10
 *
 
11
 * This library is distributed in the hope that it will be useful,
 
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
14
 * Lesser General Public License for more details.
 
15
 *
 
16
 * You should have received a copy of the GNU Lesser General Public
 
17
 * License along with this library; if not, write to the
 
18
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
19
 * Boston, MA 02111-1307, USA.
 
20
 */
 
21
 
 
22
#ifndef __GISIGNALINFO_H__
 
23
#define __GISIGNALINFO_H__
 
24
 
 
25
#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
 
26
#error "Only <girepository.h> can be included directly."
 
27
#endif
 
28
 
 
29
#include <glib-object.h>
 
30
#include <gitypes.h>
 
31
 
 
32
G_BEGIN_DECLS
 
33
 
 
34
#define GI_IS_SIGNAL_INFO(info) \
 
35
    (g_base_info_get_type((GIBaseInfo*)info) ==  GI_INFO_TYPE_SIGNAL)
 
36
 
 
37
GSignalFlags  g_signal_info_get_flags         (GISignalInfo *info);
 
38
GIVFuncInfo * g_signal_info_get_class_closure (GISignalInfo *info);
 
39
gboolean      g_signal_info_true_stops_emit   (GISignalInfo *info);
 
40
 
 
41
G_END_DECLS
 
42
 
 
43
 
 
44
#endif  /* __GISIGNALINFO_H__ */