1
/* LIBGIMP - The GIMP Library
2
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2 of the License, or (at your option) any later version.
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Library General Public License for more details.
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with this library; if not, write to the
16
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17
* Boston, MA 02111-1307, USA.
20
#ifndef __GIMP_BASE_TYPES_H__
21
#define __GIMP_BASE_TYPES_H__
24
#include <libgimpcolor/gimpcolortypes.h>
25
#include <libgimpmath/gimpmathtypes.h>
27
#include <libgimpbase/gimpbaseenums.h>
31
/* For information look into the C source or the html documentation */
34
typedef struct _GimpParasite GimpParasite;
35
typedef struct _GimpDatafileData GimpDatafileData;
36
typedef struct _GimpEnumDesc GimpEnumDesc;
37
typedef struct _GimpFlagsDesc GimpFlagsDesc;
40
typedef void (* GimpDatafileLoaderFunc) (const GimpDatafileData *file_data,
59
void gimp_type_set_translation_domain (GType type,
61
const gchar * gimp_type_get_translation_domain (GType type);
63
void gimp_enum_set_value_descriptions (GType enum_type,
64
const GimpEnumDesc *descriptions);
65
const GimpEnumDesc * gimp_enum_get_value_descriptions (GType enum_type);
67
void gimp_flags_set_value_descriptions (GType flags_type,
68
const GimpFlagsDesc *descriptions);
69
const GimpFlagsDesc * gimp_flags_get_value_descriptions (GType flags_type);
74
#endif /* __GIMP_BASE_TYPES_H__ */