X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire.h;h=32a412be35847dc98d433ddeed81610790706016;hb=5539849055ad928f536d192561cbbaab3b926180;hp=92cd13571ca15bebd63e50adc87eddc385145048;hpb=a1efcf97ca2f75f4be6a0389ff2372c03ed2d4e1;p=pspp diff --git a/src/ui/gui/psppire.h b/src/ui/gui/psppire.h index 92cd13571c..32a412be35 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,13 +17,31 @@ #ifndef PSPPIRE_H #define PSPPIRE_H -#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); + +const char * output_file_name (void); + +void psppire_set_lexer (struct lexer *); + #endif /* PSPPIRE_H */