X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fsort-cases-dialog.h;h=000d2c00810634bbecc07a921b8dbca26afe7477;hb=b5c82cc9aabe7e641011130240ae1b2e84348e23;hp=88d1a21fcc4a3b1cd0fba190022362d4dcc6d91e;hpb=bc02bc027697df3207f827de722c26d8cc87e824;p=pspp-builds.git diff --git a/src/ui/gui/sort-cases-dialog.h b/src/ui/gui/sort-cases-dialog.h index 88d1a21f..000d2c00 100644 --- a/src/ui/gui/sort-cases-dialog.h +++ b/src/ui/gui/sort-cases-dialog.h @@ -1,65 +1,25 @@ -/* - 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 -#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 (GObject *o, gpointer data); #endif