Return NULL if not a gnumeric file
[pspp] / src / ui / gui / psppire-var-sheet.h
index 3e94f89e45d54e6f217357aad14bb223d707bcb8..058821b7b30d583236e36b2ae0817187148c0c42 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPPIRE - a graphical user interface for PSPP.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008, 2012 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
 #include <glib.h>
 #include <glib-object.h>
-#include <gtksheet/gtksheet.h>
-#include "val-labs-dialog.h"
+#include <gtk-contrib/psppire-sheet.h>
 #include "missing-val-dialog.h"
-#include "var-type-dialog.h"
 
 
 G_BEGIN_DECLS
@@ -40,19 +38,16 @@ typedef struct _PsppireVarSheetClass  PsppireVarSheetClass;
 
 struct _PsppireVarSheet
 {
-  GtkSheet parent;
+  PsppireSheet parent;
 
   gboolean dispose_has_run;
-
-  struct val_labs_dialog *val_labs_dialog ;
-  struct missing_val_dialog *missing_val_dialog ;
-  struct var_type_dialog *var_type_dialog ;
+  gboolean may_create_vars;
 };
 
 
 struct _PsppireVarSheetClass
 {
-  GtkSheetClass parent_class;
+  PsppireSheetClass parent_class;
 
   GtkListStore *alignment_list;
   GtkListStore *measure_list;