1
/* The GIMP -- an image manipulation program
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 program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 2 of the License, or
11
* (at your option) any later version.
13
* This program 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
16
* GNU General Public License for more details.
18
* You should have received a copy of the GNU General Public License
19
* along with this program; if not, write to the Free Software
20
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23
#ifndef __GIMP_SCANNER_H__
24
#define __GIMP_SCANNER_H__
27
GScanner * gimp_scanner_new_file (const gchar *filename,
29
GScanner * gimp_scanner_new_string (const gchar *text,
32
void gimp_scanner_destroy (GScanner *scanner);
34
gboolean gimp_scanner_parse_token (GScanner *scanner,
36
gboolean gimp_scanner_parse_identifier (GScanner *scanner,
37
const gchar *identifier);
38
gboolean gimp_scanner_parse_string (GScanner *scanner,
40
gboolean gimp_scanner_parse_string_no_validate (GScanner *scanner,
42
gboolean gimp_scanner_parse_data (GScanner *scanner,
45
gboolean gimp_scanner_parse_int (GScanner *scanner,
47
gboolean gimp_scanner_parse_float (GScanner *scanner,
49
gboolean gimp_scanner_parse_color (GScanner *scanner,
51
gboolean gimp_scanner_parse_matrix2 (GScanner *scanner,
55
#endif /* __GIMP_SCANNER_H__ */