comparison src/prefs.h @ 5545:7a64114641c3

[gaim-migrate @ 5946] I've been rewriting the prefs to move from gaimrc to prefs.xml. This will NOT compile! I don't want to see complaints about this, as it's CVS, and you should only be using it if you can put up with things like this. Also, don't ask how long it'll take until it compiles again. It may be several days. This is a big migration. Even when it works, it may not run right. However, it's made a lot of progress, and I plan to actively work on it today and tomorrow. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 29 May 2003 19:10:24 +0000
parents 0aa4d089125c
children d67b5b4e1323
comparison
equal deleted inserted replaced
5544:0028381fa874 5545:7a64114641c3
147 * Get string pref value 147 * Get string pref value
148 * 148 *
149 * @param name The name of the pref 149 * @param name The name of the pref
150 * @return The value of the pref 150 * @return The value of the pref
151 */ 151 */
152 char *gaim_prefs_get_string(const char *name); 152 const char *gaim_prefs_get_string(const char *name);
153 153
154 /** 154 /**
155 * Add a callback to a pref (and its children) 155 * Add a callback to a pref (and its children)
156 */ 156 */
157 guint gaim_prefs_connect_callback(const char *name, GaimPrefCallback cb, 157 guint gaim_prefs_connect_callback(const char *name, GaimPrefCallback cb,
163 void gaim_prefs_disconnect_callback(guint callback_id); 163 void gaim_prefs_disconnect_callback(guint callback_id);
164 164
165 /** 165 /**
166 * Read preferences 166 * Read preferences
167 */ 167 */
168 void gaim_prefs_load(); 168 gboolean gaim_prefs_load();
169 169
170 /** 170 /**
171 * Force an immediate write of preferences 171 * Force an immediate write of preferences
172 */ 172 */
173 void gaim_prefs_sync(); 173 void gaim_prefs_sync();