X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-dict.h;h=218cae0d764aebd126ae3729db1266fa3b2a5b6b;hb=66d74ee3a5eab89c650e54a866edf7c99d331303;hp=96753ab5dcd7bc0d6a91237bcfb84e1751066471;hpb=9d888a2e774f76e66e31b2ab60a1d4b2d451e635;p=pspp diff --git a/src/ui/gui/psppire-dict.h b/src/ui/gui/psppire-dict.h index 96753ab5dc..218cae0d76 100644 --- a/src/ui/gui/psppire-dict.h +++ b/src/ui/gui/psppire-dict.h @@ -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