2 * Claws Mail -- a GTK based, lightweight, and fast e-mail client
3 * Copyright (C) 1999-2012 the Claws Mail Team
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #include "claws-features.h"
27 #include <glib/gi18n.h>
30 #include "common/claws.h"
32 #include "prefs_gpg.h"
33 #include "pgp_viewer.h"
34 #include "autocompletion.h"
37 #define PLUGIN_NAME (_("PGP/Core"))
39 gint
plugin_init(gchar
**error
)
41 if (!check_plugin_version(MAKE_NUMERIC_VERSION(2,9,2,72),
42 VERSION_NUMERIC
, PLUGIN_NAME
, error
))
47 sgpgme_check_create_key();
49 autocompletion_init(error
);
54 gboolean
plugin_done(void)
59 autocompletion_done();
64 const gchar
*plugin_name(void)
69 const gchar
*plugin_desc(void)
71 return _("This plugin handles PGP core operations and provides address "
72 "autocompletion from the GPG keyring. It is used by other "
73 "plugins, like PGP/Mime.\n"
75 "Options can be found in /Configuration/Preferences/Plugins/GPG "
76 "and /Configuration/[Account Preferences]/Plugins/GPG\n"
78 "The plugin uses the GPGME library as a wrapper for GnuPG.\n"
80 "GPGME is copyright 2001 by Werner Koch <dd9jn@gnu.org>");
83 const gchar
*plugin_type(void)
88 const gchar
*plugin_licence(void)
93 const gchar
*plugin_version(void)
98 struct PluginFeature
*plugin_provides(void)
100 static struct PluginFeature features
[] =
101 { {PLUGIN_PRIVACY
, N_("Core operations")},
102 {PLUGIN_NOTHING
, NULL
}};