1.1 --- a/epoc32/include/stdapis/glib-2.0/gobject/gparamspecs.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/stdapis/glib-2.0/gobject/gparamspecs.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,444 @@
1.4 -gparamspecs.h
1.5 +/* GObject - GLib Type, Object, Parameter and Signal Library
1.6 + * Copyright (C) 1997-1999, 2000-2001 Tim Janik and 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 + * gparamspecs.h: GLib default param specs
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_PARAMSPECS_H__
1.31 +#define __G_PARAMSPECS_H__
1.32 +
1.33 +#include <_ansi.h>
1.34 +#include <gobject/gvalue.h>
1.35 +#include <gobject/genums.h>
1.36 +#include <gobject/gboxed.h>
1.37 +#include <gobject/gobject.h>
1.38 +
1.39 +G_BEGIN_DECLS
1.40 +
1.41 +/* --- type macros --- */
1.42 +#define G_TYPE_PARAM_CHAR (g_param_spec_types[0])
1.43 +#define G_IS_PARAM_SPEC_CHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_CHAR))
1.44 +#define G_PARAM_SPEC_CHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_CHAR, GParamSpecChar))
1.45 +#define G_TYPE_PARAM_UCHAR (g_param_spec_types[1])
1.46 +#define G_IS_PARAM_SPEC_UCHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UCHAR))
1.47 +#define G_PARAM_SPEC_UCHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UCHAR, GParamSpecUChar))
1.48 +#define G_TYPE_PARAM_BOOLEAN (g_param_spec_types[2])
1.49 +#define G_IS_PARAM_SPEC_BOOLEAN(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_BOOLEAN))
1.50 +#define G_PARAM_SPEC_BOOLEAN(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_BOOLEAN, GParamSpecBoolean))
1.51 +#define G_TYPE_PARAM_INT (g_param_spec_types[3])
1.52 +#define G_IS_PARAM_SPEC_INT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_INT))
1.53 +#define G_PARAM_SPEC_INT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_INT, GParamSpecInt))
1.54 +#define G_TYPE_PARAM_UINT (g_param_spec_types[4])
1.55 +#define G_IS_PARAM_SPEC_UINT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UINT))
1.56 +#define G_PARAM_SPEC_UINT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UINT, GParamSpecUInt))
1.57 +#define G_TYPE_PARAM_LONG (g_param_spec_types[5])
1.58 +#define G_IS_PARAM_SPEC_LONG(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_LONG))
1.59 +#define G_PARAM_SPEC_LONG(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_LONG, GParamSpecLong))
1.60 +#define G_TYPE_PARAM_ULONG (g_param_spec_types[6])
1.61 +#define G_IS_PARAM_SPEC_ULONG(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_ULONG))
1.62 +#define G_PARAM_SPEC_ULONG(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_ULONG, GParamSpecULong))
1.63 +#define G_TYPE_PARAM_INT64 (g_param_spec_types[7])
1.64 +#define G_IS_PARAM_SPEC_INT64(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_INT64))
1.65 +#define G_PARAM_SPEC_INT64(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_INT64, GParamSpecInt64))
1.66 +#define G_TYPE_PARAM_UINT64 (g_param_spec_types[8])
1.67 +#define G_IS_PARAM_SPEC_UINT64(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UINT64))
1.68 +#define G_PARAM_SPEC_UINT64(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UINT64, GParamSpecUInt64))
1.69 +#define G_TYPE_PARAM_UNICHAR (g_param_spec_types[9])
1.70 +#define G_PARAM_SPEC_UNICHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UNICHAR, GParamSpecUnichar))
1.71 +#define G_IS_PARAM_SPEC_UNICHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UNICHAR))
1.72 +#define G_TYPE_PARAM_ENUM (g_param_spec_types[10])
1.73 +#define G_IS_PARAM_SPEC_ENUM(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_ENUM))
1.74 +#define G_PARAM_SPEC_ENUM(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_ENUM, GParamSpecEnum))
1.75 +#define G_TYPE_PARAM_FLAGS (g_param_spec_types[11])
1.76 +#define G_IS_PARAM_SPEC_FLAGS(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_FLAGS))
1.77 +#define G_PARAM_SPEC_FLAGS(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_FLAGS, GParamSpecFlags))
1.78 +#define G_TYPE_PARAM_FLOAT (g_param_spec_types[12])
1.79 +#define G_IS_PARAM_SPEC_FLOAT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_FLOAT))
1.80 +#define G_PARAM_SPEC_FLOAT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_FLOAT, GParamSpecFloat))
1.81 +#define G_TYPE_PARAM_DOUBLE (g_param_spec_types[13])
1.82 +#define G_IS_PARAM_SPEC_DOUBLE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_DOUBLE))
1.83 +#define G_PARAM_SPEC_DOUBLE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_DOUBLE, GParamSpecDouble))
1.84 +#define G_TYPE_PARAM_STRING (g_param_spec_types[14])
1.85 +#define G_IS_PARAM_SPEC_STRING(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_STRING))
1.86 +#define G_PARAM_SPEC_STRING(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_STRING, GParamSpecString))
1.87 +#define G_TYPE_PARAM_PARAM (g_param_spec_types[15])
1.88 +#define G_IS_PARAM_SPEC_PARAM(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_PARAM))
1.89 +#define G_PARAM_SPEC_PARAM(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_PARAM, GParamSpecParam))
1.90 +#define G_TYPE_PARAM_BOXED (g_param_spec_types[16])
1.91 +#define G_IS_PARAM_SPEC_BOXED(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_BOXED))
1.92 +#define G_PARAM_SPEC_BOXED(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_BOXED, GParamSpecBoxed))
1.93 +#define G_TYPE_PARAM_POINTER (g_param_spec_types[17])
1.94 +#define G_IS_PARAM_SPEC_POINTER(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_POINTER))
1.95 +#define G_PARAM_SPEC_POINTER(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_POINTER, GParamSpecPointer))
1.96 +#define G_TYPE_PARAM_VALUE_ARRAY (g_param_spec_types[18])
1.97 +#define G_IS_PARAM_SPEC_VALUE_ARRAY(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_VALUE_ARRAY))
1.98 +#define G_PARAM_SPEC_VALUE_ARRAY(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_VALUE_ARRAY, GParamSpecValueArray))
1.99 +#define G_TYPE_PARAM_OBJECT (g_param_spec_types[19])
1.100 +#define G_IS_PARAM_SPEC_OBJECT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_OBJECT))
1.101 +#define G_PARAM_SPEC_OBJECT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_OBJECT, GParamSpecObject))
1.102 +#define G_TYPE_PARAM_OVERRIDE (g_param_spec_types[20])
1.103 +#define G_IS_PARAM_SPEC_OVERRIDE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_OVERRIDE))
1.104 +#define G_PARAM_SPEC_OVERRIDE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_OVERRIDE, GParamSpecOverride))
1.105 +#define G_TYPE_PARAM_GTYPE (g_param_spec_types[21])
1.106 +#define G_IS_PARAM_SPEC_GTYPE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_GTYPE))
1.107 +#define G_PARAM_SPEC_GTYPE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_GTYPE, GParamSpecGType))
1.108 +
1.109 +
1.110 +/* --- typedefs & structures --- */
1.111 +typedef struct _GParamSpecChar GParamSpecChar;
1.112 +typedef struct _GParamSpecUChar GParamSpecUChar;
1.113 +typedef struct _GParamSpecBoolean GParamSpecBoolean;
1.114 +typedef struct _GParamSpecInt GParamSpecInt;
1.115 +typedef struct _GParamSpecUInt GParamSpecUInt;
1.116 +typedef struct _GParamSpecLong GParamSpecLong;
1.117 +typedef struct _GParamSpecULong GParamSpecULong;
1.118 +typedef struct _GParamSpecInt64 GParamSpecInt64;
1.119 +typedef struct _GParamSpecUInt64 GParamSpecUInt64;
1.120 +typedef struct _GParamSpecUnichar GParamSpecUnichar;
1.121 +typedef struct _GParamSpecEnum GParamSpecEnum;
1.122 +typedef struct _GParamSpecFlags GParamSpecFlags;
1.123 +typedef struct _GParamSpecFloat GParamSpecFloat;
1.124 +typedef struct _GParamSpecDouble GParamSpecDouble;
1.125 +typedef struct _GParamSpecString GParamSpecString;
1.126 +typedef struct _GParamSpecParam GParamSpecParam;
1.127 +typedef struct _GParamSpecBoxed GParamSpecBoxed;
1.128 +typedef struct _GParamSpecPointer GParamSpecPointer;
1.129 +typedef struct _GParamSpecValueArray GParamSpecValueArray;
1.130 +typedef struct _GParamSpecObject GParamSpecObject;
1.131 +typedef struct _GParamSpecOverride GParamSpecOverride;
1.132 +typedef struct _GParamSpecGType GParamSpecGType;
1.133 +
1.134 +struct _GParamSpecChar
1.135 +{
1.136 + GParamSpec parent_instance;
1.137 +
1.138 + gint8 minimum;
1.139 + gint8 maximum;
1.140 + gint8 default_value;
1.141 +};
1.142 +struct _GParamSpecUChar
1.143 +{
1.144 + GParamSpec parent_instance;
1.145 +
1.146 + guint8 minimum;
1.147 + guint8 maximum;
1.148 + guint8 default_value;
1.149 +};
1.150 +struct _GParamSpecBoolean
1.151 +{
1.152 + GParamSpec parent_instance;
1.153 +
1.154 + gboolean default_value;
1.155 +};
1.156 +struct _GParamSpecInt
1.157 +{
1.158 + GParamSpec parent_instance;
1.159 +
1.160 + gint minimum;
1.161 + gint maximum;
1.162 + gint default_value;
1.163 +};
1.164 +struct _GParamSpecUInt
1.165 +{
1.166 + GParamSpec parent_instance;
1.167 +
1.168 + guint minimum;
1.169 + guint maximum;
1.170 + guint default_value;
1.171 +};
1.172 +struct _GParamSpecLong
1.173 +{
1.174 + GParamSpec parent_instance;
1.175 +
1.176 + glong minimum;
1.177 + glong maximum;
1.178 + glong default_value;
1.179 +};
1.180 +struct _GParamSpecULong
1.181 +{
1.182 + GParamSpec parent_instance;
1.183 +
1.184 + gulong minimum;
1.185 + gulong maximum;
1.186 + gulong default_value;
1.187 +};
1.188 +struct _GParamSpecInt64
1.189 +{
1.190 + GParamSpec parent_instance;
1.191 +
1.192 + gint64 minimum;
1.193 + gint64 maximum;
1.194 + gint64 default_value;
1.195 +};
1.196 +struct _GParamSpecUInt64
1.197 +{
1.198 + GParamSpec parent_instance;
1.199 +
1.200 + guint64 minimum;
1.201 + guint64 maximum;
1.202 + guint64 default_value;
1.203 +};
1.204 +struct _GParamSpecUnichar
1.205 +{
1.206 + GParamSpec parent_instance;
1.207 +
1.208 + gunichar default_value;
1.209 +};
1.210 +struct _GParamSpecEnum
1.211 +{
1.212 + GParamSpec parent_instance;
1.213 +
1.214 + GEnumClass *enum_class;
1.215 + gint default_value;
1.216 +};
1.217 +struct _GParamSpecFlags
1.218 +{
1.219 + GParamSpec parent_instance;
1.220 +
1.221 + GFlagsClass *flags_class;
1.222 + guint default_value;
1.223 +};
1.224 +struct _GParamSpecFloat
1.225 +{
1.226 + GParamSpec parent_instance;
1.227 +
1.228 + gfloat minimum;
1.229 + gfloat maximum;
1.230 + gfloat default_value;
1.231 + gfloat epsilon;
1.232 +};
1.233 +struct _GParamSpecDouble
1.234 +{
1.235 + GParamSpec parent_instance;
1.236 +
1.237 + gdouble minimum;
1.238 + gdouble maximum;
1.239 + gdouble default_value;
1.240 + gdouble epsilon;
1.241 +};
1.242 +struct _GParamSpecString
1.243 +{
1.244 + GParamSpec parent_instance;
1.245 +
1.246 + gchar *default_value;
1.247 + gchar *cset_first;
1.248 + gchar *cset_nth;
1.249 + gchar substitutor;
1.250 + guint null_fold_if_empty : 1;
1.251 + guint ensure_non_null : 1;
1.252 +};
1.253 +struct _GParamSpecParam
1.254 +{
1.255 + GParamSpec parent_instance;
1.256 +};
1.257 +struct _GParamSpecBoxed
1.258 +{
1.259 + GParamSpec parent_instance;
1.260 +};
1.261 +struct _GParamSpecPointer
1.262 +{
1.263 + GParamSpec parent_instance;
1.264 +};
1.265 +struct _GParamSpecValueArray
1.266 +{
1.267 + GParamSpec parent_instance;
1.268 + GParamSpec *element_spec;
1.269 + guint fixed_n_elements;
1.270 +};
1.271 +struct _GParamSpecObject
1.272 +{
1.273 + GParamSpec parent_instance;
1.274 +};
1.275 +struct _GParamSpecOverride
1.276 +{
1.277 + /*< private >*/
1.278 + GParamSpec parent_instance;
1.279 + GParamSpec *overridden;
1.280 +};
1.281 +struct _GParamSpecGType
1.282 +{
1.283 + GParamSpec parent_instance;
1.284 + GType is_a_type;
1.285 +};
1.286 +
1.287 +/* --- GParamSpec prototypes --- */
1.288 +IMPORT_C GParamSpec* g_param_spec_char (const gchar *name,
1.289 + const gchar *nick,
1.290 + const gchar *blurb,
1.291 + gint8 minimum,
1.292 + gint8 maximum,
1.293 + gint8 default_value,
1.294 + GParamFlags flags);
1.295 +IMPORT_C GParamSpec* g_param_spec_uchar (const gchar *name,
1.296 + const gchar *nick,
1.297 + const gchar *blurb,
1.298 + guint8 minimum,
1.299 + guint8 maximum,
1.300 + guint8 default_value,
1.301 + GParamFlags flags);
1.302 +IMPORT_C GParamSpec* g_param_spec_boolean (const gchar *name,
1.303 + const gchar *nick,
1.304 + const gchar *blurb,
1.305 + gboolean default_value,
1.306 + GParamFlags flags);
1.307 +IMPORT_C GParamSpec* g_param_spec_int (const gchar *name,
1.308 + const gchar *nick,
1.309 + const gchar *blurb,
1.310 + gint minimum,
1.311 + gint maximum,
1.312 + gint default_value,
1.313 + GParamFlags flags);
1.314 +IMPORT_C GParamSpec* g_param_spec_uint (const gchar *name,
1.315 + const gchar *nick,
1.316 + const gchar *blurb,
1.317 + guint minimum,
1.318 + guint maximum,
1.319 + guint default_value,
1.320 + GParamFlags flags);
1.321 +IMPORT_C GParamSpec* g_param_spec_long (const gchar *name,
1.322 + const gchar *nick,
1.323 + const gchar *blurb,
1.324 + glong minimum,
1.325 + glong maximum,
1.326 + glong default_value,
1.327 + GParamFlags flags);
1.328 +IMPORT_C GParamSpec* g_param_spec_ulong (const gchar *name,
1.329 + const gchar *nick,
1.330 + const gchar *blurb,
1.331 + gulong minimum,
1.332 + gulong maximum,
1.333 + gulong default_value,
1.334 + GParamFlags flags);
1.335 +IMPORT_C GParamSpec* g_param_spec_int64 (const gchar *name,
1.336 + const gchar *nick,
1.337 + const gchar *blurb,
1.338 + gint64 minimum,
1.339 + gint64 maximum,
1.340 + gint64 default_value,
1.341 + GParamFlags flags);
1.342 +IMPORT_C GParamSpec* g_param_spec_uint64 (const gchar *name,
1.343 + const gchar *nick,
1.344 + const gchar *blurb,
1.345 + guint64 minimum,
1.346 + guint64 maximum,
1.347 + guint64 default_value,
1.348 + GParamFlags flags);
1.349 +IMPORT_C GParamSpec* g_param_spec_unichar (const gchar *name,
1.350 + const gchar *nick,
1.351 + const gchar *blurb,
1.352 + gunichar default_value,
1.353 + GParamFlags flags);
1.354 +IMPORT_C GParamSpec* g_param_spec_enum (const gchar *name,
1.355 + const gchar *nick,
1.356 + const gchar *blurb,
1.357 + GType enum_type,
1.358 + gint default_value,
1.359 + GParamFlags flags);
1.360 +IMPORT_C GParamSpec* g_param_spec_flags (const gchar *name,
1.361 + const gchar *nick,
1.362 + const gchar *blurb,
1.363 + GType flags_type,
1.364 + guint default_value,
1.365 + GParamFlags flags);
1.366 +IMPORT_C GParamSpec* g_param_spec_float (const gchar *name,
1.367 + const gchar *nick,
1.368 + const gchar *blurb,
1.369 + gfloat minimum,
1.370 + gfloat maximum,
1.371 + gfloat default_value,
1.372 + GParamFlags flags);
1.373 +IMPORT_C GParamSpec* g_param_spec_double (const gchar *name,
1.374 + const gchar *nick,
1.375 + const gchar *blurb,
1.376 + gdouble minimum,
1.377 + gdouble maximum,
1.378 + gdouble default_value,
1.379 + GParamFlags flags);
1.380 +IMPORT_C GParamSpec* g_param_spec_string (const gchar *name,
1.381 + const gchar *nick,
1.382 + const gchar *blurb,
1.383 + const gchar *default_value,
1.384 + GParamFlags flags);
1.385 +IMPORT_C GParamSpec* g_param_spec_param (const gchar *name,
1.386 + const gchar *nick,
1.387 + const gchar *blurb,
1.388 + GType param_type,
1.389 + GParamFlags flags);
1.390 +IMPORT_C GParamSpec* g_param_spec_boxed (const gchar *name,
1.391 + const gchar *nick,
1.392 + const gchar *blurb,
1.393 + GType boxed_type,
1.394 + GParamFlags flags);
1.395 +IMPORT_C GParamSpec* g_param_spec_pointer (const gchar *name,
1.396 + const gchar *nick,
1.397 + const gchar *blurb,
1.398 + GParamFlags flags);
1.399 +IMPORT_C GParamSpec* g_param_spec_value_array (const gchar *name,
1.400 + const gchar *nick,
1.401 + const gchar *blurb,
1.402 + GParamSpec *element_spec,
1.403 + GParamFlags flags);
1.404 +IMPORT_C GParamSpec* g_param_spec_object (const gchar *name,
1.405 + const gchar *nick,
1.406 + const gchar *blurb,
1.407 + GType object_type,
1.408 + GParamFlags flags);
1.409 +IMPORT_C GParamSpec* g_param_spec_override (const gchar *name,
1.410 + GParamSpec *overridden);
1.411 +IMPORT_C GParamSpec* g_param_spec_gtype (const gchar *name,
1.412 + const gchar *nick,
1.413 + const gchar *blurb,
1.414 + GType is_a_type,
1.415 + GParamFlags flags);
1.416 +
1.417 +/* --- internal --- */
1.418 +/* We prefix variable declarations so they can
1.419 + * properly get exported in windows dlls.
1.420 + */
1.421 +#ifndef GOBJECT_VAR
1.422 +# ifdef G_PLATFORM_WIN32
1.423 +# ifdef GOBJECT_STATIC_COMPILATION
1.424 +# define GOBJECT_VAR extern
1.425 +# else /* !GOBJECT_STATIC_COMPILATION */
1.426 +# ifdef GOBJECT_COMPILATION
1.427 +# ifdef DLL_EXPORT
1.428 +# define GOBJECT_VAR __declspec(dllexport)
1.429 +# else /* !DLL_EXPORT */
1.430 +# define GOBJECT_VAR extern
1.431 +# endif /* !DLL_EXPORT */
1.432 +# else /* !GOBJECT_COMPILATION */
1.433 +# define GOBJECT_VAR extern __declspec(dllimport)
1.434 +# endif /* !GOBJECT_COMPILATION */
1.435 +# endif /* !GOBJECT_STATIC_COMPILATION */
1.436 +# else /* !G_PLATFORM_WIN32 */
1.437 +# define GOBJECT_VAR extern
1.438 +# endif /* !G_PLATFORM_WIN32 */
1.439 +#endif /* GOBJECT_VAR */
1.440 +
1.441 +#ifdef __SYMBIAN32__
1.442 +IMPORT_C GType ** _g_param_spec_types();
1.443 +#endif /*__SYMBIAN32__ */
1.444 +GOBJECT_VAR GType *g_param_spec_types;
1.445 +
1.446 +G_END_DECLS
1.447 +
1.448 +#endif /* __G_PARAMSPECS_H__ */