comparison libpurple/blist.h @ 25801:178efff39041

Deprecate the unused purple_buddy_get_local_alias() function.
author Richard Laager <rlaager@wiktel.com>
date Fri, 31 Oct 2008 17:49:04 +0000
parents 8b7ae3775a0b
children 8aa7d8bcbc7d
comparison
equal deleted inserted replaced
25800:8b7ae3775a0b 25801:178efff39041
683 * @return The appropriate name or alias, or NULL. 683 * @return The appropriate name or alias, or NULL.
684 * 684 *
685 */ 685 */
686 const char *purple_buddy_get_contact_alias(PurpleBuddy *buddy); 686 const char *purple_buddy_get_contact_alias(PurpleBuddy *buddy);
687 687
688 #if !(defined PURPLE_DISABLE_DEPRECATED) || (defined _PURPLE_BLIST_C_)
688 /** 689 /**
689 * Returns the correct alias for this user, ignoring server aliases. Used 690 * Returns the correct alias for this user, ignoring server aliases. Used
690 * when a user-recognizable name is required. In order: buddy's alias; buddy's 691 * when a user-recognizable name is required. In order: buddy's alias; buddy's
691 * contact alias; buddy's user name. 692 * contact alias; buddy's user name.
692 * 693 *
693 * @param buddy The buddy whose alias will be returned. 694 * @param buddy The buddy whose alias will be returned.
694 * @return The appropriate name or alias. 695 * @return The appropriate name or alias.
696 * @deprecated Try purple_buddy_get_alias(), if server aliases are okay.
695 */ 697 */
696 const char *purple_buddy_get_local_alias(PurpleBuddy *buddy); 698 const char *purple_buddy_get_local_alias(PurpleBuddy *buddy);
699 #endif
697 700
698 /** 701 /**
699 * Returns the correct name to display for a buddy. In order of precedence: 702 * Returns the correct name to display for a buddy. In order of precedence:
700 * the buddy's alias; the buddy's server alias; the buddy's contact alias; 703 * the buddy's alias; the buddy's server alias; the buddy's contact alias;
701 * the buddy's user name. 704 * the buddy's user name.