Remove deprecated objects GtkAction and GtkUIManager
[pspp] / src / ui / gui / psppire.h
index 408d858ba14b4e65ccfe11c36920a657b06d7c7d..e65554d13c4c37cf459118f69a04efe2e16f80dc 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPPIRE - a graphical user interface for PSPP.
-   Copyright (C) 2004, 2005, 2006  Free Software Foundation
+   Copyright (C) 2004, 2005, 2006, 2009, 2010, 2011  Free Software Foundation
 
    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
 #ifndef PSPPIRE_H
 #define PSPPIRE_H
 
-#include <argp.h>
+#include <glib.h>
+#include <gio/gio.h>
 
-struct command_line_processor ;
-extern const struct argp non_option_argp ;
+#include <stdbool.h>
+
+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 (struct command_line_processor *, int argc, char **argv);
 void de_initialize (void);
-void psppire_quit (void);
+
+void psppire_quit (GApplication *app);
+
+const char * output_file_name (void);
+
+void psppire_set_lexer (struct lexer *);
+
+void register_selection_functions (void);
+
+void psppire_preload_file (const gchar *file);
 
 
 #endif /* PSPPIRE_H */