projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sys-file-reader: Avoid assert-fail for duplicate attribute names.
[pspp]
/
src
/
ui
/
gui
/
psppire.h
diff --git
a/src/ui/gui/psppire.h
b/src/ui/gui/psppire.h
index befbc06b53e1c624eba14cefc4af592b4222b623..311e7c19ad4f37ae9f962d86da98044c1606a007 100644
(file)
--- a/
src/ui/gui/psppire.h
+++ b/
src/ui/gui/psppire.h
@@
-17,17
+17,38
@@
#ifndef PSPPIRE_H
#define PSPPIRE_H
#ifndef PSPPIRE_H
#define PSPPIRE_H
+#include <glib.h>
+#include <gio/gio.h>
+#include <gtk/gtk.h>
+
#include <stdbool.h>
struct lexer;
#include <stdbool.h>
struct lexer;
-bool initialize (const char *data_file, int state);
+
+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 de_initialize (void);
-void psppire_quit (
void
);
+void psppire_quit (
GApplication *app
);
const char * output_file_name (void);
void psppire_set_lexer (struct lexer *);
const char * output_file_name (void);
void psppire_set_lexer (struct lexer *);
+void register_selection_functions (void);
+
+GtkWindow * psppire_preload_file (const gchar *file);
+
+
#endif /* PSPPIRE_H */
#endif /* PSPPIRE_H */