comparison src/request.h @ 8697:725413cc9fb9

[gaim-migrate @ 9450] WYSIWYG info editing from Jon Oberheide We need separate gc flags for conversation HTML and user info HTML, or something. It seems like there should be a better way to do that... Hint hint wink wink nudge nudge I kick your foot, under the table You kick me back, I can't say I'm able To stand for you, or fall for you Ever again I wish for, a perfect setting Wishing that I'm letting you take me Where you want me, all over again committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 18 Apr 2004 06:22:42 +0000
parents 09083081643a
children 775bd10da7f2
comparison
equal deleted inserted replaced
8696:aebfa2b6af6b 8697:725413cc9fb9
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 /**