projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed unreachable code section
[pspp]
/
src
/
ui
/
gui
/
psppire-data-window.h
diff --git
a/src/ui/gui/psppire-data-window.h
b/src/ui/gui/psppire-data-window.h
index d63f49aed751a70c4ae40da32109d01d28b1207a..a578501fc2518a52f9b9d9bbf3c3a425173ac91a 100644
(file)
--- a/
src/ui/gui/psppire-data-window.h
+++ b/
src/ui/gui/psppire-data-window.h
@@
-1,5
+1,5
@@
/* PSPPIRE - a graphical user interface for PSPP.
/* 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
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
@@
-52,6
+52,12
@@
typedef struct _PsppireDataWindow PsppireDataWindow;
typedef struct _PsppireDataWindowClass PsppireDataWindowClass;
typedef struct _PsppireDataWindowClass PsppireDataWindowClass;
+enum PsppireDataWindowFormat {
+ PSPPIRE_DATA_WINDOW_SAV,
+ PSPPIRE_DATA_WINDOW_ZSAV,
+ PSPPIRE_DATA_WINDOW_POR
+};
+
struct _PsppireDataWindow
{
PsppireWindow parent;
struct _PsppireDataWindow
{
PsppireWindow parent;
@@
-65,7
+71,7
@@
struct _PsppireDataWindow
struct dataset *dataset;
PsppireDataStore *data_store;
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;
struct ll ll; /* In global 'all_data_windows' list. */
unsigned long int lazy_serial;
@@
-95,7
+101,8
@@
PsppireDataWindow *psppire_data_window_for_data_store (PsppireDataStore *);
bool psppire_data_window_is_empty (PsppireDataWindow *);
void create_data_window (void);
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
G_END_DECLS