2007-07-11 [colin] 2.10.0cvs16
[claws.git] / src / plugins / pgpcore / select-keys.h
1 /* select-keys.h - GTK+ based key selection
2  *      Copyright (C) 2001-2007 Werner Koch (dd9jn) and the Claws Mail team
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16  * 
17  */
18
19 #ifndef GPGMEGTK_SELECT_KEYS_H
20 #define GPGMEGTK_SELECT_KEYS_H
21
22 #include <glib.h>
23 #include <gpgme.h>
24
25 typedef enum {
26         KEY_SELECTION_OK,
27         KEY_SELECTION_CANCEL,
28         KEY_SELECTION_DONT
29 } SelectionResult;
30         
31 gpgme_key_t *gpgmegtk_recipient_selection (GSList *recp_names, 
32                 SelectionResult *result,
33                 gpgme_protocol_t proto);
34
35
36 #endif /* GPGMEGTK_SELECT_KEYS_H */