X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-window.h;h=0e57b4d78de57965160e67a9802a758649983691;hb=refs%2Fbuilds%2F20140207030506%2Fpspp;hp=f1273b17a84989e02d0635b6572215ca10029aeb;hpb=0b0ca44889e637251cb5f2dbf3c7fdc4ec8b9bd7;p=pspp diff --git a/src/ui/gui/psppire-window.h b/src/ui/gui/psppire-window.h index f1273b17a8..0e57b4d78d 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, 2013 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 @@ -91,7 +91,8 @@ struct _PsppireWindowIface 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); }; @@ -112,11 +113,13 @@ 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, + const gchar *encoding, gpointer hint); 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