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=bb7966089c4059508264d03146a146f4fbce20f0;hpb=9ade26c8349b4434008c46cf09bc7473ec743972;p=pspp diff --git a/src/ui/gui/psppire.h b/src/ui/gui/psppire.h index bb7966089c..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, 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,9 +17,25 @@ #ifndef PSPPIRE_H #define PSPPIRE_H +#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);