projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rewrite formatted data input routines to conform to SPSS data formats
[pspp]
/
src
/
ui
/
gui
/
psppire-dict.h
diff --git
a/src/ui/gui/psppire-dict.h
b/src/ui/gui/psppire-dict.h
index 96753ab5dcd7bc0d6a91237bcfb84e1751066471..e71ef20403daec009fe11456201c04f552211884 100644
(file)
--- 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;
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;
struct _PsppireDict
{
GObject parent;
@@
-56,6
+58,9
@@
struct _PsppireDict
struct PsppireVariable **variables;
gint cache_size;
struct PsppireVariable **variables;
gint cache_size;
+
+ /* For GtkTreeModelIface */
+ gint stamp;
};
struct _PsppireDictClass
};
struct _PsppireDictClass
@@
-97,9
+102,15
@@
void psppire_dict_delete_variables(PsppireDict *d, gint first, gint n);
/* Insert a new variable at posn IDX */
void psppire_dict_insert_variable(PsppireDict *d, gint idx, const gchar *name);
/* Insert a new variable at posn IDX */
void psppire_dict_insert_variable(PsppireDict *d, gint idx, const gchar *name);
+void psppire_dict_resize_variable(PsppireDict *d,
+ const struct PsppireVariable *pv,
+ gint old_size, gint new_size);
+
gboolean psppire_dict_check_name(const PsppireDict *dict,
const gchar *name, gboolean report);
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
G_END_DECLS