Simplify handling of GG xfer auth queue.
[pidgin-git.git] / pidgin / gtkprivacy.h
blob9317f80fdd81fa3c025ec1a84c627498a08ec9e7
1 /* pidgin
3 * Pidgin is the legal property of its developers, whose names are too numerous
4 * to list here. Please refer to the COPYRIGHT file distributed with this
5 * source distribution.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
22 #ifndef _PIDGINPRIVACY_H_
23 #define _PIDGINPRIVACY_H_
24 /**
25 * SECTION:gtkprivacy
26 * @section_id: pidgin-gtkprivacy
27 * @short_description: <filename>gtkprivacy.h</filename>
28 * @title: Privacy UI
31 #include "account.h"
33 G_BEGIN_DECLS
35 /**
36 * pidgin_privacy_init:
38 * Initializes the GTK+ privacy subsystem.
40 void pidgin_privacy_init(void);
42 /**
43 * pidgin_privacy_dialog_show:
45 * Shows the privacy dialog.
47 void pidgin_privacy_dialog_show(void);
49 /**
50 * pidgin_privacy_dialog_hide:
52 * Hides the privacy dialog.
54 void pidgin_privacy_dialog_hide(void);
56 /**
57 * pidgin_request_add_permit:
58 * @account: The account.
59 * @name: The name of the user to add.
61 * Requests confirmation to add a user to the allow list for an account,
62 * and then adds it.
64 * If @name is not specified, an input dialog will be presented.
66 void pidgin_request_add_permit(PurpleAccount *account, const char *name);
68 /**
69 * pidgin_request_add_block:
70 * @account: The account.
71 * @name: The name of the user to add.
73 * Requests confirmation to add a user to the block list for an account,
74 * and then adds it.
76 * If @name is not specified, an input dialog will be presented.
78 void pidgin_request_add_block(PurpleAccount *account, const char *name);
80 G_END_DECLS
82 #endif /* _PIDGINPRIVACY_H_ */