X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-conf.h;h=674577e778a8586d6c41c9ce610b77306dd01095;hb=f0d3b9e75a250c98c48c982aa0b5377868b5bfad;hp=b98c1e65ffd7e0607a8970e060e7162eef951ae9;hpb=c1c6d7c7e942d47f65b112fdd7cdc64361ef2ea4;p=pspp diff --git a/src/ui/gui/psppire-conf.h b/src/ui/gui/psppire-conf.h index b98c1e65ff..674577e778 100644 --- a/src/ui/gui/psppire-conf.h +++ b/src/ui/gui/psppire-conf.h @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2009 Free Software Foundation + Copyright (C) 2009, 2010 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 @@ -18,7 +18,7 @@ #include #include -#include +#include #ifndef __PSPPIRE_CONF_H__ #define __PSPPIRE_CONF_H__ @@ -78,17 +78,25 @@ PsppireConf * psppire_conf_new (void); gboolean psppire_conf_get_int (PsppireConf *, const gchar *, const gchar *, int *); +gboolean psppire_conf_get_boolean (PsppireConf *, + const gchar *, const gchar *, gboolean *); + void psppire_conf_set_int (PsppireConf *conf, const gchar *base, const gchar *name, gint value); +void psppire_conf_set_boolean (PsppireConf *conf, + const gchar *base, const gchar *name, + gboolean value); + + void psppire_conf_set_window_geometry (PsppireConf *conf, const gchar *base, GtkWindow *window); void psppire_conf_save_window_geometry (PsppireConf *, const gchar *, - GdkEventConfigure *); + GtkWindow *); G_END_DECLS