diff 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
line wrap: on
line diff
--- a/src/request.h	Sun Dec 21 08:57:56 2003 +0000
+++ b/src/request.h	Sun Dec 21 09:04:43 2003 +0000
@@ -49,7 +49,8 @@
 	GAIM_REQUEST_FIELD_INTEGER,
 	GAIM_REQUEST_FIELD_BOOLEAN,
 	GAIM_REQUEST_FIELD_CHOICE,
-	GAIM_REQUEST_FIELD_LIST
+	GAIM_REQUEST_FIELD_LIST,
+	GAIM_REQUEST_FIELD_LABEL
 
 } GaimRequestFieldType;
 
@@ -797,6 +798,23 @@
 
 /*@}*/
 
+/**************************************************************************/
+/** @name Label Field API                                                 */
+/**************************************************************************/
+/*@{*/
+
+/**
+ * Creates a label field.
+ *
+ * @param id   The field ID.
+ * @param text The optional label of the field.
+ *
+ * @return The new field.
+ */
+GaimRequestField *gaim_request_field_label_new(const char *id,
+											   const char *text);
+
+/*@}*/
 
 /**************************************************************************/
 /** @name Request API                                                     */