/* PSPPIRE - a graphical user interface for PSPP.
- Copyright (C) 2008, 2010, 2011, 2012 Free Software Foundation
+ Copyright (C) 2008, 2010, 2011, 2012, 2013, 2014 Free Software Foundation
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
typedef struct _PsppireDataWindowClass PsppireDataWindowClass;
+enum PsppireDataWindowFormat {
+ PSPPIRE_DATA_WINDOW_SAV,
+ PSPPIRE_DATA_WINDOW_ZSAV,
+ PSPPIRE_DATA_WINDOW_POR
+};
+
struct _PsppireDataWindow
{
PsppireWindow parent;
struct dataset *dataset;
PsppireDataStore *data_store;
- gboolean save_as_portable;
+ enum PsppireDataWindowFormat format;
struct ll ll; /* In global 'all_data_windows' list. */
unsigned long int lazy_serial;
bool psppire_data_window_is_empty (PsppireDataWindow *);
void create_data_window (void);
-void open_data_window (PsppireWindow *victim, const char *file_name);
+void open_data_window (PsppireWindow *victim, const char *file_name,
+ const char *encoding, gpointer hint);
G_END_DECLS