libpurple/protocols/msn/object.h

branch
custom_smiley
changeset 22653
bed3d8152a58
parent 19859
71d37b57eff2
child 29305
202cb72ed5b0
--- 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.

mercurial