app: s/sprintf/g_snprintf/ in xcf_save_image()
[gimp.git] / libgimp / gimpunit_pdb.h
blob34816491491545075ea58b8306757a7d2e5b9a52
1 /* LIBGIMP - The GIMP Library
2 * Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
4 * gimpunit_pdb.h
6 * This library is free software: you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 3 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library. If not, see
18 * <https://www.gnu.org/licenses/>.
21 /* NOTE: This file is auto-generated by pdbgen.pl */
23 #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
24 #error "Only <libgimp/gimp.h> can be included directly."
25 #endif
27 #ifndef __GIMP_UNIT_PDB_H__
28 #define __GIMP_UNIT_PDB_H__
30 G_BEGIN_DECLS
32 /* For information look into the C source or the html documentation */
35 G_GNUC_INTERNAL gint _gimp_unit_get_number_of_units (void);
36 G_GNUC_INTERNAL gint _gimp_unit_get_number_of_built_in_units (void);
37 G_GNUC_INTERNAL GimpUnit _gimp_unit_new (const gchar *identifier,
38 gdouble factor,
39 gint digits,
40 const gchar *symbol,
41 const gchar *abbreviation,
42 const gchar *singular,
43 const gchar *plural);
44 G_GNUC_INTERNAL gboolean _gimp_unit_get_deletion_flag (GimpUnit unit_id);
45 G_GNUC_INTERNAL gboolean _gimp_unit_set_deletion_flag (GimpUnit unit_id,
46 gboolean deletion_flag);
47 G_GNUC_INTERNAL gchar* _gimp_unit_get_identifier (GimpUnit unit_id);
48 G_GNUC_INTERNAL gdouble _gimp_unit_get_factor (GimpUnit unit_id);
49 G_GNUC_INTERNAL gint _gimp_unit_get_digits (GimpUnit unit_id);
50 G_GNUC_INTERNAL gchar* _gimp_unit_get_symbol (GimpUnit unit_id);
51 G_GNUC_INTERNAL gchar* _gimp_unit_get_abbreviation (GimpUnit unit_id);
52 G_GNUC_INTERNAL gchar* _gimp_unit_get_singular (GimpUnit unit_id);
53 G_GNUC_INTERNAL gchar* _gimp_unit_get_plural (GimpUnit unit_id);
56 G_END_DECLS
58 #endif /* __GIMP_UNIT_PDB_H__ */