New menu: Edit|Options
[pspp] / src / ui / gui / psppire-dictview.h
index 98000ff58ef59f18dbaa6ecd70a15e98d9ca794a..9855bb94d70952f7d21507ab7d66ae461add6f79 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPPIRE - a graphical user interface for PSPP.
-   Copyright (C) 2009  Free Software Foundation
+   Copyright (C) 2009, 2010, 2013  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
@@ -21,8 +21,9 @@
 
 #include <glib.h>
 #include <glib-object.h>
-#include <gtk/gtktreeview.h>
+#include <gtk/gtk.h>
 
+#include "data/format.h"
 #include "psppire-dict.h"
 #include "dict-display.h"
 
@@ -49,6 +50,10 @@ struct _PsppireDictView
 
   PsppireDict *dict;
   var_predicate_func *predicate;
+  GtkWidget *menu;
+  gboolean prefer_labels_override;
+  GtkWidget *override_button;
+  GtkTreeModel *sorted_model;
 };
 
 struct _PsppireDictViewClass
@@ -58,8 +63,12 @@ struct _PsppireDictViewClass
 };
 
 GType      psppire_dict_view_get_type        (void);
+void psppire_dict_view_get_selected_variables (PsppireDictView *,
+                                               struct variable ***vars,
+                                               size_t *n_varsp);
 struct variable * psppire_dict_view_get_selected_variable (PsppireDictView *);
 
+const char *get_var_measurement_stock_id (enum fmt_type, enum measure);
 
 G_END_DECLS