Mercurial > pidgin.yaz
comparison libpurple/prefs.h @ 19144:0e30dfac1f46
Added a function to the prefs API to get a list of children names.
author | Eric Polino <aluink@pidgin.im> |
---|---|
date | Mon, 09 Jul 2007 21:29:08 +0000 |
parents | 32c366eeeb99 |
children | d201f6967183 783ed983122b |
comparison
equal
deleted
inserted
replaced
19143:3bec25803a00 | 19144:0e30dfac1f46 |
---|---|
279 * @param name The name of the pref | 279 * @param name The name of the pref |
280 * @return The value of the pref | 280 * @return The value of the pref |
281 */ | 281 */ |
282 GList *purple_prefs_get_path_list(const char *name); | 282 GList *purple_prefs_get_path_list(const char *name); |
283 | 283 |
284 /* | |
285 * Returns a list of children for a pref | |
286 * | |
287 * @param name The parent pref | |
288 * @return A list of strings denoting the names of the children, NULL if there are no children or if pref doesn't exist. | |
289 * | |
290 */ | |
291 GList *purple_prefs_get_children_names(const char *name); | |
284 | 292 |
285 /** | 293 /** |
286 * Add a callback to a pref (and its children) | 294 * Add a callback to a pref (and its children) |
287 */ | 295 */ |
288 guint purple_prefs_connect_callback(void *handle, const char *name, PurplePrefCallback cb, | 296 guint purple_prefs_connect_callback(void *handle, const char *name, PurplePrefCallback cb, |