Sat, 02 Jun 2007 14:22:00 +0000
Make the GMail hackery work.
| 6371 | 1 | /** |
| 2 | * @file gtkprivacy.h GTK+ Privacy UI | |
|
16254
eeb2bba4dc94
Rename the Doxygen group from gtkui to pidgin.
Richard Laager <rlaager@pidgin.im>
parents:
15931
diff
changeset
|
3 | * @ingroup pidgin |
| 6371 | 4 | * |
|
15931
716b5fac1895
Re-sed the copyright notices so they don't all talk about Purple.
Richard Laager <rlaager@pidgin.im>
parents:
15884
diff
changeset
|
5 | * pidgin |
| 6371 | 6 | * |
| 15572 | 7 | * Pidgin is the legal property of its developers, whose names are too numerous |
| 8046 | 8 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 9 | * source distribution. | |
|
7035
76bca80cd91d
[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 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
25 | #ifndef _PIDGINPRIVACY_H_ |
|
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
26 | #define _PIDGINPRIVACY_H_ |
| 6371 | 27 | |
| 28 | #include "privacy.h" | |
| 29 | ||
| 30 | /** | |
| 31 | * Initializes the GTK+ privacy subsystem. | |
| 32 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
33 | void pidgin_privacy_init(void); |
| 6371 | 34 | |
| 35 | /** | |
| 36 | * Shows the privacy dialog. | |
| 37 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
38 | void pidgin_privacy_dialog_show(void); |
| 6371 | 39 | |
| 40 | /** | |
| 41 | * Hides the privacy dialog. | |
| 42 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
43 | void pidgin_privacy_dialog_hide(void); |
| 6371 | 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 | */ | |
| 15884 | 54 | void pidgin_request_add_permit(PurpleAccount *account, const char *name); |
| 6371 | 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 | */ | |
| 15884 | 65 | void pidgin_request_add_block(PurpleAccount *account, const char *name); |
| 6371 | 66 | |
| 67 | /** | |
| 68 | * Returns the UI operations structure for the GTK+ privacy subsystem. | |
| 69 | * | |
| 70 | * @return The GTK+ UI privacy operations structure. | |
| 71 | */ | |
| 15884 | 72 | PurplePrivacyUiOps *pidgin_privacy_get_ui_ops(void); |
| 6371 | 73 | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
74 | #endif /* _PIDGINPRIVACY_H_ */ |