diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-06 16:55:17 (EST) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-06 16:55:17 (EST) |
commit | c902685c47e70bfbb45b74c4a1d2b631bd16974a (patch) | |
tree | 864680c115ff740d8b97f09e5fc8b93db5a4bf4f /src/config/config.h | |
parent | 03f412a9ed8bdb1ba57242cb7874a2efc90094cb (diff) | |
download | marquee-c902685c47e70bfbb45b74c4a1d2b631bd16974a.zip marquee-c902685c47e70bfbb45b74c4a1d2b631bd16974a.tar.gz marquee-c902685c47e70bfbb45b74c4a1d2b631bd16974a.tar.bz2 |
mq_config_new(): Add a profile type argument
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); |