comparison libpurple/prpl.h @ 25924:584063555949

Remove trailing whitespace
author Mark Doliner <mark@kingant.net>
date Mon, 26 Jan 2009 06:44:00 +0000
parents 9216da5184a2
children 6e1967b0f90b
comparison
equal deleted inserted replaced
25923:7fc110f70662 25924:584063555949
209 209
210 PurpleBuddyIconSpec icon_spec; /**< The icon spec. */ 210 PurpleBuddyIconSpec icon_spec; /**< The icon spec. */
211 211
212 /** 212 /**
213 * Returns the base icon name for the given buddy and account. 213 * Returns the base icon name for the given buddy and account.
214 * If buddy is NULL and the account is non-NULL, it will return the 214 * If buddy is NULL and the account is non-NULL, it will return the
215 * name to use for the account's icon. If both are NULL, it will 215 * name to use for the account's icon. If both are NULL, it will
216 * return the name to use for the protocol's icon. 216 * return the name to use for the protocol's icon.
217 * 217 *
218 * This must be implemented. 218 * This must be implemented.
219 */ 219 */
411 */ 411 */
412 /* This is here rather than next to register_user for API compatibility 412 /* This is here rather than next to register_user for API compatibility
413 * reasons. 413 * reasons.
414 */ 414 */
415 void (*unregister_user)(PurpleAccount *, PurpleAccountUnregistrationCb cb, void *user_data); 415 void (*unregister_user)(PurpleAccount *, PurpleAccountUnregistrationCb cb, void *user_data);
416 416
417 /* Attention API for sending & receiving zaps/nudges/buzzes etc. */ 417 /* Attention API for sending & receiving zaps/nudges/buzzes etc. */
418 gboolean (*send_attention)(PurpleConnection *gc, const char *username, guint type); 418 gboolean (*send_attention)(PurpleConnection *gc, const char *username, guint type);
419 GList *(*get_attention_types)(PurpleAccount *acct); 419 GList *(*get_attention_types)(PurpleAccount *acct);
420 420
421 /** 421 /**
678 * @param name The screen name of the user. 678 * @param name The screen name of the user.
679 * @param status_id The status ID. 679 * @param status_id The status ID.
680 */ 680 */
681 void purple_prpl_got_user_status_deactive(PurpleAccount *account, const char *name, 681 void purple_prpl_got_user_status_deactive(PurpleAccount *account, const char *name,
682 const char *status_id); 682 const char *status_id);
683 683
684 /** 684 /**
685 * Informs the server that an account's status changed. 685 * Informs the server that an account's status changed.
686 * 686 *
687 * @param account The account the user is on. 687 * @param account The account the user is on.
688 * @param old_status The previous status. 688 * @param old_status The previous status.
715 * only a fixed set of attention commands. 715 * only a fixed set of attention commands.
716 * @since 2.5.0 716 * @since 2.5.0
717 */ 717 */
718 void purple_prpl_send_attention(PurpleConnection *gc, const char *who, guint type_code); 718 void purple_prpl_send_attention(PurpleConnection *gc, const char *who, guint type_code);
719 719
720 /** Process an incoming attention message. 720 /** Process an incoming attention message.
721 * 721 *
722 * @param gc The connection that received the attention message. 722 * @param gc The connection that received the attention message.
723 * @param who Who requested your attention. 723 * @param who Who requested your attention.
724 * @param type_code An index into the prpl's attention_types list determining the type 724 * @param type_code An index into the prpl's attention_types list determining the type
725 * of the attention request command to send. 725 * of the attention request command to send.
726 * @since 2.5.0 726 * @since 2.5.0
727 */ 727 */
728 void purple_prpl_got_attention(PurpleConnection *gc, const char *who, guint type_code); 728 void purple_prpl_got_attention(PurpleConnection *gc, const char *who, guint type_code);
729 729
730 /** Process an incoming attention message in a chat. 730 /** Process an incoming attention message in a chat.
731 * 731 *
732 * @param gc The connection that received the attention message. 732 * @param gc The connection that received the attention message.
733 * @param id The chat id. 733 * @param id The chat id.
734 * @param who Who requested your attention. 734 * @param who Who requested your attention.
735 * @param type_code An index into the prpl's attention_types list determining the type 735 * @param type_code An index into the prpl's attention_types list determining the type
736 * of the attention request command to send. 736 * of the attention request command to send.
737 * @since 2.5.0 737 * @since 2.5.0
738 */ 738 */
739 void purple_prpl_got_attention_in_chat(PurpleConnection *gc, int id, const char *who, guint type_code); 739 void purple_prpl_got_attention_in_chat(PurpleConnection *gc, int id, const char *who, guint type_code);
740 740
741 /*@}*/ 741 /*@}*/