1
/* LIBGIMP - The GIMP Library
2
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
5
* Copyright (C) 2002 Sven Neumann <sven@gimp.org>
6
* Michael Natterer <mitch@gimp.org>
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.
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.
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.
24
#ifndef __GIMP_SCANNER_H__
25
#define __GIMP_SCANNER_H__
28
GScanner * gimp_scanner_new_file (const gchar *filename,
30
GScanner * gimp_scanner_new_string (const gchar *text,
33
void gimp_scanner_destroy (GScanner *scanner);
35
gboolean gimp_scanner_parse_token (GScanner *scanner,
37
gboolean gimp_scanner_parse_identifier (GScanner *scanner,
38
const gchar *identifier);
39
gboolean gimp_scanner_parse_string (GScanner *scanner,
41
gboolean gimp_scanner_parse_string_no_validate (GScanner *scanner,
43
gboolean gimp_scanner_parse_data (GScanner *scanner,
46
gboolean gimp_scanner_parse_int (GScanner *scanner,
48
gboolean gimp_scanner_parse_float (GScanner *scanner,
50
gboolean gimp_scanner_parse_color (GScanner *scanner,
52
gboolean gimp_scanner_parse_matrix2 (GScanner *scanner,
56
#endif /* __GIMP_SCANNER_H__ */