gtkaccount.h
Go to the documentation of this file.
1
7 /* pidgin
8 *
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.
12 *
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.
17 *
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.
22 *
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
26 */
27 #ifndef _PIDGINACCOUNT_H_
28 #define _PIDGINACCOUNT_H_
29
30 #include "account.h"
31
32 typedef enum
33 {
34 PIDGIN_ADD_ACCOUNT_DIALOG,
35 PIDGIN_MODIFY_ACCOUNT_DIALOG
36
37 } PidginAccountDialogType;
38
39
43 void pidgin_accounts_window_show(void);
44
48 void pidgin_accounts_window_hide(void);
49
56 void pidgin_account_dialog_show(PidginAccountDialogType type,
57 PurpleAccount *account);
58
64 PurpleAccountUiOps *pidgin_accounts_get_ui_ops(void);
65
71 void *pidgin_account_get_handle(void);
72
76 void pidgin_account_init(void);
77
81 void pidgin_account_uninit(void);
82
83 #endif /* _PIDGINACCOUNT_H_ */
pidgin_accounts_window_show
void pidgin_accounts_window_show(void)
Shows the accounts window.
pidgin_account_init
void pidgin_account_init(void)
Initializes the GTK+ account system.
pidgin_account_uninit
void pidgin_account_uninit(void)
Uninitializes the GTK+ account system.
_PurpleAccount
Structure representing an account.
Definition: account.h:169
pidgin_accounts_window_hide
void pidgin_accounts_window_hide(void)
Hides the accounts window.
_PurpleAccountUiOps
Account UI operations, used to notify the user of status changes and when buddies add this account to...
Definition: account.h:78
account.h
Account API.
pidgin_account_dialog_show
void pidgin_account_dialog_show(PidginAccountDialogType type, PurpleAccount *account)
Shows an add/modify account dialog.
pidgin_accounts_get_ui_ops
PurpleAccountUiOps * pidgin_accounts_get_ui_ops(void)
Returns the GTK+ account UI ops.
pidgin_account_get_handle
void * pidgin_account_get_handle(void)
Returns the gtkaccounts handle.