/* PSPPIRE - a graphical user interface for PSPP.
- Copyright (C) 2008 Free Software Foundation
+ Copyright (C) 2008, 2009, 2010, 2011, 2014 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
#include <glib.h>
#include <glib-object.h>
-#include <gtk/gtkaction.h>
-#include <gtk/gtktextbuffer.h>
-#include "psppire-window.h"
-#include "psppire.h"
#include <gtk/gtk.h>
-
-extern int viewer_length;
-extern int viewer_width ;
-
-
-#define OUTPUT_FILE_NAME "psppire.txt"
-
+#include "psppire-window.h"
+#include "libpspp/string-map.h"
G_BEGIN_DECLS
PsppireWindow parent;
/* <private> */
- GtkTextBuffer *buffer; /* The buffer which contains the text */
- GtkWidget *textview ;
- FILE *fp; /* The file it's viewing */
+ struct psppire_output_driver *driver;
+ struct psppire_output_view *view;
+
+ gboolean dispose_has_run;
};
struct _PsppireOutputWindowClass
GType psppire_output_window_get_type (void);
GtkWidget* psppire_output_window_new (void);
-
-void psppire_output_window_reload (void);
-
+void psppire_output_window_setup (void);
G_END_DECLS