comparison libpurple/imgstore.h @ 32819:2c6510167895 default tip

propagate from branch 'im.pidgin.pidgin.2.x.y' (head 3315c5dfbd0ad16511bdcf865e5b07c02d07df24) to branch 'im.pidgin.pidgin' (head cbd1eda6bcbf0565ae7766396bb8f6f419cb6a9a)
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 02 Jun 2012 02:30:49 +0000
parents 98520ee78f12
children
comparison
equal deleted inserted replaced
32818:01ff09d4a463 32819:2c6510167895
32 /** A reference-counted immutable wrapper around an image's data and its 32 /** A reference-counted immutable wrapper around an image's data and its
33 * filename. 33 * filename.
34 */ 34 */
35 typedef struct _PurpleStoredImage PurpleStoredImage; 35 typedef struct _PurpleStoredImage PurpleStoredImage;
36 36
37 #ifdef __cplusplus 37 G_BEGIN_DECLS
38 extern "C" {
39 #endif
40 38
41 /** 39 /**
42 * Add an image to the store. 40 * Add an image to the store.
43 * 41 *
44 * The caller owns a reference to the image in the store, and must dereference 42 * The caller owns a reference to the image in the store, and must dereference
66 * Create an image and add it to the store. 64 * Create an image and add it to the store.
67 * 65 *
68 * @param path The path to the image. 66 * @param path The path to the image.
69 * 67 *
70 * @return The stored image. 68 * @return The stored image.
71 * @since 2.X.X
72 */ 69 */
73 PurpleStoredImage * 70 PurpleStoredImage *
74 purple_imgstore_new_from_file(const char *path); 71 purple_imgstore_new_from_file(const char *path);
75 72
76 /** 73 /**
205 /** 202 /**
206 * Uninitializes the image store subsystem. 203 * Uninitializes the image store subsystem.
207 */ 204 */
208 void purple_imgstore_uninit(void); 205 void purple_imgstore_uninit(void);
209 206
210 #ifdef __cplusplus 207 G_END_DECLS
211 }
212 #endif
213 208
214 #endif /* _PURPLE_IMGSTORE_H_ */ 209 #endif /* _PURPLE_IMGSTORE_H_ */