Changed include paths to be explicitly specified in the #include directive.
[pspp-builds.git] / src / ui / gui / missing-val-dialog.h
1 /* 
2     PSPPIRE --- A Graphical User Interface for PSPP
3     Copyright (C) 2005  Free Software Foundation
4     Written by John Darrington
5
6     This program is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation; either version 2 of the License, or
9     (at your option) any later version.
10
11     This program is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU General Public License for more details.
15
16     You should have received a copy of the GNU General Public License
17     along with this program; if not, write to the Free Software
18     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19     02110-1301, USA. */
20
21 #ifndef __PSPPIRE_MISSING_VAL_DIALOG_H
22 #define __PSPPIRE_MISSING_VAL_DIALOG_H
23
24 /*  This module describes the behaviour of the Missing Values dialog box,
25     used for input of the missing values in the variable sheet */
26
27
28 #include <gtk/gtk.h>
29 #include <glade/glade.h>
30
31 #include <data/missing-values.h>
32
33 struct missing_val_dialog
34 {
35   GtkWidget *window;
36
37   /* The variable whose missing values are to be updated */
38   struct PsppireVariable *pv;
39   
40   /* local copy */
41   struct missing_values mvl;
42
43   /* Radio Buttons */
44   GtkToggleButton *button_none;
45   GtkToggleButton *button_discrete;
46   GtkToggleButton *button_range;
47
48   /* Entry boxes */
49   GtkWidget *mv[3];
50   GtkWidget *low;
51   GtkWidget *high;
52   GtkWidget *discrete;
53 };
54
55 struct missing_val_dialog * missing_val_dialog_create(GladeXML *xml);
56
57 void missing_val_dialog_show(struct missing_val_dialog *dialog);
58
59 #endif