X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire.h;h=e0b3bcb133f00d8f878b8aea531d75a9b590cd89;hb=e4a4f41ed1c534c4f742ce95feeee515563b97dc;hp=ee747ef90606b200b195d9fa497ce239457fe58d;hpb=f550aee00a62fe1d8baf62d83cd7efef6cc2ee92;p=pspp diff --git a/src/ui/gui/psppire.h b/src/ui/gui/psppire.h index ee747ef906..e0b3bcb133 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, 2009, 2010 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 -struct source_stream; +#include + +#include + +struct lexer; + + +struct init_source +{ + GSource parent; + int state; + GMainLoop *loop; + gchar *file; + int *argc; + char ***argv; +}; + +bool initialize (const struct init_source *is); -void initialize (struct source_stream *, const char *data_file); void de_initialize (void); void psppire_quit (void); const char * output_file_name (void); +void psppire_set_lexer (struct lexer *); + #endif /* PSPPIRE_H */