Mercurial > pidgin.yaz
annotate src/gtkprivacy.h @ 7669:109a917692c1
[gaim-migrate @ 8313]
I noticed that gaim_find_contact() was never actually implemented, so I
wrote this implementation. Nathan, this may not be want is wanted, but
you're very much idle right now, so feel free to rewrite it :) I just
needed something that worked for now.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 30 Nov 2003 08:07:59 +0000 |
parents | feb3d21a7794 |
children | fa6395637e2c |
rev | line source |
---|---|
6371 | 1 /** |
2 * @file gtkprivacy.h GTK+ Privacy UI | |
3 * @ingroup gtkui | |
4 * | |
5 * gaim | |
6 * | |
7 * Copyright (C) 2003 Christian Hammond <chipx86@gnupdate.org> | |
7035
feb3d21a7794
[gaim-migrate @ 7598]
Christian Hammond <chipx86@chipx86.com>
parents:
6371
diff
changeset
|
8 * |
6371 | 9 * This program is free software; you can redistribute it and/or modify |
10 * it under the terms of the GNU General Public License as published by | |
11 * the Free Software Foundation; either version 2 of the License, or | |
12 * (at your option) any later version. | |
13 * | |
14 * This program is distributed in the hope that it will be useful, | |
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 * GNU General Public License for more details. | |
18 * | |
19 * You should have received a copy of the GNU General Public License | |
20 * along with this program; if not, write to the Free Software | |
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
22 */ | |
23 #ifndef _GAIM_GTK_PRIVACY_H_ | |
24 #define _GAIM_GTK_PRIVACY_H_ | |
25 | |
26 #include "privacy.h" | |
27 | |
28 /** | |
29 * Initializes the GTK+ privacy subsystem. | |
30 */ | |
31 void gaim_gtk_privacy_init(void); | |
32 | |
33 /** | |
34 * Shows the privacy dialog. | |
35 */ | |
36 void gaim_gtk_privacy_dialog_show(void); | |
37 | |
38 /** | |
39 * Hides the privacy dialog. | |
40 */ | |
41 void gaim_gtk_privacy_dialog_hide(void); | |
42 | |
43 /** | |
44 * Requests confirmation to add a user to the allow list for an account, | |
45 * and then adds it. | |
46 * | |
47 * If @a name is not specified, an input dialog will be presented. | |
48 * | |
49 * @param account The account. | |
50 * @param name The name of the user to add. | |
51 */ | |
52 void gaim_gtk_request_add_permit(GaimAccount *account, const char *name); | |
53 | |
54 /** | |
55 * Requests confirmation to add a user to the block list for an account, | |
56 * and then adds it. | |
57 * | |
58 * If @a name is not specified, an input dialog will be presented. | |
59 * | |
60 * @param account The account. | |
61 * @param name The name of the user to add. | |
62 */ | |
63 void gaim_gtk_request_add_block(GaimAccount *account, const char *name); | |
64 | |
65 /** | |
66 * Returns the UI operations structure for the GTK+ privacy subsystem. | |
67 * | |
68 * @return The GTK+ UI privacy operations structure. | |
69 */ | |
70 GaimPrivacyUiOps *gaim_gtk_privacy_get_ui_ops(void); | |
71 | |
72 #endif /* _GAIM_GTK_PRIVACY_H_ */ |