2 * @file gtkaccount.h GTK+ Account Editor UI
4 * @see @ref gtkaccount-signals
9 * Pidgin is the legal property of its developers, whose names are too numerous
10 * to list here. Please refer to the COPYRIGHT file distributed with this
11 * source distribution.
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 2 of the License, or
16 * (at your option) any later version.
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
27 #ifndef _PIDGINACCOUNT_H_
28 #define _PIDGINACCOUNT_H_
34 PIDGIN_ADD_ACCOUNT_DIALOG
,
35 PIDGIN_MODIFY_ACCOUNT_DIALOG
37 } PidginAccountDialogType
;
41 * Shows the accounts window.
43 void pidgin_accounts_window_show(void);
46 * Hides the accounts window.
48 void pidgin_accounts_window_hide(void);
51 * Shows an add/modify account dialog.
53 * @param type The type of dialog.
54 * @param account The associated account, or @c NULL for an Add dialog.
56 void pidgin_account_dialog_show(PidginAccountDialogType type
,
57 PurpleAccount
*account
);
60 * Returns the GTK+ account UI ops
62 * @return The UI operations structure.
64 PurpleAccountUiOps
*pidgin_accounts_get_ui_ops(void);
67 * Returns the gtkaccounts handle
69 * @return The handle to the GTK+ account system
71 void *pidgin_account_get_handle(void);
74 * Initializes the GTK+ account system
76 void pidgin_account_init(void);
79 * Uninitializes the GTK+ account system
81 void pidgin_account_uninit(void);
83 #endif /* _PIDGINACCOUNT_H_ */