Added psppire-dialog and psppire-buttonbox widgets.
[pspp-builds.git] / src / ui / gui / psppire-dict.h
index b6b1bc88283303979f76e198e295d5e8374ebe46..bcf31da3e95c7eb676308e3a4ae7fc0944ba64f4 100644 (file)
@@ -82,7 +82,7 @@ struct variable * psppire_dict_lookup_var (const PsppireDict *d, const gchar *na
 void psppire_dict_clear (PsppireDict *d);
 
 /* Return the IDXth variable */
-struct variable * psppire_dict_get_variable (PsppireDict *d, gint idx);
+struct variable * psppire_dict_get_variable (const PsppireDict *d, gint idx);
 
 /* Delete N variables beginning at FIRST */
 void psppire_dict_delete_variables (PsppireDict *d, gint first, gint n);
@@ -104,6 +104,9 @@ void psppire_dict_rename_var (PsppireDict *dict, struct variable *v,
 
 void psppire_dict_replace_dictionary (PsppireDict *, struct dictionary *);
 
+void psppire_dict_set_weight_variable (PsppireDict *, struct variable *);
+struct variable * psppire_dict_get_weight_variable (const PsppireDict *);
+
 
 G_END_DECLS