X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fui%2Fgui%2Fpsppire-conf.h;h=5f4b283af5c2cf0f87bc9ccdd0d2d27aa8ff2902;hb=0931dbb924b98df79989e2b4017f538f2ab6b23c;hp=8f944518e08e13bfeb3205e2373d1ca4ee5cf390;hpb=7870d7c1461cbbf1496913f999ed31c47c490512;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);