2 PSPPIRE --- A Graphical User Interface for PSPP
3 Copyright (C) 2007 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
21 #ifndef __PSPPIRE_DIALOG_H__
22 #define __PSPPIRE_DIALOG_H__
26 #include <glib-object.h>
27 #include <gtk/gtkwindow.h>
30 #define PSPPIRE_RESPONSE_PASTE 1
31 #define PSPPIRE_RESPONSE_GOTO 2
32 #define PSPPIRE_RESPONSE_CONTINUE 3
36 #define PSPPIRE_DIALOG_TYPE (psppire_dialog_get_type ())
37 #define PSPPIRE_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PSPPIRE_DIALOG_TYPE, PsppireDialog))
38 #define PSPPIRE_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PSPPIRE_DIALOG_TYPE, PsppireDialogClass))
39 #define PSPPIRE_IS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PSPPIRE_DIALOG_TYPE))
40 #define PSPPIRE_IS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PSPPIRE_DIALOG_TYPE))
43 typedef struct _PsppireDialog PsppireDialog;
44 typedef struct _PsppireDialogClass PsppireDialogClass;
56 struct _PsppireDialogClass
58 GtkWindowClass parent_class;
61 GType psppire_dialog_get_type (void);
62 GtkWidget* psppire_dialog_new (void);
63 void psppire_dialog_reload (PsppireDialog *);
64 void psppire_dialog_close (PsppireDialog *);
65 gint psppire_dialog_run (PsppireDialog *);
68 GType psppire_orientation_get_type (void);
77 #define G_TYPE_PSPPIRE_ORIENTATION (psppire_orientation_get_type ())
82 #endif /* __PSPPIRE_DIALOG_H__ */