Mercurial > pidgin
annotate src/gtkprivacy.h @ 14032:49e020487c82
[gaim-migrate @ 16634]
Do not waste too much unnecessary memory.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 05 Aug 2006 04:07:52 +0000 |
parents | c0fbdea8828b |
children |
rev | line source |
---|---|
6371 | 1 /** |
2 * @file gtkprivacy.h GTK+ Privacy UI | |
3 * @ingroup gtkui | |
4 * | |
5 * gaim | |
6 * | |
8046 | 7 * Gaim is the legal property of its developers, whose names are too numerous |
8 * to list here. Please refer to the COPYRIGHT file distributed with this | |
9 * source distribution. | |
7035
feb3d21a7794
[gaim-migrate @ 7598]
Christian Hammond <chipx86@chipx86.com>
parents:
6371
diff
changeset
|
10 * |
6371 | 11 * This program is free software; you can redistribute it and/or modify |
12 * it under the terms of the GNU General Public License as published by | |
13 * the Free Software Foundation; either version 2 of the License, or | |
14 * (at your option) any later version. | |
15 * | |
16 * This program is distributed in the hope that it will be useful, | |
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 * GNU General Public License for more details. | |
20 * | |
21 * You should have received a copy of the GNU General Public License | |
22 * along with this program; if not, write to the Free Software | |
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
24 */ | |
9713 | 25 #ifndef _GAIM_GTKPRIVACY_H_ |
26 #define _GAIM_GTKPRIVACY_H_ | |
6371 | 27 |
28 #include "privacy.h" | |
29 | |
30 /** | |
31 * Initializes the GTK+ privacy subsystem. | |
32 */ | |
33 void gaim_gtk_privacy_init(void); | |
34 | |
35 /** | |
36 * Shows the privacy dialog. | |
37 */ | |
38 void gaim_gtk_privacy_dialog_show(void); | |
39 | |
40 /** | |
41 * Hides the privacy dialog. | |
42 */ | |
43 void gaim_gtk_privacy_dialog_hide(void); | |
44 | |
45 /** | |
46 * Requests confirmation to add a user to the allow list for an account, | |
47 * and then adds it. | |
48 * | |
49 * If @a name is not specified, an input dialog will be presented. | |
50 * | |
51 * @param account The account. | |
52 * @param name The name of the user to add. | |
53 */ | |
54 void gaim_gtk_request_add_permit(GaimAccount *account, const char *name); | |
55 | |
56 /** | |
57 * Requests confirmation to add a user to the block list for an account, | |
58 * and then adds it. | |
59 * | |
60 * If @a name is not specified, an input dialog will be presented. | |
61 * | |
62 * @param account The account. | |
63 * @param name The name of the user to add. | |
64 */ | |
65 void gaim_gtk_request_add_block(GaimAccount *account, const char *name); | |
66 | |
67 /** | |
68 * Returns the UI operations structure for the GTK+ privacy subsystem. | |
69 * | |
70 * @return The GTK+ UI privacy operations structure. | |
71 */ | |
72 GaimPrivacyUiOps *gaim_gtk_privacy_get_ui_ops(void); | |
73 | |
9713 | 74 #endif /* _GAIM_GTKPRIVACY_H_ */ |