2006-08-27 [colin] 2.4.0cvs97
[claws.git] / src / common / plugin.h
index 1dd18c29db2e849b23b5940320a957d3f676d0ba..5f671f8acc06120594e1b8392a543e9a2ea785db 100644 (file)
 
 typedef struct _Plugin Plugin;
 
+typedef enum {
+       PLUGIN_NOTHING,
+       PLUGIN_MIMEVIEWER,
+       PLUGIN_FOLDERCLASS,
+       PLUGIN_FILTERING,
+       PLUGIN_PRIVACY,
+       PLUGIN_NOTIFIER,
+       PLUGIN_UTILITY,
+       PLUGIN_OTHER
+} PluginFeatureType;
+
+struct PluginFeature {
+       PluginFeatureType type;
+       const gchar *subtype;
+};
+
 /* Functions to implement by the plugin */
 gint plugin_init               (gchar          **error);
 void plugin_done               (void);
 const gchar *plugin_name       (void);
 const gchar *plugin_desc       (void);
 const gchar *plugin_version    (void);
+struct PluginFeature *plugin_provides (void);
 
 /* Functions by the sylpheed plugin system */
 Plugin *plugin_load            (const gchar     *filename,