X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fginitable.h;h=2c8804b1e7000276e204b0e56d097a11b2c732d2;hb=7fd6f07d498063470903a886b4805a13bd333908;hp=1a2d13d9ef034dd250051671ff71cee535c81303;hpb=1b033919845cef366842373da9f1cfb56f522d01;p=platform%2Fupstream%2Fglib.git diff --git a/gio/ginitable.h b/gio/ginitable.h index 1a2d13d..2c8804b 100644 --- a/gio/ginitable.h +++ b/gio/ginitable.h @@ -13,20 +13,18 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General - * Public License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. + * Public License along with this library; if not, see . * * Author: Alexander Larsson */ +#ifndef __G_INITABLE_H__ +#define __G_INITABLE_H__ + #if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) #error "Only can be included directly." #endif -#ifndef __G_INITABLE_H__ -#define __G_INITABLE_H__ - #include G_BEGIN_DECLS @@ -68,22 +66,27 @@ struct _GInitableIface }; +GLIB_AVAILABLE_IN_ALL GType g_initable_get_type (void) G_GNUC_CONST; +GLIB_AVAILABLE_IN_ALL gboolean g_initable_init (GInitable *initable, GCancellable *cancellable, GError **error); +GLIB_AVAILABLE_IN_ALL gpointer g_initable_new (GType object_type, GCancellable *cancellable, GError **error, const gchar *first_property_name, ...); +GLIB_AVAILABLE_IN_ALL gpointer g_initable_newv (GType object_type, guint n_parameters, GParameter *parameters, GCancellable *cancellable, GError **error); +GLIB_AVAILABLE_IN_ALL GObject* g_initable_new_valist (GType object_type, const gchar *first_property_name, va_list var_args,