gimpconfig-serialize.h 2.21 KB
Newer Older
1
/* LIBGIMP - The GIMP Library
2 3 4
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
 *
 * Object properties serialization routines
5
 * Copyright (C) 2001-2002  Sven Neumann <sven@gimp.org>
6
 *
7
 * This library is free software: you can redistribute it and/or
8 9
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
10
 * version 3 of the License, or (at your option) any later version.
11
 *
12
 * This library is distributed in the hope that it will be useful,
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
16
 *
17
 * You should have received a copy of the GNU Lesser General Public
18
 * License along with this library.  If not, see
19
 * <https://www.gnu.org/licenses/>.
20 21
 */

22 23 24 25
#if !defined (__GIMP_CONFIG_H_INSIDE__) && !defined (GIMP_CONFIG_COMPILATION)
#error "Only <libgimpconfig/gimpconfig.h> can be included directly."
#endif

26 27
#ifndef __GIMP_CONFIG_SERIALIZE_H__
#define __GIMP_CONFIG_SERIALIZE_H__
28

29 30 31 32
G_BEGIN_DECLS

/* For information look into the C source or the html documentation */

33

34
gboolean  gimp_config_serialize_properties         (GimpConfig       *config,
Sven Neumann's avatar
Sven Neumann committed
35
                                                    GimpConfigWriter *writer);
36
gboolean  gimp_config_serialize_changed_properties (GimpConfig       *config,
Sven Neumann's avatar
Sven Neumann committed
37
                                                    GimpConfigWriter *writer);
38

39
gboolean  gimp_config_serialize_property           (GimpConfig       *config,
Sven Neumann's avatar
Sven Neumann committed
40 41
                                                    GParamSpec       *param_spec,
                                                    GimpConfigWriter *writer);
42 43 44
gboolean  gimp_config_serialize_property_by_name   (GimpConfig       *config,
                                                    const gchar      *prop_name,
                                                    GimpConfigWriter *writer);
45 46 47
gboolean  gimp_config_serialize_value              (const GValue     *value,
                                                    GString          *str,
                                                    gboolean          escaped);
Sven Neumann's avatar
Sven Neumann committed
48

49

50 51
G_END_DECLS

52
#endif /* __GIMP_CONFIG_SERIALIZE_H__ */