psppire-output-window: Factor out output view as psppire-output-view.
[pspp] / src / ui / gui / psppire-output-view.h
1 /* PSPPIRE - a graphical user interface for PSPP.
2    Copyright (C) 2008, 2009, 2010, 2011, 2014  Free Software Foundation
3
4    This program is free software: you can redistribute it and/or modify
5    it under the terms of the GNU General Public License as published by
6    the Free Software Foundation, either version 3 of the License, or
7    (at your option) any later version.
8
9    This program is distributed in the hope that it will be useful,
10    but WITHOUT ANY WARRANTY; without even the implied warranty of
11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12    GNU General Public License for more details.
13
14    You should have received a copy of the GNU General Public License
15    along with this program.  If not, see <http://www.gnu.org/licenses/>. */
16
17
18 #ifndef PSPPIRE_OUTPUT_VIEW_H
19 #define PSPPIRE_OUTPUT_VIEW_H
20
21 #include <gtk/gtk.h>
22
23 struct output_item;
24 struct string_map;
25
26 struct psppire_output_view *psppire_output_view_new (GtkLayout *output,
27                                                      GtkTreeView *overview,
28                                                      GtkAction *copy_action,
29                                                      GtkAction *select_all_action);
30 void psppire_output_view_destroy (struct psppire_output_view *);
31
32 void psppire_output_view_put (struct psppire_output_view *,
33                               const struct output_item *);
34
35 void psppire_output_view_export (struct psppire_output_view *,
36                                  struct string_map *options);
37 void psppire_output_view_print (struct psppire_output_view *,
38                                 GtkWindow *parent_window);
39
40 #endif /* psppire-output-view.h */