X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=src%2Fui%2Fgui%2Fpsppire.h;h=f56052fb7d7ce0452b1c53054d4f4a4b6eee9141;hb=f20d313de2b85419c3e2e22a78cdcdce499af43d;hp=90e6418949fbbfbe8d4be2abf33655da1b1de2e0;hpb=ee08e284e9722ddc0fb785c5f9af09bcb6fa8a47;p=pspp
diff --git a/src/ui/gui/psppire.h b/src/ui/gui/psppire.h
index 90e6418949..f56052fb7d 100644
--- a/src/ui/gui/psppire.h
+++ b/src/ui/gui/psppire.h
@@ -1,10 +1,9 @@
-/*
- PSPPIRE --- A Graphical User Interface for PSPP
- Copyright (C) 2004, 2005, 2006 Free Software Foundation
+/* PSPPIRE - a graphical user interface for PSPP.
+ Copyright (C) 2004, 2005, 2006, 2009, 2010, 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,15 +12,43 @@
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 PSPPIRE_H
#define PSPPIRE_H
+#include
+#include
+#include
+
+#include
+
+struct lexer;
+
+
+struct init_source
+{
+ GSource parent;
+ int state;
+ GMainLoop *loop;
+ int filename_arg;
+ int *argc;
+ char ***argv;
+};
+
+bool initialize (const struct init_source *is);
-void initialize (void);
void de_initialize (void);
+void psppire_quit (GApplication *app);
+
+const char * output_file_name (void);
+
+void psppire_set_lexer (struct lexer *);
+
+void register_selection_functions (void);
+
+GtkWindow * psppire_preload_file (const gchar *file, GtkWindow *victim);
+
+
#endif /* PSPPIRE_H */