Remove deprecated objects GtkAction and GtkUIManager
[pspp] / src / ui / gui / psppire.h
index 8817824a9c936fbb387fb20390253152d8a5a9fb..e65554d13c4c37cf459118f69a04efe2e16f80dc 100644 (file)
 #ifndef PSPPIRE_H
 #define PSPPIRE_H
 
+#include <glib.h>
+#include <gio/gio.h>
+
+#include <stdbool.h>
+
 struct lexer;
 
-void initialize (const char *data_file);
+
+struct init_source
+{
+  GSource parent;
+  int state;
+  GMainLoop *loop;
+  int filename_arg;
+  int *argc;
+  char ***argv;
+};
+
+bool initialize (const struct init_source *is);
+
 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 */