comparison src/request.h @ 7905:1d0bc32f8038

[gaim-migrate @ 8565] This should be sufficient for a working label field type. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 21 Dec 2003 09:04:43 +0000
parents 9b478c6e0bfa
children 5be22af4ebfc
comparison
equal deleted inserted replaced
7904:9b478c6e0bfa 7905:1d0bc32f8038
47 GAIM_REQUEST_FIELD_NONE, 47 GAIM_REQUEST_FIELD_NONE,
48 GAIM_REQUEST_FIELD_STRING, 48 GAIM_REQUEST_FIELD_STRING,
49 GAIM_REQUEST_FIELD_INTEGER, 49 GAIM_REQUEST_FIELD_INTEGER,
50 GAIM_REQUEST_FIELD_BOOLEAN, 50 GAIM_REQUEST_FIELD_BOOLEAN,
51 GAIM_REQUEST_FIELD_CHOICE, 51 GAIM_REQUEST_FIELD_CHOICE,
52 GAIM_REQUEST_FIELD_LIST 52 GAIM_REQUEST_FIELD_LIST,
53 GAIM_REQUEST_FIELD_LABEL
53 54
54 } GaimRequestFieldType; 55 } GaimRequestFieldType;
55 56
56 /** 57 /**
57 * A request field. 58 * A request field.
795 */ 796 */
796 const GList *gaim_request_field_list_get_items(const GaimRequestField *field); 797 const GList *gaim_request_field_list_get_items(const GaimRequestField *field);
797 798
798 /*@}*/ 799 /*@}*/
799 800
801 /**************************************************************************/
802 /** @name Label Field API */
803 /**************************************************************************/
804 /*@{*/
805
806 /**
807 * Creates a label field.
808 *
809 * @param id The field ID.
810 * @param text The optional label of the field.
811 *
812 * @return The new field.
813 */
814 GaimRequestField *gaim_request_field_label_new(const char *id,
815 const char *text);
816
817 /*@}*/
800 818
801 /**************************************************************************/ 819 /**************************************************************************/
802 /** @name Request API */ 820 /** @name Request API */
803 /**************************************************************************/ 821 /**************************************************************************/
804 /*@{*/ 822 /*@{*/