~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to libgimpconfig/gimpscanner.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* LIBGIMP - The GIMP Library
 
2
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
 
3
 *
 
4
 * gimpscanner.h
 
5
 * Copyright (C) 2002  Sven Neumann <sven@gimp.org>
 
6
 *                     Michael Natterer <mitch@gimp.org>
 
7
 *
 
8
 * This library is free software; you can redistribute it and/or
 
9
 * modify it under the terms of the GNU Lesser General Public
 
10
 * License as published by the Free Software Foundation; either
 
11
 * version 2 of the License, or (at your option) any later version.
 
12
 *
 
13
 * This library is distributed in the hope that it will be useful,
 
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
16
 * Library General Public License for more details.
 
17
 *
 
18
 * You should have received a copy of the GNU Lesser General Public
 
19
 * License along with this library; if not, write to the
 
20
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
21
 * Boston, MA 02111-1307, USA.
 
22
 */
 
23
 
 
24
#ifndef __GIMP_SCANNER_H__
 
25
#define __GIMP_SCANNER_H__
 
26
 
 
27
 
 
28
GScanner * gimp_scanner_new_file                 (const gchar  *filename,
 
29
                                                  GError      **error);
 
30
GScanner * gimp_scanner_new_string               (const gchar  *text,
 
31
                                                  gint          text_len,
 
32
                                                  GError      **error);
 
33
void       gimp_scanner_destroy                  (GScanner     *scanner);
 
34
 
 
35
gboolean   gimp_scanner_parse_token              (GScanner     *scanner,
 
36
                                                  GTokenType    token);
 
37
gboolean   gimp_scanner_parse_identifier         (GScanner     *scanner,
 
38
                                                  const gchar  *identifier);
 
39
gboolean   gimp_scanner_parse_string             (GScanner     *scanner,
 
40
                                                  gchar       **dest);
 
41
gboolean   gimp_scanner_parse_string_no_validate (GScanner     *scanner,
 
42
                                                  gchar       **dest);
 
43
gboolean   gimp_scanner_parse_data               (GScanner     *scanner,
 
44
                                                  gint          length,
 
45
                                                  guint8      **dest);
 
46
gboolean   gimp_scanner_parse_int                (GScanner     *scanner,
 
47
                                                  gint         *dest);
 
48
gboolean   gimp_scanner_parse_float              (GScanner     *scanner,
 
49
                                                  gdouble      *dest);
 
50
gboolean   gimp_scanner_parse_color              (GScanner     *scanner,
 
51
                                                  GimpRGB      *dest);
 
52
gboolean   gimp_scanner_parse_matrix2            (GScanner     *scanner,
 
53
                                                  GimpMatrix2  *dest);
 
54
 
 
55
 
 
56
#endif /* __GIMP_SCANNER_H__ */