X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-conf.h;h=5f4b283af5c2cf0f87bc9ccdd0d2d27aa8ff2902;hb=48b5268f2d9da96af106f09efd73ddddd96e5b09;hp=8f944518e08e13bfeb3205e2373d1ca4ee5cf390;hpb=e2da62d735c597afeef2e0e9b36e5a4a83d7da94;p=pspp diff --git a/src/ui/gui/psppire-conf.h b/src/ui/gui/psppire-conf.h index 8f944518e0..5f4b283af5 100644 --- a/src/ui/gui/psppire-conf.h +++ b/src/ui/gui/psppire-conf.h @@ -85,6 +85,16 @@ gboolean psppire_conf_get_string (PsppireConf *, gboolean psppire_conf_get_boolean (PsppireConf *, const gchar *, const gchar *, gboolean *); + +gboolean psppire_conf_get_variant (PsppireConf *, + const gchar *, const gchar *, GVariant **); + + +gboolean psppire_conf_get_enum (PsppireConf *conf, const gchar *base, + const gchar *name, + GType t, + int *v); + void psppire_conf_set_int (PsppireConf *conf, const gchar *base, const gchar *name, gint value); @@ -97,6 +107,17 @@ void psppire_conf_set_string (PsppireConf *conf, const gchar *base, const gchar *name, const gchar *value); + +void psppire_conf_set_variant (PsppireConf *conf, + const gchar *base, const gchar *name, + GVariant *value); + + +void psppire_conf_set_enum (PsppireConf *conf, + const gchar *base, const gchar *name, + GType enum_type, + int value); + void psppire_conf_set_window_geometry (PsppireConf *conf, const gchar *base, GtkWindow *window);