X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-dialog-action-recode.h;h=06c527e72f11f617a89f54144340da84efed8aa6;hb=8d6bfdd2a100bf8166b3b0b3f006d46f3e7a59e9;hp=37d18d5c46ca1deccdd8e32ff021fef70592c87b;hpb=eb98330d56ce2c1947d179648b01d4e6779c665b;p=pspp diff --git a/src/ui/gui/psppire-dialog-action-recode.h b/src/ui/gui/psppire-dialog-action-recode.h index 37d18d5c46..06c527e72f 100644 --- a/src/ui/gui/psppire-dialog-action-recode.h +++ b/src/ui/gui/psppire-dialog-action-recode.h @@ -74,16 +74,13 @@ struct _PsppireDialogActionRecode GtkWidget *convert_button; GtkWidget *new_copy_label; + GtkWidget *new_value_entry; GtkWidget *old_value_chooser; GtkListStore *value_map; - /* Indicates that the INTO {new variables} form of the dialog - is being used */ - gboolean different; - GtkWidget *acr; gboolean input_var_is_string; @@ -92,22 +89,36 @@ struct _PsppireDialogActionRecode GtkWidget *new_label_entry; GtkWidget *change_button; + GtkWidget *output_variable_box; + GtkWidget *string_button; GtkWidget *width_entry; - - /* A hash table of struct nlp's indexed by variable */ - GHashTable *varmap; }; struct _PsppireDialogActionRecodeClass { PsppireDialogActionClass parent_class; -}; + gboolean (*target_is_string) (const PsppireDialogActionRecode *); +}; GType psppire_dialog_action_recode_get_type (void) ; +void psppire_dialog_action_recode_refresh (PsppireDialogAction *); + +GtkBuilder * psppire_dialog_action_recode_pre_activate (PsppireDialogActionRecode *act, + void (*populate_treeview) (PsppireDialogActionRecode *) ); + + +GType new_value_get_type (void); + + +char *psppire_dialog_action_recode_generate_syntax (const PsppireDialogAction *act, + void (*add_string_decls) (const PsppireDialogActionRecode *, struct string *), + void (*add_into_clause) (const PsppireDialogActionRecode *, struct string *), + void (*add_new_value_labels) (const PsppireDialogActionRecode *, struct string *)); + G_END_DECLS #endif /* __PSPPIRE_DIALOG_ACTION_RECODE_H__ */