X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fhelper.h;h=a0c36bd68bb6f84518e2bb0363c430dfefdbf37a;hb=a7fb79e81f6e2a0dfddc61e91f207609e31a4632;hp=eef64213c2c229735af0f8b03db5c6a2a68523dd;hpb=a19b858e0ac3c69e4a28c0ca6d8674427268a863;p=pspp-builds.git diff --git a/src/ui/gui/helper.h b/src/ui/gui/helper.h index eef64213..a0c36bd6 100644 --- a/src/ui/gui/helper.h +++ b/src/ui/gui/helper.h @@ -1,7 +1,6 @@ -/* +/* PSPPIRE --- A Graphical User Interface for PSPP Copyright (C) 2004 Free Software Foundation - Written by John Darrington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,14 +27,26 @@ #include #include -/* Formats a value according to FORMAT +/* Formats a value according to FORMAT The returned string must be freed when no longer required */ -gchar * value_to_text(union value v, struct fmt_spec format); +gchar * value_to_text (union value v, struct fmt_spec format); -gboolean text_to_value(const gchar *text, union value *v, +gboolean text_to_value (const gchar *text, union value *v, struct fmt_spec format); -GtkWidget * get_widget_assert(GladeXML *xml, const gchar *name); +GtkWidget * get_widget_assert (GladeXML *xml, const gchar *name); + +/* Converts a string in the pspp locale to utf-8 */ +char * pspp_locale_to_utf8 (const gchar *text, gssize len, GError **err); + + +void connect_help (GladeXML *); + +void reference_manual (GtkMenuItem *, gpointer); + +struct getl_interface; +gboolean execute_syntax (struct getl_interface *sss); + #endif