From c902685c47e70bfbb45b74c4a1d2b631bd16974a Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 06 Nov 2017 16:55:17 -0500 Subject: mq_config_new(): Add a profile type argument --- (limited to 'src/config/config.h') diff --git a/src/config/config.h b/src/config/config.h index ec64b65..17859de 100644 --- a/src/config/config.h +++ b/src/config/config.h @@ -28,6 +28,11 @@ typedef struct MqConfig MqConfig; G_BEGIN_DECLS +typedef enum { + MQ_CONFIG_PROFILE_DEFAULT, + MQ_CONFIG_PROFILE_PRIVATE, +} MqConfigProfile; + typedef void (*MqConfigBooleanCallback)(MqConfig *, const gchar *, const gboolean, gpointer); typedef void (*MqConfigIntegerCallback)(MqConfig *, @@ -38,7 +43,7 @@ typedef void (*MqConfigStringCallback)(MqConfig *, const gchar *, const gchar *, gpointer); MqConfig * -mq_config_new(const gchar *profile); +mq_config_new(const gchar *profile, MqConfigProfile profile_type); gboolean mq_config_load(MqConfig *config); -- cgit v0.9.1