Mercurial > pidgin
comparison src/pounce.h @ 5866:d6b5cab288bb
[gaim-migrate @ 6297]
Pounces are now imported and saved to disk. However, they are not yet
loaded. I'll get to that tomorrow (later today? awwww!)
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 14 Jun 2003 11:55:15 +0000 |
parents | 417b1001d2b1 |
children | 448f2f4ca3ec |
comparison
equal
deleted
inserted
replaced
5865:412c5a0f9ef1 | 5866:d6b5cab288bb |
---|---|
22 */ | 22 */ |
23 #ifndef _GAIM_POUNCE_H_ | 23 #ifndef _GAIM_POUNCE_H_ |
24 #define _GAIM_POUNCE_H_ | 24 #define _GAIM_POUNCE_H_ |
25 | 25 |
26 typedef struct _GaimPounce GaimPounce; | 26 typedef struct _GaimPounce GaimPounce; |
27 | |
28 #include <glib.h> | |
29 #include "account.h" | |
27 | 30 |
28 /** | 31 /** |
29 * Events that trigger buddy pounces. | 32 * Events that trigger buddy pounces. |
30 */ | 33 */ |
31 typedef enum | 34 typedef enum |
259 */ | 262 */ |
260 GaimPounce *gaim_find_pounce(const GaimAccount *pouncer, | 263 GaimPounce *gaim_find_pounce(const GaimAccount *pouncer, |
261 const char *pouncee, GaimPounceEvent events); | 264 const char *pouncee, GaimPounceEvent events); |
262 | 265 |
263 /** | 266 /** |
267 * Loads the pounces. | |
268 */ | |
269 gboolean gaim_pounces_load(void); | |
270 | |
271 /** | |
272 * Force an immediate write of pounces. | |
273 */ | |
274 void gaim_pounces_sync(void); | |
275 | |
276 /** | |
264 * Returns a list of all registered buddy pounces. | 277 * Returns a list of all registered buddy pounces. |
265 * | 278 * |
266 * @return The list of buddy pounces. | 279 * @return The list of buddy pounces. |
267 */ | 280 */ |
268 GList *gaim_get_pounces(void); | 281 GList *gaim_pounces_get_all(void); |
269 | 282 |
270 #endif /* _GAIM_POUNCE_H_ */ | 283 #endif /* _GAIM_POUNCE_H_ */ |