Mercurial > pidgin
diff libpurple/protocols/msn/object.h @ 22512:b65997110933
The patch to msn to allow sending custom smileys. Doesn't send all the custom smileys correctly at the moment. References #1187.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 07 Mar 2008 23:19:47 +0000 |
parents | 44b4e8bd759b |
children | 462cb893521b |
line wrap: on
line diff
--- a/libpurple/protocols/msn/object.h Fri Mar 07 23:14:23 2008 +0000 +++ b/libpurple/protocols/msn/object.h Fri Mar 07 23:19:47 2008 +0000 @@ -71,6 +71,19 @@ MsnObject *msn_object_new_from_string(const char *str); /** + * Creates a MsnObject structure from a stored image + * + * @param img The image associated to object + * @param location The object location as stored in MsnObject + * @param creator The creator of the object + * @param type The type of the object + * + * @return A new MsnObject structure + */ +MsnObject *msn_object_new_from_image(PurpleStoredImage *img, + const char *location, const char *creator, MsnObjectType type); + +/** * Destroys an MsnObject structure. * * @param obj The object structure.