projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change view and scroll to position on header double click
[pspp]
/
src
/
ui
/
gui
/
psppire-window.h
diff --git
a/src/ui/gui/psppire-window.h
b/src/ui/gui/psppire-window.h
index e7851cce77d520dc5a8de776724faab63d28f69a..bc1b0f0b280770b87ae1414b7da4dc10b63c2e97 100644
(file)
--- a/
src/ui/gui/psppire-window.h
+++ b/
src/ui/gui/psppire-window.h
@@
-1,5
+1,5
@@
/* PSPPIRE - a graphical user interface for PSPP.
/* PSPPIRE - a graphical user interface for PSPP.
- Copyright (C) 2008, 2009, 2010, 2011 Free Software Foundation
+ Copyright (C) 2008, 2009, 2010, 2011
, 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
@@
-68,11
+68,11
@@
struct _PsppireWindow
gchar *list_name; /* Name for "Windows" menu list. */
GHashTable *menuitem_table;
gchar *list_name; /* Name for "Windows" menu list. */
GHashTable *menuitem_table;
- GtkMenuShell *menu;
guint insert_handler;
guint remove_handler;
guint insert_handler;
guint remove_handler;
+ gboolean added_separator;
gboolean dirty;
GTimeVal savetime;
};
gboolean dirty;
GTimeVal savetime;
};
@@
-90,7
+90,8
@@
struct _PsppireWindowIface
void (*save) (PsppireWindow *w);
void (*pick_filename) (PsppireWindow *);
void (*save) (PsppireWindow *w);
void (*pick_filename) (PsppireWindow *);
- gboolean (*load) (PsppireWindow *w, const gchar *);
+ gboolean (*load) (PsppireWindow *w, const gchar *filename,
+ const gchar *encoding, gpointer hint);
};
};
@@
-111,11
+112,13
@@
gint psppire_window_query_save (PsppireWindow *);
void psppire_window_save (PsppireWindow *w);
void psppire_window_save_as (PsppireWindow *w);
void psppire_window_save (PsppireWindow *w);
void psppire_window_save_as (PsppireWindow *w);
-gboolean psppire_window_load (PsppireWindow *w, const gchar *file);
+gboolean psppire_window_load (PsppireWindow *w, const gchar *file,
+ const gchar *encoding, gpointer hint);
void psppire_window_open (PsppireWindow *de);
GtkWidget *psppire_window_file_chooser_dialog (PsppireWindow *toplevel);
void psppire_window_open (PsppireWindow *de);
GtkWidget *psppire_window_file_chooser_dialog (PsppireWindow *toplevel);
-void add_most_recent (const char *file_name, const char *mime_type);
+void add_most_recent (const char *file_name, const char *mime_type,
+ const char *encoding);
G_END_DECLS
G_END_DECLS