X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fsort-cases-dialog.h;h=0c2814f1a53589c4e9492b94ef2edcd5c7e76a78;hb=c41cd1fefc98bb4abed33754276d93db9ffe2e0e;hp=88d1a21fcc4a3b1cd0fba190022362d4dcc6d91e;hpb=bc02bc027697df3207f827de722c26d8cc87e824;p=pspp
diff --git a/src/ui/gui/sort-cases-dialog.h b/src/ui/gui/sort-cases-dialog.h
index 88d1a21fcc..0c2814f1a5 100644
--- a/src/ui/gui/sort-cases-dialog.h
+++ b/src/ui/gui/sort-cases-dialog.h
@@ -1,65 +1,24 @@
-/*
- PSPPIRE --- A Graphical User Interface for PSPP
- Copyright (C) 2006 Free Software Foundation
+/* PSPPIRE - a graphical user interface for PSPP.
+ Copyright (C) 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
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
+ 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
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301, USA. */
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see . */
#ifndef __SORT_CASES_DIALOG_H
#define __SORT_CASES_DIALOG_H
+#include "psppire-data-window.h"
-#include
-#include
-#include "psppire-dict.h"
-
-struct sort_criteria;
-
-struct sort_cases_dialog
-{
- GtkWidget *window;
- GMainLoop *loop;
-
- GtkTreeView *dict_view;
-
-
- GtkTreeView *criteria_view;
- GtkTreeViewColumn *crit_col;
- GtkCellRenderer *crit_renderer;
-
- GtkListStore *criteria_list;
-
- struct sort_criteria *sc;
-
- GtkArrow *arrow;
- GtkButton *button;
-
- GtkToggleButton *ascending_button;
-
- /* FIXME: Could this be done better with a GtkToggleAction ?? */
- enum {VAR_SELECT, VAR_DESELECT} button_state;
-
- gint response;
-};
-
-struct sort_cases_dialog * sort_cases_dialog_create (GladeXML *xml);
-
-
-gint sort_cases_dialog_run (struct sort_cases_dialog *dialog,
- PsppireDict *dict,
- struct sort_criteria *criteria
- );
+void sort_cases_dialog (PsppireDataWindow * data);
#endif