Added property for the backend
[pspp] / src / data / spreadsheet-reader.h
index 3fbbde1d21f605242ad1117b64345a155764c7e5..f9a30209e4db281975b3fa5dc16752a5aa224549 100644 (file)
@@ -36,7 +36,6 @@ struct spreadsheet_read_options
 
 struct spreadsheet_read_info
 {
-  char *file_name ;        /* The name of the file to open (in filename encoding) */
   bool read_names ;        /* True if the first row is to be used as the names of the variables */
   int asw ;                /* The width of string variables in the created dictionary */
 };
@@ -54,12 +53,15 @@ bool convert_cell_ref (const char *ref,
 
 enum spreadsheet_type
   {
+    SPREADSHEET_NONE,
     SPREADSHEET_GNUMERIC,
     SPREADSHEET_ODS
   };
 
 struct spreadsheet
 {
+  char *file_name;
+
   enum spreadsheet_type type;
 
   /* The total number of sheets in the "workbook" */