gui: Make syntax execution functions take a PsppireDataWindow argument.
[pspp-builds.git] / src / ui / gui / psppire.h
index 27a633f2ecf35c57cd30dc01ac85aa4a61db28a9..4b9cdbef6709a3d1585b2c65b68f705c3c3e3a86 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPPIRE - a graphical user interface for PSPP.
-   Copyright (C) 2004, 2005, 2006, 2009  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
 #ifndef PSPPIRE_H
 #define PSPPIRE_H
 
-#include <argp.h>
+#include "ui/gui/psppire-data-window.h"
 
-struct command_line_processor ;
-extern const struct argp non_option_argp ;
+struct lexer;
 
-void initialize (struct command_line_processor *, int argc, char **argv);
+void initialize (const char *data_file);
 void de_initialize (void);
 
 void psppire_quit (void);
 
 const char * output_file_name (void);
 
+void psppire_set_lexer (struct lexer *);
+PsppireDataWindow *psppire_default_data_window (void);
+
 #endif /* PSPPIRE_H */