2 * mailmbox Plugin -- mbox support for Sylpheed
3 * Copyright (C) 2003 Christoph Hohmann
4 * Copyright (C) 2003-2005 Hoa v. Dinh, Alfons Hoogervorst
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 # include "claws-features.h"
28 #include <glib/gi18n.h>
31 #include "mailmbox_folder.h"
32 #include "common/version.h"
33 #include "plugin_gtk.h"
37 gint plugin_init(gchar **error)
39 if (!check_plugin_version(MAKE_NUMERIC_VERSION(3,8,1,46),
40 VERSION_NUMERIC, "Mailmbox", error))
43 folder_register_class(claws_mailmbox_get_class());
44 plugin_gtk_init(error);
48 gboolean plugin_done(void)
51 if (!claws_is_exiting())
52 folder_unregister_class(claws_mailmbox_get_class());
56 const gchar *plugin_name(void)
58 return _("mailmbox folder (etPan!)");
61 const gchar *plugin_desc(void)
63 return _("This is a plugin to handle mailboxes in mbox format.");
66 const gchar *plugin_type(void)
71 const gchar *plugin_licence(void)
76 const gchar *plugin_version(void)
81 struct PluginFeature *plugin_provides(void)
83 static struct PluginFeature features[] =
84 { {PLUGIN_FOLDERCLASS, N_("MBOX")},
85 {PLUGIN_NOTHING, NULL}};