1 /* 2 * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client 3 * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 3 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 17 * 18 */ 19 20 #ifndef __INPUTDIALOG_H__ 21 #define __INPUTDIALOG_H__ 22 23 #include <glib.h> 24 25 gchar *input_dialog (const gchar *title, 26 const gchar *message, 27 const gchar *default_string); 28 gchar *input_dialog_with_checkbtn(const gchar *title, 29 const gchar *message, 30 const gchar *default_string, 31 const gchar *checkbtn_label, 32 gboolean *checkbtn_state); 33 gchar *input_dialog_with_invisible (const gchar *title, 34 const gchar *message, 35 const gchar *default_string); 36 gchar *input_dialog_with_invisible_checkbtn(const gchar *title, 37 const gchar *message, 38 const gchar *default_string, 39 const gchar *checkbtn_label, 40 gboolean *checkbtn_state); 41 gchar *input_dialog_combo (const gchar *title, 42 const gchar *message, 43 const gchar *default_string, 44 GList *list); 45 gchar *input_dialog_combo_remember (const gchar *title, 46 const gchar *message, 47 const gchar *default_string, 48 GList *list, 49 gboolean *remember); 50 gchar *input_dialog_query_password (const gchar *server, 51 const gchar *user); 52 gchar *input_dialog_query_password_keep (const gchar *server, 53 const gchar *user, 54 gchar **keep); 55 #endif /* __INPUTDIALOG_H__ */ 56