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"
36 gint
plugin_init(gchar
**error
)
38 if (!check_plugin_version(MAKE_NUMERIC_VERSION(3,8,1,46),
39 VERSION_NUMERIC
, "Mailmbox", error
))
42 folder_register_class(claws_mailmbox_get_class());
43 plugin_gtk_init(error
);
47 gboolean
plugin_done(void)
50 if (!claws_is_exiting())
51 folder_unregister_class(claws_mailmbox_get_class());
55 const gchar
*plugin_name(void)
57 return _("mailmbox folder");
60 const gchar
*plugin_desc(void)
62 return _("This is a plugin to handle mailboxes in mbox format.");
65 const gchar
*plugin_type(void)
70 const gchar
*plugin_licence(void)
75 const gchar
*plugin_version(void)
80 struct PluginFeature
*plugin_provides(void)
82 static struct PluginFeature features
[] =
83 { {PLUGIN_FOLDERCLASS
, N_("MBOX")},
84 {PLUGIN_NOTHING
, NULL
}};