epoc32/include/stdapis/glib-2.0/gobject/gvaluearray.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
     1.1 --- a/epoc32/include/stdapis/glib-2.0/gobject/gvaluearray.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/stdapis/glib-2.0/gobject/gvaluearray.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,72 @@
     1.4 -gvaluearray.h
     1.5 +/* GObject - GLib Type, Object, Parameter and Signal Library
     1.6 + * Copyright (C) 2001 Red Hat, Inc.
     1.7 + * Portions copyright (c) 2006 Nokia Corporation.  All rights reserved.
     1.8 + *
     1.9 + * This library is free software; you can redistribute it and/or
    1.10 + * modify it under the terms of the GNU Lesser General Public
    1.11 + * License as published by the Free Software Foundation; either
    1.12 + * version 2 of the License, or (at your option) any later version.
    1.13 + *
    1.14 + * This library is distributed in the hope that it will be useful,
    1.15 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.16 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the GNU
    1.17 + * Lesser General Public License for more details.
    1.18 + *
    1.19 + * You should have received a copy of the GNU Lesser General
    1.20 + * Public License along with this library; if not, write to the
    1.21 + * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
    1.22 + * Boston, MA 02111-1307, USA.
    1.23 + *
    1.24 + * gvaluearray.h: GLib array type holding GValues
    1.25 + */
    1.26 +#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
    1.27 +#error "Only <glib-object.h> can be included directly."
    1.28 +#endif
    1.29 +
    1.30 +#ifndef __G_VALUE_ARRAY_H__
    1.31 +#define __G_VALUE_ARRAY_H__
    1.32 +
    1.33 +#include <_ansi.h>
    1.34 +#include	<gobject/gvalue.h>
    1.35 +
    1.36 +
    1.37 +G_BEGIN_DECLS
    1.38 +
    1.39 +
    1.40 +/* --- typedefs & structs --- */
    1.41 +typedef struct _GValueArray GValueArray;
    1.42 +struct _GValueArray
    1.43 +{
    1.44 +  guint   n_values;
    1.45 +  GValue *values;
    1.46 +
    1.47 +  /*< private >*/
    1.48 +  guint   n_prealloced;
    1.49 +};
    1.50 +
    1.51 +
    1.52 +/* --- prototypes --- */
    1.53 +IMPORT_C GValue*		g_value_array_get_nth	     (GValueArray	*value_array,
    1.54 +					      guint		 index_);
    1.55 +IMPORT_C GValueArray*	g_value_array_new	     (guint		 n_prealloced);
    1.56 +IMPORT_C void		g_value_array_free	     (GValueArray	*value_array);
    1.57 +IMPORT_C GValueArray*	g_value_array_copy	     (const GValueArray *value_array);
    1.58 +IMPORT_C GValueArray*	g_value_array_prepend	     (GValueArray	*value_array,
    1.59 +					      const GValue	*value);
    1.60 +IMPORT_C GValueArray*	g_value_array_append	     (GValueArray	*value_array,
    1.61 +					      const GValue	*value);
    1.62 +IMPORT_C GValueArray*	g_value_array_insert	     (GValueArray	*value_array,
    1.63 +					      guint		 index_,
    1.64 +					      const GValue	*value);
    1.65 +IMPORT_C GValueArray*	g_value_array_remove	     (GValueArray	*value_array,
    1.66 +					      guint		 index_);
    1.67 +IMPORT_C GValueArray*	g_value_array_sort	     (GValueArray	*value_array,
    1.68 +					      GCompareFunc	 compare_func);
    1.69 +IMPORT_C GValueArray*	g_value_array_sort_with_data (GValueArray	*value_array,
    1.70 +					      GCompareDataFunc	 compare_func,
    1.71 +					      gpointer		 user_data);
    1.72 +
    1.73 +
    1.74 +G_END_DECLS
    1.75 +
    1.76 +#endif /* __G_VALUE_ARRAY_H__ */