src/request.h

changeset 8697
c5e51aef2026
parent 8395
c78dac49d584
child 8699
0b894347c40d
equal deleted inserted replaced
8696:98e5cda1e289 8697:c5e51aef2026
169 */ 169 */
170 typedef struct 170 typedef struct
171 { 171 {
172 void *(*request_input)(const char *title, const char *primary, 172 void *(*request_input)(const char *title, const char *primary,
173 const char *secondary, const char *default_value, 173 const char *secondary, const char *default_value,
174 gboolean multiline, gboolean masked, 174 gboolean multiline, gboolean masked, gchar *hint,
175 const char *ok_text, GCallback ok_cb, 175 const char *ok_text, GCallback ok_cb,
176 const char *cancel_text, GCallback cancel_cb, 176 const char *cancel_text, GCallback cancel_cb,
177 void *user_data); 177 void *user_data);
178 void *(*request_choice)(const char *title, const char *primary, 178 void *(*request_choice)(const char *title, const char *primary,
179 const char *secondary, unsigned int default_value, 179 const char *secondary, unsigned int default_value,
1068 * @param primary The main point of the message. 1068 * @param primary The main point of the message.
1069 * @param secondary The secondary information. 1069 * @param secondary The secondary information.
1070 * @param default_value The default value. 1070 * @param default_value The default value.
1071 * @param multiline TRUE if the inputted text can span multiple lines. 1071 * @param multiline TRUE if the inputted text can span multiple lines.
1072 * @param masked TRUE if the inputted text should be masked in some way. 1072 * @param masked TRUE if the inputted text should be masked in some way.
1073 * @param hint bleh.
1073 * @param ok_text The text for the OK button. 1074 * @param ok_text The text for the OK button.
1074 * @param ok_cb The callback for the OK button. 1075 * @param ok_cb The callback for the OK button.
1075 * @param cancel_text The text for the cancel button. 1076 * @param cancel_text The text for the cancel button.
1076 * @param cancel_cb The callback for the cancel button. 1077 * @param cancel_cb The callback for the cancel button.
1077 * @param user_data The data to pass to the callback. 1078 * @param user_data The data to pass to the callback.
1079 * @return A UI-specific handle. 1080 * @return A UI-specific handle.
1080 */ 1081 */
1081 void *gaim_request_input(void *handle, const char *title, 1082 void *gaim_request_input(void *handle, const char *title,
1082 const char *primary, const char *secondary, 1083 const char *primary, const char *secondary,
1083 const char *default_value, 1084 const char *default_value,
1084 gboolean multiline, gboolean masked, 1085 gboolean multiline, gboolean masked, gchar *hint,
1085 const char *ok_text, GCallback ok_cb, 1086 const char *ok_text, GCallback ok_cb,
1086 const char *cancel_text, GCallback cancel_cb, 1087 const char *cancel_text, GCallback cancel_cb,
1087 void *user_data); 1088 void *user_data);
1088 1089
1089 /** 1090 /**

mercurial