diff src/request.h @ 6035:8c44020a958e

[gaim-migrate @ 6485] gaim_request_input() now takes a masked bool, which, if enabled, masks the text on the entry field so that it cannot be seen. Good for password input requests, and what do you know, that's why this is written! committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 05 Jul 2003 21:54:19 +0000
parents 158196b2db19
children 41120df7ed94
line wrap: on
line diff
--- a/src/request.h	Sat Jul 05 20:52:43 2003 +0000
+++ b/src/request.h	Sat Jul 05 21:54:19 2003 +0000
@@ -132,7 +132,7 @@
 {
 	void *(*request_input)(const char *title, const char *primary,
 						   const char *secondary, const char *default_value,
-						   gboolean multiline,
+						   gboolean multiline, gboolean masked,
 						   const char *ok_text, GCallback ok_cb,
 						   const char *cancel_text, GCallback cancel_cb,
 						   void *user_data);
@@ -642,6 +642,7 @@
  * @param secondary     The secondary information.
  * @param default_value The default value.
  * @param multiline     TRUE if the inputted text can span multiple lines.
+ * @param masked        TRUE if the inputted text should be masked in some way.
  * @param ok_text       The text for the OK button.
  * @param ok_cb         The callback for the OK button.
  * @param cancel_text   The text for the cancel button.
@@ -652,7 +653,8 @@
  */
 void *gaim_request_input(void *handle, const char *title,
 						 const char *primary, const char *secondary,
-						 const char *default_value, gboolean multiline,
+						 const char *default_value,
+						 gboolean multiline, gboolean masked,
 						 const char *ok_text, GCallback ok_cb,
 						 const char *cancel_text, GCallback cancel_cb,
 						 void *user_data);