2 * Maildir Plugin -- Maildir++ support for Sylpheed
3 * Copyright (C) 2003-2004 Christoph Hohmann
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 2 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, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 #include <glib/gi18n.h>
23 #include "common/version.h"
24 #include "common/plugin.h"
28 #include "pluginconfig.h"
30 #include "maildir_gtk.h"
34 gint plugin_init(gchar **error)
36 if (!check_plugin_version(MAKE_NUMERIC_VERSION(3,7,6,53),
37 VERSION_NUMERIC, "Maildir++", error))
41 folder_register_class(maildir_get_class());
48 gboolean plugin_done(void)
51 if (!claws_is_exiting())
52 folder_unregister_class(maildir_get_class());
57 const gchar *plugin_name(void)
62 const gchar *plugin_desc(void)
64 return _("This plugin provides direct support for Maildir++ mailboxes.\n"
66 "With this plugin you can share your Maildir++ mailbox with "
67 "other mailers or IMAP servers.");
70 const gchar *plugin_type(void)
75 const gchar *plugin_licence(void)
80 const gchar *plugin_version(void)
85 struct PluginFeature *plugin_provides(void)
87 static struct PluginFeature features[] =
88 { {PLUGIN_FOLDERCLASS, N_("Maildir")},
89 {PLUGIN_NOTHING, NULL}};