Added the Compute dialog box.
[pspp-builds.git] / src / ui / gui / sort-cases-dialog.h
index 88d1a21fcc4a3b1cd0fba190022362d4dcc6d91e..5353b738f2ee32aeb03a012646270ea6a257e178 100644 (file)
@@ -1,6 +1,6 @@
 /*
     PSPPIRE --- A Graphical User Interface for PSPP
-    Copyright (C) 2006  Free Software Foundation
+    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
 
 #include <gtk/gtk.h>
 #include <glade/glade.h>
-#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