Mercurial > pidgin.yaz
diff libpurple/blist.h @ 29727:4055d0f7f1ea
added some api for the media caps member of PurpleBuddy
author | Gary Kramlich <grim@reaperworld.com> |
---|---|
date | Fri, 11 Dec 2009 00:54:46 +0000 |
parents | 33715feb7b8d |
children | e26af064fe8c |
line wrap: on
line diff
--- a/libpurple/blist.h Fri Dec 11 00:45:48 2009 +0000 +++ b/libpurple/blist.h Fri Dec 11 00:54:46 2009 +0000 @@ -659,6 +659,24 @@ PurplePresence *purple_buddy_get_presence(const PurpleBuddy *buddy); /** + * Gets the media caps from a buddy. + * + * @param buddy The buddy. + * @return The media caps. + * + * @since 2.7.0 + */ +PurpleMediaCaps purple_buddy_get_media_caps(const PurpleBuddy *buddy); + +/** + * Sets the media caps for a buddy. + * + * @param buddy The PurpleBuddy. + * @param media_caps The PurpleMediaCaps. + */ +void purple_buddy_set_media_caps(PurpleBuddy *buddy, PurpleMediaCaps media_caps); + +/** * Adds a new buddy to the buddy list. * * The buddy will be inserted right after node or prepended to the