| 91 typedef enum |
91 typedef enum |
| 92 { |
92 { |
| 93 PURPLE_REQUEST_FEATURE_HTML = 0x00000001 |
93 PURPLE_REQUEST_FEATURE_HTML = 0x00000001 |
| 94 } PurpleRequestFeature; |
94 } PurpleRequestFeature; |
| 95 |
95 |
| |
96 typedef enum |
| |
97 { |
| |
98 PURPLE_REQUEST_ICON_REQUEST = 0, |
| |
99 PURPLE_REQUEST_ICON_DIALOG, |
| |
100 PURPLE_REQUEST_ICON_INFO, |
| |
101 PURPLE_REQUEST_ICON_WARNING, |
| |
102 PURPLE_REQUEST_ICON_ERROR |
| |
103 } PurpleRequestIconType; |
| |
104 |
| 96 /** |
105 /** |
| 97 * Request UI operations. |
106 * Request UI operations. |
| 98 */ |
107 */ |
| 99 typedef struct |
108 typedef struct |
| 100 { |
109 { |
| 258 * |
267 * |
| 259 * @return The associated #PurpleConversation, or NULL if none is. |
268 * @return The associated #PurpleConversation, or NULL if none is. |
| 260 */ |
269 */ |
| 261 PurpleConversation * |
270 PurpleConversation * |
| 262 purple_request_cpar_get_conversation(PurpleRequestCommonParameters *cpar); |
271 purple_request_cpar_get_conversation(PurpleRequestCommonParameters *cpar); |
| |
272 |
| |
273 /** |
| |
274 * Sets the icon associated with the request. |
| |
275 * |
| |
276 * @param cpar The parameters set. |
| |
277 * @param icon_type The icon type. |
| |
278 */ |
| |
279 void |
| |
280 purple_request_cpar_set_icon(PurpleRequestCommonParameters *cpar, |
| |
281 PurpleRequestIconType icon_type); |
| |
282 |
| |
283 /** |
| |
284 * Gets the icon associated with the request. |
| |
285 * |
| |
286 * @param cpar The parameters set. |
| |
287 * |
| |
288 * @returns icon_type The icon type. |
| |
289 */ |
| |
290 PurpleRequestIconType |
| |
291 purple_request_cpar_get_icon(PurpleRequestCommonParameters *cpar); |
| 263 |
292 |
| 264 /** |
293 /** |
| 265 * Sets the custom icon associated with the request. |
294 * Sets the custom icon associated with the request. |
| 266 * |
295 * |
| 267 * @param cpar The parameters set. |
296 * @param cpar The parameters set. |