comparison src/gtkaccount.h @ 6119:0d2bd49c611e

[gaim-migrate @ 6588] Changed the API a bit for the Accounts window, and exposed the API to display an account editor dialog from outside gtkaccount.c. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 14 Jul 2003 10:04:27 +0000
parents 9eb5b13fd412
children 0a6f70c020ed
comparison
equal deleted inserted replaced
6118:ed983e8a1851 6119:0d2bd49c611e
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 */ 22 */
23 #ifndef _GAIM_GTK_ACCOUNT_H_ 23 #ifndef _GAIM_GTK_ACCOUNT_H_
24 #define _GAIM_GTK_ACCOUNT_H_ 24 #define _GAIM_GTK_ACCOUNT_H_
25 25
26 /** 26 typedef enum
27 * Shows the account editor dialog. 27 {
28 */ 28 GAIM_GTK_ADD_ACCOUNT_DIALOG,
29 void gaim_gtk_account_dialog_show(void); 29 GAIM_GTK_MODIFY_ACCOUNT_DIALOG
30
31 } GaimGtkAccountDialogType;
32
30 33
31 /** 34 /**
32 * Hides the account editor dialog. 35 * Shows the accounts window.
33 */ 36 */
34 void gaim_gtk_account_dialog_hide(void); 37 void gaim_gtk_accounts_window_show(void);
38
39 /**
40 * Hides the accounts window.
41 */
42 void gaim_gtk_accounts_window_hide(void);
43
44 /**
45 * Shows an add/modify account dialog.
46 *
47 * @param type The type of dialog.
48 * @param account The associated account, or @c NULL for an Add dialog.
49 */
50 void gaim_gtk_account_dialog_show(GaimGtkAccountDialogType type,
51 GaimAccount *account);
35 52
36 #endif /* _GAIM_GTK_ACCOUNT_H_ */ 53 #endif /* _GAIM_GTK_ACCOUNT_H_ */
37 54