X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fhelper.h;h=f6c084d48e8373d12366b24455f45267daacd89b;hb=a5097a183f00ab2d2dc538ba7094a4696e2fea04;hp=a6287ddaf1db3260ae0baed48f2fc65bd9365d83;hpb=9e0e4996fad6563f0a1ce628b80db5c23ef8279e;p=pspp-builds.git diff --git a/src/ui/gui/helper.h b/src/ui/gui/helper.h index a6287dda..f6c084d4 100644 --- a/src/ui/gui/helper.h +++ b/src/ui/gui/helper.h @@ -25,18 +25,20 @@ #include - +#include "psppire-dict.h" void paste_syntax_in_new_window (const gchar *syntax); struct fmt_spec; + /* 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, const PsppireDict *dict, struct fmt_spec format); gboolean text_to_value (const gchar *text, union value *v, + const PsppireDict *dict, struct fmt_spec format); GObject *get_object_assert (GtkBuilder *builder, const gchar *name, GType type);