Mercurial > pidgin
comparison src/prefs.h @ 10443:b6ca0e1b19d0
[gaim-migrate @ 11703]
Shuffle some things around in prefs.c and use xmlnode/the util function
for saving prefs. Now all our xml files are written to disk at once,
with gobs of error detection. If anyone complains about losing their
config file with 2.x, send them to me. Muwha ha ha ha ha. Ha. Heh. Sigh.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 28 Dec 2004 19:11:15 +0000 |
parents | 9fdbfe832fac |
children | fc464a0abccc |
comparison
equal
deleted
inserted
replaced
10442:937697da5233 | 10443:b6ca0e1b19d0 |
---|---|
56 /** @name Prefs API */ | 56 /** @name Prefs API */ |
57 /**************************************************************************/ | 57 /**************************************************************************/ |
58 /*@{*/ | 58 /*@{*/ |
59 | 59 |
60 /** | 60 /** |
61 * Returns the prefs subsystem handle. | |
62 * | |
63 * @return The prefs subsystem handle. | |
64 */ | |
65 void *gaim_prefs_get_handle(void); | |
66 | |
67 /** | |
61 * Initialize core prefs | 68 * Initialize core prefs |
62 */ | 69 */ |
63 void gaim_prefs_init(); | 70 void gaim_prefs_init(); |
64 | 71 |
65 /** | 72 /** |
245 | 252 |
246 /** | 253 /** |
247 * Read preferences | 254 * Read preferences |
248 */ | 255 */ |
249 gboolean gaim_prefs_load(); | 256 gboolean gaim_prefs_load(); |
250 | |
251 /** | |
252 * Force an immediate write of preferences | |
253 */ | |
254 void gaim_prefs_sync(); | |
255 | 257 |
256 /** | 258 /** |
257 * Rename legacy prefs and delete some that no longer exist. | 259 * Rename legacy prefs and delete some that no longer exist. |
258 */ | 260 */ |
259 void gaim_prefs_update_old(); | 261 void gaim_prefs_update_old(); |