2 PSPPIRE --- A Graphical User Interface for PSPP
3 Copyright (C) 2004 Free Software Foundation
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
24 #include <data/value.h>
25 #include <data/format.h>
28 #include <glade/glade.h>
30 /* Formats a value according to FORMAT
31 The returned string must be freed when no longer required */
32 gchar * value_to_text (union value v, struct fmt_spec format);
35 gboolean text_to_value (const gchar *text, union value *v,
36 struct fmt_spec format);
38 GtkWidget * get_widget_assert (GladeXML *xml, const gchar *name);
40 /* Converts a string in the pspp locale to utf-8 */
41 char * pspp_locale_to_utf8 (const gchar *text, gssize len, GError **err);
44 void connect_help (GladeXML *);
46 void reference_manual (GtkMenuItem *, gpointer);
48 struct getl_interface;
49 gboolean execute_syntax (struct getl_interface *sss);