X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-window.h;h=7831f53d2776dd8ccfb505ac32949324a1e43c34;hb=e083132e9d963a85aadc2f7d4f1eafcabc1d05d4;hp=b80f79d699af04d14a647be6d817830ff9a5b65b;hpb=5592ebfc98cd6ca4285abf0771c877e3deb00ec8;p=pspp diff --git a/src/ui/gui/psppire-window.h b/src/ui/gui/psppire-window.h index b80f79d699..7831f53d27 100644 --- 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. - Copyright (C) 2008, 2009, 2010, 2011 Free Software Foundation + Copyright (C) 2008, 2009, 2010, 2011, 2013 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 @@ -22,6 +22,7 @@ #include #include #include +#include "psppire-window-base.h" G_BEGIN_DECLS @@ -57,7 +58,7 @@ typedef struct _PsppireWindowIface PsppireWindowIface; struct _PsppireWindow { - GtkWindow parent; + PsppireWindowBase parent; /* */ gchar *filename; /* File name, in file name encoding, or NULL. */ @@ -72,6 +73,7 @@ struct _PsppireWindow guint insert_handler; guint remove_handler; + gboolean added_separator; gboolean dirty; GTimeVal savetime; }; @@ -79,7 +81,7 @@ struct _PsppireWindow struct _PsppireWindowClass { - GtkWindowClass parent_class; + PsppireWindowBaseClass parent_class; }; @@ -89,7 +91,7 @@ struct _PsppireWindowIface void (*save) (PsppireWindow *w); void (*pick_filename) (PsppireWindow *); - gboolean (*load) (PsppireWindow *w, const gchar *); + gboolean (*load) (PsppireWindow *w, const gchar *, gpointer hint); }; @@ -110,7 +112,7 @@ gint psppire_window_query_save (PsppireWindow *); 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, gpointer hint); void psppire_window_open (PsppireWindow *de); GtkWidget *psppire_window_file_chooser_dialog (PsppireWindow *toplevel);