X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire.h;h=311e7c19ad4f37ae9f962d86da98044c1606a007;hb=0f447caa885d8f0fd8c30d4440556d9b6abb99ea;hp=cfe49e9182aaa0f374eaec352e50e7c652d80cac;hpb=b5c82cc9aabe7e641011130240ae1b2e84348e23;p=pspp diff --git a/src/ui/gui/psppire.h b/src/ui/gui/psppire.h index cfe49e9182..311e7c19ad 100644 --- a/src/ui/gui/psppire.h +++ b/src/ui/gui/psppire.h @@ -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 @@ -17,16 +17,38 @@ #ifndef PSPPIRE_H #define PSPPIRE_H -#include +#include +#include +#include -struct command_line_processor ; -extern const struct argp non_option_argp ; +#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 (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); + +GtkWindow * psppire_preload_file (const gchar *file); + #endif /* PSPPIRE_H */