X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire.h;h=311e7c19ad4f37ae9f962d86da98044c1606a007;hb=f062823782af5f98fecb1808136df3d565194698;hp=8817824a9c936fbb387fb20390253152d8a5a9fb;hpb=119d57cbddc317d9bde6831787026c84a6e7415f;p=pspp diff --git a/src/ui/gui/psppire.h b/src/ui/gui/psppire.h index 8817824a9c..311e7c19ad 100644 --- a/src/ui/gui/psppire.h +++ b/src/ui/gui/psppire.h @@ -17,15 +17,38 @@ #ifndef PSPPIRE_H #define PSPPIRE_H +#include +#include +#include + +#include + 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); + +GtkWindow * psppire_preload_file (const gchar *file); + + #endif /* PSPPIRE_H */