Heraia  0.1.8
heraia_io.h
Go to the documentation of this file.
1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
2 /*
3  heraia_io.h
4  heraia_io.h - input and output functions for heraia
5 
6  (C) Copyright 2005 - 2011 Olivier Delhomme
7  e-mail : heraia@delhomme.org
8  URL : http://heraia.tuxfamily.org
9 
10  This program is free software; you can redistribute it and/or modify
11  it under the terms of the GNU General Public License as published by
12  the Free Software Foundation; either version 2, or (at your option)
13  any later version.
14 
15  This program is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  GNU General Public License for more details.
19 
20  You should have received a copy of the GNU General Public License
21  along with this program; if not, write to the Free Software
22  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
23 /**
24  * @file heraia_io.h
25  * Header file for file operations
26  */
27 #ifndef _HERAIA_IO_H_
28 #define _HERAIA_IO_H_
29 
30 extern gboolean load_file_to_analyse(heraia_struct_t *main_struct, gchar *filename);
31 extern GtkBuilder *load_xml_file(GList *location_list, gchar *filename);
32 extern gboolean save_preferences_to_file(prefs_t *prefs);
33 extern gboolean load_preference_file(prefs_t *prefs);
34 
35 #endif /* _HERAIA_IO_H_ */
GtkBuilder * load_xml_file(GList *location_list, gchar *filename)
loads the GtkBuilder xml file ('filename') that describes an interface, tries all the paths defined i...
Definition: heraia_io.c:145
This is the main structure.
Definition: libheraia.h:332
gboolean load_preference_file(prefs_t *prefs)
Load the preference file from the disk.
Definition: heraia_io.c:173
gboolean load_file_to_analyse(heraia_struct_t *main_struct, gchar *filename)
Loads the file 'filename' to analyse and populates the corresponfing structure 'main_struct' as neede...
Definition: heraia_io.c:40
Data type related to preferences.
Definition: libheraia.h:280
gboolean save_preferences_to_file(prefs_t *prefs)
Saves the preferences to the file preferences.
Definition: heraia_io.c:191