diff options
Diffstat (limited to 'src/config/config.h')
-rw-r--r-- | src/config/config.h | 7 |
1 files changed, 6 insertions, 1 deletions
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); |