Mercurial > pidgin
comparison libpurple/protocols/msn/object.h @ 30877:23be655cc688
propagate from branch 'im.pidgin.cpw.qulogic.msnp16' (head a27b68b2e6653e6b96aa0279bd649181c89b20ed)
to branch 'im.pidgin.soc.2010.msn-tlc' (head 20ad1c813e2b512df4a065dda88f3cfa732463a3)
author | masca@cpw.pidgin.im |
---|---|
date | Wed, 15 Sep 2010 17:34:21 +0000 |
parents | 4445ae4215b8 76049fde7ad2 |
children | 60d879806964 |
comparison
equal
deleted
inserted
replaced
30873:4b1eecab50e8 | 30877:23be655cc688 |
---|---|
48 PurpleStoredImage *img; | 48 PurpleStoredImage *img; |
49 char *location; | 49 char *location; |
50 char *friendly; | 50 char *friendly; |
51 char *sha1d; | 51 char *sha1d; |
52 char *sha1c; | 52 char *sha1c; |
53 char *url; | |
54 char *url1; | |
53 } MsnObject; | 55 } MsnObject; |
54 | 56 |
55 /** | 57 /** |
56 * Creates a MsnObject structure. | 58 * Creates a MsnObject structure. |
57 * | 59 * |
153 * @param img The image to associate. | 155 * @param img The image to associate. |
154 */ | 156 */ |
155 void msn_object_set_image(MsnObject *obj, PurpleStoredImage *img); | 157 void msn_object_set_image(MsnObject *obj, PurpleStoredImage *img); |
156 | 158 |
157 /** | 159 /** |
160 * Sets the url field in a MsnObject. | |
161 * | |
162 * @param url The url value. | |
163 */ | |
164 void msn_object_set_url(MsnObject *obj, const char *url); | |
165 | |
166 /** | |
167 * Sets the url1 field in a MsnObject. | |
168 * | |
169 * @param url1 The url1 value. | |
170 */ | |
171 void msn_object_set_url1(MsnObject *obj, const char *url); | |
172 | |
173 /** | |
158 * Returns a MsnObject's creator value. | 174 * Returns a MsnObject's creator value. |
159 * | 175 * |
160 * @param obj The object. | 176 * @param obj The object. |
161 * | 177 * |
162 * @return The creator value. | 178 * @return The creator value. |
233 * | 249 * |
234 * @return The associated image. | 250 * @return The associated image. |
235 */ | 251 */ |
236 PurpleStoredImage *msn_object_get_image(const MsnObject *obj); | 252 PurpleStoredImage *msn_object_get_image(const MsnObject *obj); |
237 | 253 |
254 /** | |
255 * Returns a MsnObject's url value. | |
256 * | |
257 * @param obj The object. | |
258 * | |
259 * @return The url value. | |
260 */ | |
261 const char *msn_object_get_url(const MsnObject *obj); | |
262 | |
263 /** | |
264 * Returns a MsnObject's url1 value. | |
265 * | |
266 * @param obj The object. | |
267 * | |
268 * @return The url1 value. | |
269 */ | |
270 const char *msn_object_get_url1(const MsnObject *obj); | |
271 | |
238 MsnObject * msn_object_find_local(const char *sha1); | 272 MsnObject * msn_object_find_local(const char *sha1); |
239 | 273 |
240 void msn_object_set_local(MsnObject *obj); | 274 void msn_object_set_local(MsnObject *obj); |
241 | 275 |
242 #endif /* MSN_OBJECT_H */ | 276 #endif /* MSN_OBJECT_H */ |