Added the ability to sort the working file.
[pspp-builds.git] / src / ui / gui / psppire-dict.h
index 96753ab5dcd7bc0d6a91237bcfb84e1751066471..218cae0d764aebd126ae3729db1266fa3b2a5b6b 100644 (file)
@@ -47,6 +47,8 @@ G_BEGIN_DECLS
 typedef struct _PsppireDict       PsppireDict;
 typedef struct _PsppireDictClass PsppireDictClass;
 
+enum {DICT_TVM_COL_NAME=0, DICT_TVM_COL_VAR, n_DICT_COLS} ;
+
 struct _PsppireDict
 {
   GObject             parent;
@@ -56,6 +58,9 @@ struct _PsppireDict
   struct PsppireVariable **variables;
 
   gint cache_size;
+
+  /* For GtkTreeModelIface */
+  gint stamp;
 };
 
 struct _PsppireDictClass
@@ -100,6 +105,8 @@ void psppire_dict_insert_variable(PsppireDict *d, gint idx, const gchar *name);
 gboolean psppire_dict_check_name(const PsppireDict *dict, 
                              const gchar *name, gboolean report);
 
+gint psppire_dict_get_next_value_idx (const PsppireDict *dict);
+
 
 G_END_DECLS