tests: Add pspp-convert.at to Git.
[pspp] / src / ui / gui / psppire-var-sheet.h
index 97efcf456ad1a2450c6192a8f608f0889dd6ce05..6a57cc6de9cd38c5c64f730d030e1dfbc3658a91 100644 (file)
@@ -44,6 +44,15 @@ GType psppire_fmt_use_get_type (void) G_GNUC_CONST;
 typedef struct _PsppireVarSheet       PsppireVarSheet;
 typedef struct _PsppireVarSheetClass  PsppireVarSheetClass;
 
+enum
+{
+    PSPPIRE_VAR_SHEET_BACKEND_CHANGED,
+    PSPPIRE_VAR_SHEET_VARIABLE_CHANGED,
+    PSPPIRE_VAR_SHEET_VARIABLE_INSERTED,
+    PSPPIRE_VAR_SHEET_VARIABLE_DELETED,
+    PSPPIRE_VAR_SHEET_N_SIGNALS
+ };
+
 struct _PsppireVarSheet
 {
   PsppSheetView parent;
@@ -53,17 +62,14 @@ struct _PsppireVarSheet
   enum fmt_use format_use;
 
   struct _PsppireDict *dict;
-  struct val_labs_dialog *val_labs_dialog;
-  struct missing_val_dialog *missing_val_dialog;
-  struct var_type_dialog *var_type_dialog;
 
   gulong scroll_to_bottom_signal;
-  gulong *dict_signals;
-
-  GtkBuilder *builder;
+  gulong dict_signals[PSPPIRE_VAR_SHEET_N_SIGNALS];
 
   GtkWidget *container;
   gulong on_switch_page_handler;
+
+  gboolean dispose_has_run;
 };
 
 struct _PsppireVarSheetClass
@@ -85,8 +91,9 @@ gboolean psppire_var_sheet_get_may_delete_vars (PsppireVarSheet *);
 void psppire_var_sheet_set_may_delete_vars (PsppireVarSheet *, gboolean);
 
 void psppire_var_sheet_goto_variable (PsppireVarSheet *, int dict_index);
+void psppire_var_sheet_insert_variable (PsppireVarSheet *var_sheet);
+void psppire_var_sheet_clear_variables (PsppireVarSheet *var_sheet);
 
-GtkUIManager *psppire_var_sheet_get_ui_manager (PsppireVarSheet *);
 
 G_END_DECLS