Merged pidgin/main into default
[pidgin-git.git] / pidgin / gtkcertmgr.h
blob0e6d4b352f26fd9747ac2348ffcc43dff0677e44
1 /*
2 * pidgin
4 * Pidgin is the legal property of its developers, whose names are too numerous
5 * to list here. Please refer to the COPYRIGHT file distributed with this
6 * source distribution.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
24 #ifndef _PIDGINCERTMGR_H_
25 #define _PIDGINCERTMGR_H_
26 /**
27 * SECTION:gtkcertmgr
28 * @section_id: pidgin-gtkcertmgr
29 * @short_description: <filename>gtkcertmgr.h</filename>
30 * @title: Certificate Manager API
33 /**************************************************************************
34 * Structures *
35 **************************************************************************/
36 typedef struct _PidginCertificateManager PidginCertificateManager;
38 /**
39 * PidginCertificateManager:
41 * GTK+ Certificate Manager subwidget
43 struct _PidginCertificateManager {
44 /* Create, configure, show, and return the management interface */
45 GtkWidget * (* build)(void);
46 /* Notebook label to use in the CertMgr dialog */
47 gchar *label;
50 G_BEGIN_DECLS
52 /**************************************************************************/
53 /* Certificate Manager API */
54 /**************************************************************************/
56 /**
57 * pidgin_certmgr_show:
59 * Show the certificate manager window
61 void pidgin_certmgr_show(void);
63 /**
64 * pidgin_certmgr_hide:
66 * Hide the certificate manager window
68 void pidgin_certmgr_hide(void);
70 G_END_DECLS
72 #endif /* _PIDGINCERTMGR_H_ */