Mercurial > pidgin
annotate pidgin/gtkcertmgr.h @ 19031:8c3fecc32451
- Make a real Certificate Manager dialog instead of a stupid popup. It
supports "show" and "hide" and is generally wonderful
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Wed, 18 Jul 2007 23:29:59 +0000 |
parents | 597d3167c1cc |
children | caec09fdcc12 |
rev | line source |
---|---|
19016
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
1 /** |
19015
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
2 * @file gtkcertmgr.h GTK+ Certificate Manager API |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
3 * @ingroup pidgin |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
4 */ |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
5 /* |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
6 * pidgin |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
7 * |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
8 * Pidgin is the legal property of its developers, whose names are too numerous |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
9 * to list here. Please refer to the COPYRIGHT file distributed with this |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
10 * source distribution. |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
11 * |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
12 * This program is free software; you can redistribute it and/or modify |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
13 * it under the terms of the GNU General Public License as published by |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
14 * the Free Software Foundation; either version 2 of the License, or |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
15 * (at your option) any later version. |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
16 * |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
17 * This program is distributed in the hope that it will be useful, |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
20 * GNU General Public License for more details. |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
21 * |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
22 * You should have received a copy of the GNU General Public License |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
23 * along with this program; if not, write to the Free Software |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
25 * |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
26 */ |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
27 |
19016
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
28 #ifndef _PIDGINCERTMGR_H_ |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
29 #define _PIDGINCERTMGR_H_ |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
30 |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
31 /************************************************************************** |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
32 * @name Structures * |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
33 **************************************************************************/ |
19031
8c3fecc32451
- Make a real Certificate Manager dialog instead of a stupid popup. It
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19016
diff
changeset
|
34 /* @TODO : this stuff may not be needed; see .c file */ |
19016
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
35 typedef struct _PidginCertificateManager PidginCertificateManager; |
19015
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
36 |
19016
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
37 /** GTK+ Certificate Manager */ |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
38 struct _PidginCertificateManager { |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
39 GtkWidget *window; |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
40 |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
41 /* I am very empty :( */ |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
42 }; |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
43 |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
44 /**************************************************************************/ |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
45 /** @name Certificate Manager API */ |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
46 /**************************************************************************/ |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
47 /*@{*/ |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
48 /** |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
49 * Show the certificate manager window |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
50 */ |
19015
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
51 void pidgin_certmgr_show(void); |
720c61141f4b
- Add a skeleton for the Pidgin Certificate Manager and include it in
William Ehlhardt <williamehlhardt@gmail.com>
parents:
diff
changeset
|
52 |
19031
8c3fecc32451
- Make a real Certificate Manager dialog instead of a stupid popup. It
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19016
diff
changeset
|
53 /** |
8c3fecc32451
- Make a real Certificate Manager dialog instead of a stupid popup. It
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19016
diff
changeset
|
54 * Hide the certificate manager window |
8c3fecc32451
- Make a real Certificate Manager dialog instead of a stupid popup. It
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19016
diff
changeset
|
55 */ |
8c3fecc32451
- Make a real Certificate Manager dialog instead of a stupid popup. It
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19016
diff
changeset
|
56 void pidgin_certmgr_hide(void); |
8c3fecc32451
- Make a real Certificate Manager dialog instead of a stupid popup. It
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19016
diff
changeset
|
57 |
19016
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
58 /*@}*/ |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
59 |
597d3167c1cc
- More skeleton
William Ehlhardt <williamehlhardt@gmail.com>
parents:
19015
diff
changeset
|
60 #endif /* _PIDGINCERTMGR_H_ */ |