X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fvar-display.h;h=3590d7cb81342b53299a8c0b7b5a5398baf7a044;hb=refs%2Fbuilds%2F20121208032040%2Fpspp;hp=a67a7cbc5d8ce5100930e0924db7e623b8d96fcc;hpb=b06c888cf2e8c126b04d4678120439533a5086e5;p=pspp
diff --git a/src/ui/gui/var-display.h b/src/ui/gui/var-display.h
index a67a7cbc5d..3590d7cb81 100644
--- a/src/ui/gui/var-display.h
+++ b/src/ui/gui/var-display.h
@@ -1,10 +1,9 @@
-/*
- PSPPIRE --- A Graphical User Interface for PSPP
- Copyright (C) 2007 Free Software Foundation
+/* PSPPIRE - a graphical user interface for PSPP.
+ Copyright (C) 2007, 2011 Free Software Foundation
- This program is free software; you can redistribute it and/or modify
+ 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
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -13,27 +12,23 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301, USA. */
+ along with this program. If not, see . */
#ifndef VAR_DISPLAY_H
#define VAR_DISPLAY 1
#include
+#include
+#include "psppire-dict.h"
struct variable;
+#define n_ALIGNMENTS 3
-gchar * name_to_string (const struct variable *var, GError **err);
-
-
-gchar * missing_values_to_string (const struct variable *pv, GError **err);
-
-gchar * measure_to_string (const struct variable *var, GError **err);
-
-gchar * label_to_string (const struct variable *var, GError **err);
+extern const gchar *const alignments[n_ALIGNMENTS + 1];
+extern const gchar *const measures[n_MEASURES + 1];
+gchar *missing_values_to_string (const PsppireDict *dict, const struct variable *pv, GError **err);
#endif