comparison libpurple/prpl.h @ 19463:3f6f84d11ce2

Change serv_send_attention() to call prpl_info->send_attention(), and other minor improvements. Update msimprpl with attention changes.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Mon, 27 Aug 2007 05:37:40 +0000
parents 1b5e786d137a
children 472bcd9d502e 44b4e8bd759b 315151da0dc6
comparison
equal deleted inserted replaced
19462:105305518622 19463:3f6f84d11ce2
346 346
347 /* room list serialize */ 347 /* room list serialize */
348 char *(*roomlist_room_serialize)(PurpleRoomlistRoom *room); 348 char *(*roomlist_room_serialize)(PurpleRoomlistRoom *room);
349 349
350 /* Attention API for sending & receiving zaps/nudges/buzzes etc. */ 350 /* Attention API for sending & receiving zaps/nudges/buzzes etc. */
351 gboolean (*send_attention)(PurpleConnection *gc, 351 gboolean (*send_attention)(PurpleConnection *gc, const char *username, guint type);
352 const char *username, guint type);
353 GList *(*attention_types)(PurpleAccount *acct); 352 GList *(*attention_types)(PurpleAccount *acct);
353
354 void (*_purple_reserved3)(void); 354 void (*_purple_reserved3)(void);
355 void (*_purple_reserved4)(void); 355 void (*_purple_reserved4)(void);
356 }; 356 };
357 357
358 #define PURPLE_IS_PROTOCOL_PLUGIN(plugin) \ 358 #define PURPLE_IS_PROTOCOL_PLUGIN(plugin) \