~ubuntu-branches/debian/sid/glib2.0/sid

« back to all changes in this revision

Viewing changes to gio/ginitable.h

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2013-05-08 06:25:57 UTC
  • mfrom: (1.27.14) (3.1.181 experimental)
  • Revision ID: package-import@ubuntu.com-20130508062557-i7gbku66mls70gi2
Tags: 2.36.1-2
Merge experimental branch, upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 * Author: Alexander Larsson <alexl@redhat.com>
21
21
 */
22
22
 
 
23
#ifndef __G_INITABLE_H__
 
24
#define __G_INITABLE_H__
 
25
 
23
26
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
24
27
#error "Only <gio/gio.h> can be included directly."
25
28
#endif
26
29
 
27
 
#ifndef __G_INITABLE_H__
28
 
#define __G_INITABLE_H__
29
 
 
30
30
#include <gio/giotypes.h>
31
31
 
32
32
G_BEGIN_DECLS
68
68
};
69
69
 
70
70
 
 
71
GLIB_AVAILABLE_IN_ALL
71
72
GType    g_initable_get_type   (void) G_GNUC_CONST;
72
73
 
 
74
GLIB_AVAILABLE_IN_ALL
73
75
gboolean g_initable_init       (GInitable     *initable,
74
76
                                GCancellable  *cancellable,
75
77
                                GError       **error);
76
78
 
 
79
GLIB_AVAILABLE_IN_ALL
77
80
gpointer g_initable_new        (GType          object_type,
78
81
                                GCancellable  *cancellable,
79
82
                                GError       **error,
80
83
                                const gchar   *first_property_name,
81
84
                                ...);
 
85
GLIB_AVAILABLE_IN_ALL
82
86
gpointer g_initable_newv       (GType          object_type,
83
87
                                guint          n_parameters,
84
88
                                GParameter    *parameters,
85
89
                                GCancellable  *cancellable,
86
90
                                GError       **error);
 
91
GLIB_AVAILABLE_IN_ALL
87
92
GObject* g_initable_new_valist (GType          object_type,
88
93
                                const gchar   *first_property_name,
89
94
                                va_list        var_args,