Started polymorphism of ODS
[pspp] / src / data / spreadsheet-reader.h
index d25aaf32f6a11c11760c20fd97ace5d64b820662..77ed5ab9dbbe6551f59126ed21a6da2c3e53575f 100644 (file)
@@ -54,6 +54,7 @@ bool convert_cell_ref (const char *ref,
 
 enum spreadsheet_type
   {
+    SPREADSHEET_NONE,
     SPREADSHEET_GNUMERIC,
     SPREADSHEET_ODS
   };
@@ -62,8 +63,6 @@ struct spreadsheet
 {
   enum spreadsheet_type type;
 
-  struct casereader * (*make_reader) (struct spreadsheet *);
-
   /* The total number of sheets in the "workbook" */
   int sheets;