23 |
#define __PSPP_DICT_H__ |
#define __PSPP_DICT_H__ |
24 |
|
|
25 |
|
|
26 |
|
#include <hacks.h> |
27 |
#include <glib-object.h> |
#include <glib-object.h> |
28 |
#include <glib.h> |
#include <glib.h> |
29 |
|
|
30 |
#include <dictionary.h> |
#include <dictionary.h> |
31 |
#include <var.h> |
#include <var.h> |
32 |
|
|
33 |
|
|
34 |
G_BEGIN_DECLS |
G_BEGIN_DECLS |
35 |
|
|
36 |
|
|
62 |
|
|
63 |
|
|
64 |
/* -- PSPP_Dict --- */ |
/* -- PSPP_Dict --- */ |
65 |
GType pspp_dict_get_type(void); |
GType pspp_dict_get_type (void); |
66 |
PSPP_Dict* pspp_dict_new(void); |
PSPP_Dict* pspp_dict_new (void); |
67 |
void pspp_dict_set_name(PSPP_Dict* s, gint idx, const gchar *name); |
PSPP_Dict* pspp_dict_new_from_dict (struct dictionary *d); |
68 |
void pspp_dict_delete_var(PSPP_Dict *s, gint idx); |
void pspp_dict_set_name (PSPP_Dict* s, gint idx, const gchar *name); |
69 |
|
void pspp_dict_delete_var (PSPP_Dict *s, gint idx); |
70 |
|
|
71 |
/* Return the variable indexed by IDX. |
/* Return the variable indexed by IDX. |
72 |
returns NULL if IDX is not valid. |
returns NULL if IDX is not valid. |
85 |
void pspp_dict_var_changed(PSPP_Dict *d, gint idx); |
void pspp_dict_var_changed(PSPP_Dict *d, gint idx); |
86 |
|
|
87 |
|
|
88 |
|
/* Clears the contents of D */ |
89 |
|
void pspp_dict_clear(PSPP_Dict *d); |
90 |
|
|
91 |
G_END_DECLS |
G_END_DECLS |
92 |
|
|
93 |
#endif /* __PSPP_DICT_H__ */ |
#endif /* __PSPP_DICT_H__ */ |