Mercurial > pidgin.yaz
comparison src/prefs.h @ 5944:158196b2db19
[gaim-migrate @ 6385]
Added #ifdef __cplusplus lines so that things will link right with C++.
Also added some doxygen comment blocks that didn't previously exist.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Mon, 23 Jun 2003 06:40:13 +0000 |
parents | b61520e71679 |
children | 4bc050b1af34 |
comparison
equal
deleted
inserted
replaced
5943:a4f2aba0848d | 5944:158196b2db19 |
---|---|
34 GAIM_PREF_NONE, | 34 GAIM_PREF_NONE, |
35 GAIM_PREF_BOOLEAN, | 35 GAIM_PREF_BOOLEAN, |
36 GAIM_PREF_INT, | 36 GAIM_PREF_INT, |
37 GAIM_PREF_STRING, | 37 GAIM_PREF_STRING, |
38 GAIM_PREF_STRING_LIST | 38 GAIM_PREF_STRING_LIST |
39 | |
39 } GaimPrefType; | 40 } GaimPrefType; |
40 | 41 |
41 /** | 42 /** |
42 * Pref change callback type | 43 * Pref change callback type |
43 */ | 44 */ |
44 | 45 |
45 typedef void (*GaimPrefCallback) (const char *name, GaimPrefType type, | 46 typedef void (*GaimPrefCallback) (const char *name, GaimPrefType type, |
46 gpointer val, gpointer data); | 47 gpointer val, gpointer data); |
48 | |
49 #ifdef __cplusplus | |
50 extern "C" { | |
51 #endif | |
47 | 52 |
48 /**************************************************************************/ | 53 /**************************************************************************/ |
49 /** @name Prefs API */ | 54 /** @name Prefs API */ |
50 /**************************************************************************/ | 55 /**************************************************************************/ |
51 /*@{*/ | 56 /*@{*/ |
204 */ | 209 */ |
205 void gaim_prefs_sync(); | 210 void gaim_prefs_sync(); |
206 | 211 |
207 /*@}*/ | 212 /*@}*/ |
208 | 213 |
214 #ifdef __cplusplus | |
215 } | |
216 #endif | |
217 | |
209 #endif /* _PREFS_H_ */ | 218 #endif /* _PREFS_H_ */ |