pidgin/gtkcertmgr.h

Fri, 04 Apr 2014 12:15:37 +0200

author
Tomasz Wasilczyk <twasilczyk@pidgin.im>
date
Fri, 04 Apr 2014 12:15:37 +0200
changeset 35744
34964f8d43fe
parent 35487
494f09f7f331
child 37396
f87252ccd1ff
permissions
-rw-r--r--

Remote smileys: initial implementation

18650
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
1 /*
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
2 * pidgin
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
3 *
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
4 * Pidgin is the legal property of its developers, whose names are too numerous
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
5 * to list here. Please refer to the COPYRIGHT file distributed with this
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
6 * source distribution.
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
7 *
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
8 * This program is free software; you can redistribute it and/or modify
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
9 * it under the terms of the GNU General Public License as published by
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
11 * (at your option) any later version.
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
12 *
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
13 * This program is distributed in the hope that it will be useful,
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
16 * GNU General Public License for more details.
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
17 *
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
18 * You should have received a copy of the GNU General Public License
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
19 * along with this program; if not, write to the Free Software
19859
71d37b57eff2 The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 18821
diff changeset
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
18650
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
21 *
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
22 */
35487
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35486
diff changeset
23
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35486
diff changeset
24 #ifndef _PIDGINCERTMGR_H_
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35486
diff changeset
25 #define _PIDGINCERTMGR_H_
35451
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35415
diff changeset
26 /**
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35415
diff changeset
27 * SECTION:gtkcertmgr
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35415
diff changeset
28 * @section_id: pidgin-gtkcertmgr
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35415
diff changeset
29 * @short_description: <filename>gtkcertmgr.h</filename>
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35415
diff changeset
30 * @title: Certificate Manager API
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35415
diff changeset
31 */
18650
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
32
18651
b2639d73930c - More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18650
diff changeset
33 /**************************************************************************
35472
474e26199560 Removed @name
Ankit Vani <a@nevitus.org>
parents: 35451
diff changeset
34 * Structures *
18651
b2639d73930c - More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18650
diff changeset
35 **************************************************************************/
b2639d73930c - More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18650
diff changeset
36 typedef struct _PidginCertificateManager PidginCertificateManager;
18650
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
37
18820
4151da0055b3 - Add a Certificate GTK management interface type
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18815
diff changeset
38 /**
35415
ba28be1a7611 Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents: 32790
diff changeset
39 * PidginCertificateManager:
ba28be1a7611 Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents: 32790
diff changeset
40 *
18820
4151da0055b3 - Add a Certificate GTK management interface type
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18815
diff changeset
41 * GTK+ Certificate Manager subwidget
4151da0055b3 - Add a Certificate GTK management interface type
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18815
diff changeset
42 */
18651
b2639d73930c - More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18650
diff changeset
43 struct _PidginCertificateManager {
18820
4151da0055b3 - Add a Certificate GTK management interface type
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18815
diff changeset
44 /** Create, configure, show, and return the management interface */
4151da0055b3 - Add a Certificate GTK management interface type
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18815
diff changeset
45 GtkWidget * (* build)(void);
18821
7024d0ee56e1 - Add label field to PidginCertificateManager
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18820
diff changeset
46 /** Notebook label to use in the CertMgr dialog */
7024d0ee56e1 - Add label field to PidginCertificateManager
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18820
diff changeset
47 gchar *label;
18651
b2639d73930c - More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18650
diff changeset
48 };
b2639d73930c - More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18650
diff changeset
49
32790
b95c7c504118 Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 19859
diff changeset
50 G_BEGIN_DECLS
b95c7c504118 Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 19859
diff changeset
51
18651
b2639d73930c - More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18650
diff changeset
52 /**************************************************************************/
35472
474e26199560 Removed @name
Ankit Vani <a@nevitus.org>
parents: 35451
diff changeset
53 /* Certificate Manager API */
18651
b2639d73930c - More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18650
diff changeset
54 /**************************************************************************/
35486
fe9a7f6143c1 Remove /*@{*/ and /*@}*/
Ankit Vani <a@nevitus.org>
parents: 35472
diff changeset
55
18651
b2639d73930c - More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18650
diff changeset
56 /**
35415
ba28be1a7611 Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents: 32790
diff changeset
57 * pidgin_certmgr_show:
ba28be1a7611 Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents: 32790
diff changeset
58 *
18651
b2639d73930c - More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18650
diff changeset
59 * Show the certificate manager window
b2639d73930c - More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18650
diff changeset
60 */
18650
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
61 void pidgin_certmgr_show(void);
8a34ac83df75 - Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff changeset
62
18815
a3d656beadcf - Make a real Certificate Manager dialog instead of a stupid popup. It
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18651
diff changeset
63 /**
35415
ba28be1a7611 Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents: 32790
diff changeset
64 * pidgin_certmgr_hide:
ba28be1a7611 Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents: 32790
diff changeset
65 *
18815
a3d656beadcf - Make a real Certificate Manager dialog instead of a stupid popup. It
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18651
diff changeset
66 * Hide the certificate manager window
a3d656beadcf - Make a real Certificate Manager dialog instead of a stupid popup. It
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18651
diff changeset
67 */
a3d656beadcf - Make a real Certificate Manager dialog instead of a stupid popup. It
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18651
diff changeset
68 void pidgin_certmgr_hide(void);
a3d656beadcf - Make a real Certificate Manager dialog instead of a stupid popup. It
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18651
diff changeset
69
32790
b95c7c504118 Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 19859
diff changeset
70 G_END_DECLS
b95c7c504118 Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 19859
diff changeset
71
18651
b2639d73930c - More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents: 18650
diff changeset
72 #endif /* _PIDGINCERTMGR_H_ */

mercurial