Remove deprecated objects GtkAction and GtkUIManager
[pspp] / src / ui / gui / psppire.h
1 /* PSPPIRE - a graphical user interface for PSPP.
2    Copyright (C) 2004, 2005, 2006, 2009, 2010, 2011  Free Software Foundation
3
4    This program is free software: you can redistribute it and/or modify
5    it under the terms of the GNU General Public License as published by
6    the Free Software Foundation, either version 3 of the License, or
7    (at your option) any later version.
8
9    This program is distributed in the hope that it will be useful,
10    but WITHOUT ANY WARRANTY; without even the implied warranty of
11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12    GNU General Public License for more details.
13
14    You should have received a copy of the GNU General Public License
15    along with this program.  If not, see <http://www.gnu.org/licenses/>. */
16
17 #ifndef PSPPIRE_H
18 #define PSPPIRE_H
19
20 #include <glib.h>
21 #include <gio/gio.h>
22
23 #include <stdbool.h>
24
25 struct lexer;
26
27
28 struct init_source
29 {
30   GSource parent;
31   int state;
32   GMainLoop *loop;
33   int filename_arg;
34   int *argc;
35   char ***argv;
36 };
37
38 bool initialize (const struct init_source *is);
39
40 void de_initialize (void);
41
42 void psppire_quit (GApplication *app);
43
44 const char * output_file_name (void);
45
46 void psppire_set_lexer (struct lexer *);
47
48 void register_selection_functions (void);
49
50 void psppire_preload_file (const gchar *file);
51
52
53 #endif /* PSPPIRE_H */