comparison src/pounce.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 448f2f4ca3ec
children 41120df7ed94
comparison
equal deleted inserted replaced
5943:a4f2aba0848d 5944:158196b2db19
70 gboolean save; /**< Whether or not the pounce should 70 gboolean save; /**< Whether or not the pounce should
71 be saved after activation. */ 71 be saved after activation. */
72 void *data; /**< Pounce-specific data. */ 72 void *data; /**< Pounce-specific data. */
73 }; 73 };
74 74
75 #ifdef __cplusplus
76 extern "C" {
77 #endif
78
79 /**************************************************************************/
80 /** @name Buddy Pounce API */
81 /**************************************************************************/
82 /*@{*/
83
75 /** 84 /**
76 * Creates a new buddy pounce. 85 * Creates a new buddy pounce.
77 * 86 *
78 * @param ui_type The type of UI the pounce is for. 87 * @param ui_type The type of UI the pounce is for.
79 * @param pouncer The account that will pounce. 88 * @param pouncer The account that will pounce.
241 * @param events The events that triggered the pounce. 250 * @param events The events that triggered the pounce.
242 */ 251 */
243 void gaim_pounce_execute(const GaimAccount *pouncer, const char *pouncee, 252 void gaim_pounce_execute(const GaimAccount *pouncer, const char *pouncee,
244 GaimPounceEvent events); 253 GaimPounceEvent events);
245 254
255 /*@}*/
256
257 /**************************************************************************/
258 /** @name Buddy Pounces API */
259 /**************************************************************************/
260 /*@{*/
261
246 /** 262 /**
247 * Finds a pounce with the specified event(s) and buddy. 263 * Finds a pounce with the specified event(s) and buddy.
248 * 264 *
249 * @param pouncer The account to match against. 265 * @param pouncer The account to match against.
250 * @param buddy The buddy to match against. 266 * @param buddy The buddy to match against.
261 */ 277 */
262 void gaim_pounces_init(void); 278 void gaim_pounces_init(void);
263 279
264 /** 280 /**
265 * Loads the pounces. 281 * Loads the pounces.
282 *
283 * @return @c TRUE if the pounces could be loaded.
266 */ 284 */
267 gboolean gaim_pounces_load(void); 285 gboolean gaim_pounces_load(void);
268 286
269 /** 287 /**
270 * Force an immediate write of pounces. 288 * Force an immediate write of pounces.
295 * 313 *
296 * @return The list of buddy pounces. 314 * @return The list of buddy pounces.
297 */ 315 */
298 GList *gaim_pounces_get_all(void); 316 GList *gaim_pounces_get_all(void);
299 317
318 /*@}*/
319
320 #ifdef __cplusplus
321 }
322 #endif
323
300 #endif /* _GAIM_POUNCE_H_ */ 324 #endif /* _GAIM_POUNCE_H_ */