Updated Spanish translation
[anjuta-git-plugin.git] / plugins / project-wizard / parser.h
blobbe222f3c601289e4b0c188d13c2ee940e722d6e8
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 parser.h
4 Copyright (C) 2004 Sebastien Granjoux
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program 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
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 #ifndef __PARSER_H__
22 #define __PARSER_H__
24 #include <glib.h>
26 #include "header.h"
27 #include "property.h"
28 #include "file.h"
29 #include "action.h"
31 gboolean npw_header_list_readdir (NPWHeaderList* this, const gchar* pathname);
33 gboolean npw_header_list_read (NPWHeaderList* this, const gchar* filename);
36 typedef struct _NPWPageParser NPWPageParser;
38 NPWPageParser* npw_page_parser_new (NPWPage* page, const gchar* filename, gint count);
39 void npw_page_parser_free (NPWPageParser* this);
41 gboolean npw_page_parser_parse (NPWPageParser* this, const gchar* text, gssize len, GError** error);
42 gboolean npw_page_parser_end_parse (NPWPageParser* this, GError** error);
44 gboolean npw_page_read (NPWPage* this, const gchar* filename, gint count);
47 typedef struct _NPWFileListParser NPWFileListParser;
49 NPWFileListParser* npw_file_list_parser_new (NPWFileList* list, const gchar* filename);
50 void npw_file_list_parser_free (NPWFileListParser* this);
52 gboolean npw_file_list_parser_parse (NPWFileListParser* this, const gchar* text, gssize len, GError** error);
53 gboolean npw_file_list_parser_end_parse (NPWFileListParser* this, GError** error);
55 gboolean npw_file_list_read (NPWFileList* this, const gchar* filename);
58 typedef struct _NPWActionListParser NPWActionListParser;
60 NPWActionListParser* npw_action_list_parser_new (NPWActionList* list);
61 void npw_action_list_parser_free (NPWActionListParser* this);
63 gboolean npw_action_list_parser_parse (NPWActionListParser* this, const gchar* text, gssize len, GError** error);
64 gboolean npw_action_list_parser_end_parse (NPWActionListParser* this, GError** error);
66 #endif