comparison libpurple/blist.h @ 32050:38ce2e217fcb

purple_buddy_get_local_alias() has been deprecated since 2.6.0, and can be removed for 3.0.0.
author andrew.victor@mxit.com
date Mon, 05 Sep 2011 20:08:59 +0000
parents 821942586292
children 02a2e8183b1d
comparison
equal deleted inserted replaced
32049:821942586292 32050:38ce2e217fcb
850 * @return The appropriate name or alias, or NULL. 850 * @return The appropriate name or alias, or NULL.
851 * 851 *
852 */ 852 */
853 const char *purple_buddy_get_contact_alias(PurpleBuddy *buddy); 853 const char *purple_buddy_get_contact_alias(PurpleBuddy *buddy);
854 854
855 #if !(defined PURPLE_DISABLE_DEPRECATED) || (defined _PURPLE_BLIST_C_)
856 /**
857 * Returns the correct alias for this user, ignoring server aliases. Used
858 * when a user-recognizable name is required. In order: buddy's alias; buddy's
859 * contact alias; buddy's user name.
860 *
861 * @param buddy The buddy whose alias will be returned.
862 * @return The appropriate name or alias.
863 * @deprecated Try purple_buddy_get_alias(), if server aliases are okay.
864 */
865 const char *purple_buddy_get_local_alias(PurpleBuddy *buddy);
866 #endif
867
868 /** 855 /**
869 * Returns the correct name to display for a buddy. In order of precedence: 856 * Returns the correct name to display for a buddy. In order of precedence:
870 * the buddy's alias; the buddy's server alias; the buddy's contact alias; 857 * the buddy's alias; the buddy's server alias; the buddy's contact alias;
871 * the buddy's user name. 858 * the buddy's user name.
872 * 859 *