Mercurial > pidgin
comparison libpurple/request.h @ 19114:6de2e9ba0930
merge of '2970edca111b3535ae0703e3c866ad1c3b87df94'
and 'a2b508e8680ac3f20965226a5dd83f7e2a3b15bb'
author | Eric Polino <aluink@pidgin.im> |
---|---|
date | Sun, 24 Jun 2007 02:56:09 +0000 |
parents | 72906c5ac037 |
children | cc36a5aac908 9a31c183b470 |
comparison
equal
deleted
inserted
replaced
19102:7f26e5b98b15 | 19114:6de2e9ba0930 |
---|---|
283 /** | 283 /** |
284 * Returns a list of all required fields. | 284 * Returns a list of all required fields. |
285 * | 285 * |
286 * @param fields The fields list. | 286 * @param fields The fields list. |
287 * | 287 * |
288 * @return The list of required fields. | 288 * @constreturn The list of required fields. |
289 */ | 289 */ |
290 const GList *purple_request_fields_get_required(const PurpleRequestFields *fields); | 290 GList *purple_request_fields_get_required(const PurpleRequestFields *fields); |
291 | 291 |
292 /** | 292 /** |
293 * Returns whether or not a field with the specified ID is required. | 293 * Returns whether or not a field with the specified ID is required. |
294 * | 294 * |
295 * @param fields The fields list. | 295 * @param fields The fields list. |
915 | 915 |
916 /** | 916 /** |
917 * Sets a list of selected items in a list field. | 917 * Sets a list of selected items in a list field. |
918 * | 918 * |
919 * @param field The field. | 919 * @param field The field. |
920 * @param items The list of selected items. | 920 * @param items The list of selected items, which is not modified or freed. |
921 */ | 921 */ |
922 void purple_request_field_list_set_selected(PurpleRequestField *field, | 922 void purple_request_field_list_set_selected(PurpleRequestField *field, |
923 const GList *items); | 923 GList *items); |
924 | 924 |
925 /** | 925 /** |
926 * Returns whether or not a particular item is selected in a list field. | 926 * Returns whether or not a particular item is selected in a list field. |
927 * | 927 * |
928 * @param field The field. | 928 * @param field The field. |
939 * To retrieve the data for each item, use | 939 * To retrieve the data for each item, use |
940 * purple_request_field_list_get_data(). | 940 * purple_request_field_list_get_data(). |
941 * | 941 * |
942 * @param field The field. | 942 * @param field The field. |
943 * | 943 * |
944 * @return The list of selected items. | 944 * @constreturn The list of selected items. |
945 */ | 945 */ |
946 const GList *purple_request_field_list_get_selected( | 946 GList *purple_request_field_list_get_selected( |
947 const PurpleRequestField *field); | 947 const PurpleRequestField *field); |
948 | 948 |
949 /** | 949 /** |
950 * Returns a list of items in a list field. | 950 * Returns a list of items in a list field. |
951 * | 951 * |
952 * @param field The field. | 952 * @param field The field. |
953 * | 953 * |
954 * @return The list of items. | 954 * @constreturn The list of items. |
955 */ | 955 */ |
956 const GList *purple_request_field_list_get_items(const PurpleRequestField *field); | 956 GList *purple_request_field_list_get_items(const PurpleRequestField *field); |
957 | 957 |
958 /*@}*/ | 958 /*@}*/ |
959 | 959 |
960 /**************************************************************************/ | 960 /**************************************************************************/ |
961 /** @name Label Field API */ | 961 /** @name Label Field API */ |
1226 const char *primary, const char *secondary, | 1226 const char *primary, const char *secondary, |
1227 unsigned int default_value, | 1227 unsigned int default_value, |
1228 const char *ok_text, GCallback ok_cb, | 1228 const char *ok_text, GCallback ok_cb, |
1229 const char *cancel_text, GCallback cancel_cb, | 1229 const char *cancel_text, GCallback cancel_cb, |
1230 PurpleAccount *account, const char *who, PurpleConversation *conv, | 1230 PurpleAccount *account, const char *who, PurpleConversation *conv, |
1231 void *user_data, ...); | 1231 void *user_data, ...) G_GNUC_NULL_TERMINATED; |
1232 | 1232 |
1233 /** | 1233 /** |
1234 * Prompts the user for multiple-choice input. | 1234 * Prompts the user for multiple-choice input. |
1235 * | 1235 * |
1236 * @param handle The plugin or connection handle. For some | 1236 * @param handle The plugin or connection handle. For some |