comparison libpurple/whiteboard.h @ 32000:cea77667da7d

Added protocol_data and ui_data accessor functions for Whiteboard.
author andrew.victor@mxit.com
date Tue, 30 Aug 2011 20:43:52 +0000
parents 6bf32c9e15a7
children 2bf260b86086
comparison
equal deleted inserted replaced
31999:3899615cef8a 32000:cea77667da7d
251 * @param size The size of the brush 251 * @param size The size of the brush
252 * @param color The color of the brush 252 * @param color The color of the brush
253 */ 253 */
254 void purple_whiteboard_set_brush(PurpleWhiteboard *wb, int size, int color); 254 void purple_whiteboard_set_brush(PurpleWhiteboard *wb, int size, int color);
255 255
256 /**
257 * Sets the protocol data for a whiteboard.
258 *
259 * @param wb The whiteboard.
260 * @param protocol_data The protocol data to set for the whiteboard.
261 */
262 void purple_whiteboard_set_protocol_data(PurpleWhiteboard *wb, gpointer proto_data);
263
264 /**
265 * Gets the protocol data for a whiteboard.
266 *
267 * @param wb The whiteboard.
268 *
269 * @return The protocol data for the whiteboard.
270 */
271 gpointer purple_whiteboard_get_protocol_data(const PurpleWhiteboard *wb);
272
273 /**
274 * Set the UI data associated with this whiteboard.
275 *
276 * @param wb The whiteboard.
277 * @param ui_data A pointer to associate with this whiteboard.
278 */
279 void purple_whiteboard_set_ui_data(PurpleWhiteboard *wb, gpointer ui_data);
280
281 /**
282 * Get the UI data associated with this whiteboard.
283 *
284 * @param wb The whiteboard..
285 *
286 * @return The UI data associated with this whiteboard. This is a
287 * convenience field provided to the UIs--it is not
288 * used by the libpurple core.
289 */
290 gpointer purple_whiteboard_get_ui_data(const PurpleWhiteboard *wb);
291
256 /*@}*/ 292 /*@}*/
257 293
258 #ifdef __cplusplus 294 #ifdef __cplusplus
259 } 295 }
260 #endif /* __cplusplus */ 296 #endif /* __cplusplus */