8 #define SETTINGS_TYPE_BINDING 3 |
8 #define SETTINGS_TYPE_BINDING 3 |
9 |
9 |
10 #define settings_opt_get(k) settings_get(SETTINGS_TYPE_OPTION, k) |
10 #define settings_opt_get(k) settings_get(SETTINGS_TYPE_OPTION, k) |
11 #define settings_opt_get_int(k) settings_get_int(SETTINGS_TYPE_OPTION, k) |
11 #define settings_opt_get_int(k) settings_get_int(SETTINGS_TYPE_OPTION, k) |
12 |
12 |
13 guint parse_assigment(gchar *assignment, gchar **pkey, gchar **pval); |
13 guint parse_assigment(gchar *assignment, |
14 void settings_set(guint type, gchar *key, gchar *value); |
14 const gchar **pkey, const gchar **pval); |
15 void settings_del(guint type, gchar *key); |
15 void settings_set(guint type, const gchar *key, const gchar *value); |
16 gchar *settings_get(guint type, gchar *key); |
16 void settings_del(guint type, const gchar *key); |
17 int settings_get_int(guint type, gchar *key); |
17 const gchar *settings_get(guint type, const gchar *key); |
|
18 int settings_get_int(guint type, const gchar *key); |
18 |
19 |
19 #endif /* __SETTINGS_H__ */ |
20 #endif /* __SETTINGS_H__ */ |
20 |
21 |