X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fdata-editor.h;h=9b8da82615dc5ef0832b4d3686460ca8596e8f68;hb=b06c888cf2e8c126b04d4678120439533a5086e5;hp=63b82a4a67e14c0f9243c0ab809b39fe3b75c2dd;hpb=bc02bc027697df3207f827de722c26d8cc87e824;p=pspp-builds.git diff --git a/src/ui/gui/data-editor.h b/src/ui/gui/data-editor.h index 63b82a4a..9b8da826 100644 --- a/src/ui/gui/data-editor.h +++ b/src/ui/gui/data-editor.h @@ -1,6 +1,6 @@ /* PSPPIRE --- A Graphical User Interface for PSPP - Copyright (C) 2006 Free Software Foundation + Copyright (C) 2006, 2007 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 @@ -28,7 +28,28 @@ struct data_editor { struct editor_window parent; + + GtkAction *action_data_new; + GtkAction *action_data_open; + GtkAction *action_data_save_as; + GtkAction *action_data_save; + + GtkAction *invoke_weight_cases_dialog; + GtkAction *invoke_transpose_dialog; + GtkAction *invoke_split_file_dialog; + GtkAction *invoke_sort_cases_dialog; + GtkAction *invoke_compute_dialog; + + GtkAction *invoke_variable_info_dialog; + GladeXML *xml; + + gboolean save_as_portable; + + /* Name of the file this data is associated with (ie, was loaded from or + has been saved to), in "filename encoding", or NULL, if it's not + associated with any file */ + gchar *file_name; }; @@ -36,9 +57,9 @@ struct data_editor * new_data_editor (void); void new_data_window (GtkMenuItem *, gpointer); -void open_data_window (GtkMenuItem *, gpointer); - void data_editor_select_sheet (struct data_editor *de, gint page); +enum {PAGE_DATA_SHEET = 0, PAGE_VAR_SHEET}; + #endif